Claude · Example Payload

Claude Messages Usage Example

Artificial IntelligenceChatbotConversational AIGenerative AILarge Language ModelsMachine LearningNatural Language Processing

Claude Messages Usage Example is an example object payload from Claude, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

input_tokensoutput_tokenscache_creation_input_tokenscache_read_input_tokens

Example Payload

Raw ↑
{
  "input_tokens": 10,
  "output_tokens": 10,
  "cache_creation_input_tokens": 10,
  "cache_read_input_tokens": 10
}