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]

Merge pull request #5314 from thiswillbeyourgithub/fix_missing_openrouter_claude_sonnet_beta

Krish Dholakiab2e182a42ca5
diff --cc model_prices_and_context_window.json
index ab36dbb6c94,d7e4498c5e6..0f483b083b6
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@@ -2793,9 -2793,20 +2793,21 @@@
"mode": "chat",
"supports_function_calling": true,
"supports_vision": true,
- "tool_use_system_prompt_tokens": 159
+ "tool_use_system_prompt_tokens": 159,
+ "supports_assistant_prefill": true
},
+ "openrouter/anthropic/claude-3.5-sonnet:beta": {
+ "max_tokens": 4096,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 0.000003,
+ "output_cost_per_token": 0.000015,
+ "litellm_provider": "openrouter",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "tool_use_system_prompt_tokens": 159
+ },
"openrouter/anthropic/claude-3-sonnet": {
"max_tokens": 200000,
"input_cost_per_token": 0.000003,