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]

fix: was missing openrouter beta model from claude sonnet

thiswillbeyourgithub00f7238c6405
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 2dc846df92a..d7e4498c5e6 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -2795,6 +2795,18 @@
"supports_vision": true,
"tool_use_system_prompt_tokens": 159
},
+ "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,