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
add openrouter o1 (#7424)
paul-gauthierc258eb7cc747
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 5f98c0e68b0..99b49502c7b 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -4671,6 +4671,22 @@"litellm_provider": "openrouter","mode": "chat"},+ "openrouter/openai/o1": {+ "max_tokens": 100000,+ "max_input_tokens": 200000,+ "max_output_tokens": 100000,+ "input_cost_per_token": 0.000015,+ "output_cost_per_token": 0.00006,+ "cache_read_input_token_cost": 0.0000075,+ "litellm_provider": "openrouter",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_vision": true,+ "supports_prompt_caching": true,+ "supports_system_messages": true,+ "supports_response_schema": true+ },"openrouter/openai/o1-mini": {"max_tokens": 65536,"max_input_tokens": 128000,