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: documentation for litellm sdk

Sameer Kankuteaf8483b37ebd
diff --git a/docs/my-website/docs/providers/minmax.md b/docs/my-website/docs/providers/minmax.md
index 7019b8a59f5..3c7db7a9b48 100644
--- a/docs/my-website/docs/providers/minmax.md
+++ b/docs/my-website/docs/providers/minmax.md
@@ -29,7 +29,8 @@ response = litellm.anthropic.messages.acreate(
model="minimax/MiniMax-M2.1",
messages=[{"role": "user", "content": "Hello, how are you?"}],
api_key="your-minimax-api-key",
- api_base="https://api.minimax.io/anthropic/v1/messages"
+ api_base="https://api.minimax.io/anthropic/v1/messages",
+ max_tokens=1000
)
print(response.choices[0].message.content)
@@ -47,7 +48,8 @@ import litellm
response = litellm.anthropic.messages.acreate(
model="minimax/MiniMax-M2.1",
- messages=[{"role": "user", "content": "Hello!"}]
+ messages=[{"role": "user", "content": "Hello!"}],
+ max_tokens=1000
)
```
@@ -91,7 +93,8 @@ response = litellm.anthropic.messages.acreate(
model="minimax/MiniMax-M2.1",
messages=[{"role": "user", "content": "What's the weather in SF?"}],
tools=tools,
- api_key="your-minimax-api-key"
+ api_key="your-minimax-api-key",
+ max_tokens=1000
)
```
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index e123ba00081..3fe1b4f6a9e 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -1357,6 +1357,20 @@
"litellm_provider": "azure",
"mode": "chat"
},
+ "azure_ai/gpt-oss-120b": {
+ "input_cost_per_token": 1.5e-7,
+ "output_cost_per_token": 6e-7,
+ "litellm_provider": "azure_ai",
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "max_tokens": 131072,
+ "mode": "chat",
+ "source": "https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/",
+ "supports_function_calling": true,
+ "supports_parallel_function_calling": true,
+ "supports_response_schema": true,
+ "supports_tool_choice": true
+ },
"azure/eu/gpt-4o-2024-08-06": {
"deprecation_date": "2026-02-27",
"cache_read_input_token_cost": 1.375e-06,
@@ -3707,6 +3721,32 @@
"/v1/images/generations"
]
},
+ "azure/gpt-image-1.5": {
+ "cache_read_input_image_token_cost": 2e-06,
+ "cache_read_input_token_cost": 1.25e-06,
+ "input_cost_per_token": 5e-06,
+ "input_cost_per_image_token": 8e-06,
+ "litellm_provider": "azure",
+ "mode": "image_generation",
+ "output_cost_per_image_token": 3.2e-05,
+ "supported_endpoints": [
+ "/v1/images/generations",
+ "/v1/images/edits"
+ ]
+ },
+ "azure/gpt-image-1.5-2025-12-16": {
+ "cache_read_input_image_token_cost": 2e-06,
+ "cache_read_input_token_cost": 1.25e-06,
+ "input_cost_per_token": 5e-06,
+ "input_cost_per_image_token": 8e-06,
+ "litellm_provider": "azure",
+ "mode": "image_generation",
+ "output_cost_per_image_token": 3.2e-05,
+ "supported_endpoints": [
+ "/v1/images/generations",
+ "/v1/images/edits"
+ ]
+ },
"azure/low/1024-x-1024/gpt-image-1-mini": {
"input_cost_per_pixel": 2.0751953125e-09,
"litellm_provider": "azure",