Skip to content

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]

[Test] Anthropic Passthrough: Bump Streaming Cost-Injection Test To Haiku 4.5

Yuneng Jiang1e63be7a7251
diff --git a/tests/pass_through_tests/test_anthropic_passthrough.py b/tests/pass_through_tests/test_anthropic_passthrough.py
index c4ae00768c2..d42e06937dc 100644
--- a/tests/pass_through_tests/test_anthropic_passthrough.py
+++ b/tests/pass_through_tests/test_anthropic_passthrough.py
@@ -333,7 +333,7 @@ async def test_anthropic_messages_streaming_cost_injection():
}
payload = {
- "model": "claude-4-sonnet-20250514",
+ "model": "claude-haiku-4-5-20251001",
"max_tokens": 10,
"stream": True,
"messages": [{"role": "user", "content": "Say 'Hi'"}],