{ "id": "msg_fixed", "model": "claude-test", "object": "chat.completion", "created": 0, "choices": [ { "index": 0, "message": { "role": "assistant", "content": "The answer is 42.", "tool_calls": [ { "id": "toolu_abc", "type": "function", "function": { "name": "get_weather", "arguments": "{\"city\":\"Paris\"}" } } ] }, "finish_reason": "tool_calls" } ], "usage": { "prompt_tokens": 15, "completion_tokens": 5, "total_tokens": 20, "usage_semantic": "openai", "usage_source": "anthropic", "billing_usage": { "source": "claude_messages", "semantic": "anthropic", "claude_usage": { "input_tokens": 10, "cache_creation_input_tokens": 2, "cache_read_input_tokens": 3, "output_tokens": 5, "claude_cache_creation_5_m_tokens": 0, "claude_cache_creation_1_h_tokens": 0 } }, "prompt_tokens_details": { "cached_tokens": 3, "cached_creation_tokens": 2, "cache_write_tokens": 2, "text_tokens": 0, "audio_tokens": 0, "image_tokens": 0 }, "completion_tokens_details": { "text_tokens": 0, "audio_tokens": 0, "image_tokens": 0, "reasoning_tokens": 0 }, "input_tokens": 15, "output_tokens": 0, "input_tokens_details": null, "claude_cache_creation_5_m_tokens": 2, "claude_cache_creation_1_h_tokens": 0 } }