grok-3-mini
xai · chat model
Input
$0.3000 / 1M tokens
Output
$0.5000 / 1M tokens
Cached input
$0.0750 / 1M tokens
Context
131.1K
Pricing
| Item | Raw value (per token) | Normalized |
|---|---|---|
| Input | 3e-7 | $0.3000 / 1M tokens |
| Output | 5e-7 | $0.5000 / 1M tokens |
| Cached input | 7.5e-8 | $0.0750 / 1M tokens |
| Embedding | 3e-7 | $0.3000 / 1M tokens |
Token limits
Context window
131.1K
Max input tokens
131.1K
Max output tokens
131.1K
Max tokens
131.1K
Capabilities
| Capability | Supported |
|---|---|
| Vision | No |
| Function calling | Yes |
| Parallel function calling | No |
| Tool choice | Yes |
| Prompt caching | Yes |
| Reasoning | Yes |
| Response schema | No |
| System messages | No |
| Audio input | No |
| Audio output | No |
| Web search | Yes |
| PDF input | No |
| Video input | No |
Similar models
Models with comparable pricing in the same mode (chat).
| Model | Provider | Input | Output | Context | Coding | Features |
|---|---|---|---|---|---|---|
| xai.grok-3-mini | oci | $0.3000 / 1M tokens | $0.5000 / 1M tokens | 131.1K | N/A | Tools |
| grok-3-mini | vercel_ai_gateway | $0.3000 / 1M tokens | $0.5000 / 1M tokens | 131.1K | N/A | Tools |
| grok-3-mini-beta | xai | $0.3000 / 1M tokens | $0.5000 / 1M tokens | 131.1K | N/A | Tools Cache Reasoning |
| grok-3-mini-latest | xai | $0.3000 / 1M tokens | $0.5000 / 1M tokens | 131.1K | N/A | Tools Cache Reasoning |
| DeepSeek Chat | DeepSeek | $0.2800 / 1M tokens | $0.4200 / 1M tokens | 8.2K | N/A | Tools Cache |
| deepseek-reasoner | DeepSeek | $0.2800 / 1M tokens | $0.4200 / 1M tokens | 65.5K | N/A | Cache Reasoning |
Sources
| Pricing source | LiteLLM model cost map |
| Synced at | 2026-05-27 |
| Manual review | Not reviewed |
Raw LiteLLM fields
{
"cache_read_input_token_cost": 7.5e-8,
"deprecation_date": "2026-02-28",
"input_cost_per_token": 3e-7,
"litellm_provider": "xai",
"max_input_tokens": 131072,
"max_output_tokens": 131072,
"max_tokens": 131072,
"mode": "chat",
"output_cost_per_token": 5e-7,
"source": "https://x.ai/api#pricing",
"supports_function_calling": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
"supports_response_schema": false,
"supports_tool_choice": true,
"supports_web_search": true
}