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
Merge branch 'main' into heroku-llms
Timothy Lowrimored3809a781311
diff --cc model_prices_and_context_window.jsonindex 786fd578ce8,6ce46e5962f..793193d732d--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@@ -17636,36 -17694,135 +17694,167 @@@"supports_system_messages": true,"supports_tool_choice": false},+ "heroku/claude-4-sonnet": {+ "max_tokens": 8192,+ "litellm_provider": "heroku",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },+ "heroku/claude-3-7-sonnet": {+ "max_tokens": 8192,+ "litellm_provider": "heroku",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },+ "heroku/claude-3-5-sonnet-latest": {+ "max_tokens": 8192,+ "litellm_provider": "heroku",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },+ "heroku/claude-3-5-haiku": {+ "max_tokens": 4096,+ "litellm_provider": "heroku",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_system_messages": true,+ "supports_tool_choice": true++ },+ "oci/meta.llama-4-maverick-17b-128e-instruct-fp8": {+ "max_tokens": 512000,+ "max_input_tokens": 512000,+ "max_output_tokens": 4000,+ "input_cost_per_token": 7.2e-07,+ "output_cost_per_token": 7.2e-07,+ "litellm_provider": "oci",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": false,+ "supports_tool_choice": false,+ "source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"+ },+ "oci/meta.llama-4-scout-17b-16e-instruct": {+ "max_tokens": 192000,+ "max_input_tokens": 192000,+ "max_output_tokens": 4000,+ "input_cost_per_token": 7.2e-07,+ "output_cost_per_token": 7.2e-07,+ "litellm_provider": "oci",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": false,+ "supports_tool_choice": false,+ "source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"+ },+ "oci/meta.llama-3.3-70b-instruct": {+ "max_tokens": 128000,+ "max_input_tokens": 128000,+ "max_output_tokens": 4000,+ "input_cost_per_token": 7.2e-07,+ "output_cost_per_token": 7.2e-07,+ "litellm_provider": "oci",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": false,+ "supports_tool_choice": false,+ "source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"+ },+ "oci/meta.llama-3.2-90b-vision-instruct": {+ "max_tokens": 128000,+ "max_input_tokens": 128000,+ "max_output_tokens": 4000,+ "input_cost_per_token": 2.0e-06,+ "output_cost_per_token": 2.0e-06,+ "litellm_provider": "oci",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": false,+ "supports_tool_choice": false,+ "source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"+ },+ "oci/meta.llama-3.1-405b-instruct": {+ "max_tokens": 128000,+ "max_input_tokens": 128000,+ "max_output_tokens": 4000,+ "input_cost_per_token": 1.068e-05,+ "output_cost_per_token": 1.068e-05,+ "litellm_provider": "oci",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": false,+ "supports_tool_choice": false,+ "source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"+ },++ "oci/xai.grok-4": {+ "max_tokens": 128000,+ "max_input_tokens": 128000,+ "max_output_tokens": 128000,+ "input_cost_per_token": 3.0e-06,+ "output_cost_per_token": 1.5e-07,+ "litellm_provider": "oci",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": false,+ "supports_tool_choice": false,+ "source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"+ },+ "oci/xai.grok-3": {+ "max_tokens": 131072,+ "max_input_tokens": 131072,+ "max_output_tokens": 131072,+ "input_cost_per_token": 3.0e-06,+ "output_cost_per_token": 1.5e-07,+ "litellm_provider": "oci",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": false,+ "supports_tool_choice": false,+ "source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"+ },+ "oci/xai.grok-3-mini": {+ "max_tokens": 131072,+ "max_input_tokens": 131072,+ "max_output_tokens": 131072,+ "input_cost_per_token": 3.0e-07,+ "output_cost_per_token": 5.0e-07,+ "litellm_provider": "oci",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": false,+ "supports_tool_choice": false,+ "source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"+ },+ "oci/xai.grok-3-fast": {+ "max_tokens": 131072,+ "max_input_tokens": 131072,+ "max_output_tokens": 131072,+ "input_cost_per_token": 5.0e-06,+ "output_cost_per_token": 2.5e-05,+ "litellm_provider": "oci",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": false,+ "supports_tool_choice": false,+ "source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"+ },+ "oci/xai.grok-3-mini-fast": {+ "max_tokens": 131072,+ "max_input_tokens": 131072,+ "max_output_tokens": 131072,+ "input_cost_per_token": 6.0e-07,+ "output_cost_per_token": 4.0e-06,+ "litellm_provider": "oci",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": false,+ "supports_tool_choice": false,+ "source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"}}