Hugging Face · Example Payload

Hugging Face Inference Providers Usage Example

Hugging Face Inference Providers Usage Example is an example object payload from Hugging Face, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

prompt_tokenscompletion_tokenstotal_tokens

Example Payload

Raw ↑
{
  "prompt_tokens": 10,
  "completion_tokens": 10,
  "total_tokens": 10
}