diff --git a/pricing_table.md b/pricing_table.md index c034613..fdf7a67 100644 --- a/pricing_table.md +++ b/pricing_table.md @@ -1186,7 +1186,7 @@ | o3-pro | $20 | $80 | 200,000 | 100000 | | o3-pro-2025-06-10 | $20 | $80 | 200,000 | 100000 | | mistral/magistral-medium-2506 | $2 | $5 | 40,000 | 40000 | -| mistral/magistral-small-2506 | $0 | $0 | 40,000 | 40000 | +| mistral/magistral-small-2506 | $0.5 | $1.5 | 40,000 | 40000 | | vertex_ai/claude-opus-4 | $15 | $75 | 200,000 | 32000 | | vertex_ai/claude-sonnet-4 | $3 | $15 | 200,000 | 64000 | | openai/o3-pro | $20 | $80 | 200,000 | 100000 | @@ -1228,4 +1228,10 @@ | deepgram/whisper-medium | -- | -- | nan | nan | | deepgram/whisper-large | -- | -- | nan | nan | | azure/gpt-4o-transcribe | $2.5 | $10 | 16,000 | 2000 | -| azure/gpt-4o-mini-transcribe | $1.25 | $5 | 16,000 | 2000 | \ No newline at end of file +| azure/gpt-4o-mini-transcribe | $1.25 | $5 | 16,000 | 2000 | +| mistral/magistral-medium-latest | $2 | $5 | 40,000 | 40000 | +| mistral/magistral-small-latest | $0.5 | $1.5 | 40,000 | 40000 | +| xai/grok-3-latest | $3 | $15 | 131,072 | 131072 | +| xai/grok-3-mini | $0.3 | $0.5 | 131,072 | 131072 | +| xai/grok-3-mini-latest | $0.3 | $0.5 | 131,072 | 131072 | +| xai/grok-3-mini-fast | $0.6 | $4 | 131,072 | 131072 | \ No newline at end of file diff --git a/tokencost/model_prices.json b/tokencost/model_prices.json index 69cead0..a85089d 100644 --- a/tokencost/model_prices.json +++ b/tokencost/model_prices.json @@ -16171,11 +16171,11 @@ "max_tokens": 40000, "max_input_tokens": 40000, "max_output_tokens": 40000, - "input_cost_per_token": 0.0, - "output_cost_per_token": 0.0, + "input_cost_per_token": 5e-07, + "output_cost_per_token": 1.5e-06, "litellm_provider": "mistral", "mode": "chat", - "source": "https://mistral.ai/news/magistral", + "source": "https://mistral.ai/pricing#api-pricing", "supports_function_calling": true, "supports_assistant_prefill": true, "supports_tool_choice": true, @@ -16814,5 +16814,92 @@ "supported_endpoints": [ "/v1/audio/transcriptions" ] + }, + "mistral/magistral-medium-latest": { + "max_tokens": 40000, + "max_input_tokens": 40000, + "max_output_tokens": 40000, + "input_cost_per_token": 2e-06, + "output_cost_per_token": 5e-06, + "litellm_provider": "mistral", + "mode": "chat", + "source": "https://mistral.ai/news/magistral", + "supports_function_calling": true, + "supports_assistant_prefill": true, + "supports_tool_choice": true, + "supports_reasoning": true + }, + "mistral/magistral-small-latest": { + "max_tokens": 40000, + "max_input_tokens": 40000, + "max_output_tokens": 40000, + "input_cost_per_token": 5e-07, + "output_cost_per_token": 1.5e-06, + "litellm_provider": "mistral", + "mode": "chat", + "source": "https://mistral.ai/pricing#api-pricing", + "supports_function_calling": true, + "supports_assistant_prefill": true, + "supports_tool_choice": true, + "supports_reasoning": true + }, + "xai/grok-3-latest": { + "max_tokens": 131072, + "max_input_tokens": 131072, + "max_output_tokens": 131072, + "input_cost_per_token": 3e-06, + "output_cost_per_token": 1.5e-05, + "litellm_provider": "xai", + "mode": "chat", + "supports_function_calling": true, + "supports_tool_choice": true, + "supports_response_schema": false, + "source": "https://x.ai/api#pricing", + "supports_web_search": true + }, + "xai/grok-3-mini": { + "max_tokens": 131072, + "max_input_tokens": 131072, + "max_output_tokens": 131072, + "input_cost_per_token": 3e-07, + "output_cost_per_token": 5e-07, + "litellm_provider": "xai", + "mode": "chat", + "supports_function_calling": true, + "supports_tool_choice": true, + "supports_reasoning": true, + "supports_response_schema": false, + "source": "https://x.ai/api#pricing", + "supports_web_search": true + }, + "xai/grok-3-mini-latest": { + "max_tokens": 131072, + "max_input_tokens": 131072, + "max_output_tokens": 131072, + "input_cost_per_token": 3e-07, + "output_cost_per_token": 5e-07, + "litellm_provider": "xai", + "mode": "chat", + "supports_function_calling": true, + "supports_tool_choice": true, + "supports_reasoning": true, + "supports_response_schema": false, + "source": "https://x.ai/api#pricing", + "supports_web_search": true + }, + "xai/grok-3-mini-fast": { + "max_tokens": 131072, + "max_input_tokens": 131072, + "max_output_tokens": 131072, + "input_cost_per_token": 6e-07, + "output_cost_per_token": 4e-06, + "litellm_provider": "xai", + "mode": "chat", + "supports_function_calling": true, + "supports_tool_choice": true, + "supports_reasoning": true, + "supports_response_schema": false, + "source": "https://x.ai/api#pricing", + "supports_web_search": true } } \ No newline at end of file