The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test_stream_token_counting_anthropic_with_include_usage
Ishaan Jaffer6be9b97d156a
diff --git a/tests/logging_callback_tests/test_token_counting.py b/tests/logging_callback_tests/test_token_counting.pyindex 6f84b7c18fe..a68690892ac 100644--- a/tests/logging_callback_tests/test_token_counting.py+++ b/tests/logging_callback_tests/test_token_counting.py@@ -175,7 +175,7 @@ async def test_stream_token_counting_anthropic_with_include_usage():input_text = "Respond in just 1 word. Say ping"response = await litellm.acompletion(- model="claude-3-5-sonnet-20240620",+ model="claude-sonnet-4-5-20250929",messages=[{"role": "user", "content": input_text}],max_tokens=4096,stream=True,