grok-3-fast-latest
xai · chat model
Input
$5.0000 / 1M tokens
Output
$25.0000 / 1M tokens
Cached input
$1.2500 / 1M tokens
Context
131.1K
Pricing
| Item | Raw value (per token) | Normalized |
|---|---|---|
| Input | 0.000005 | $5.0000 / 1M tokens |
| Output | 0.000025 | $25.0000 / 1M tokens |
| Cached input | 0.00000125 | $1.2500 / 1M tokens |
| Embedding | 0.000005 | $5.0000 / 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 | No |
| 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 |
|---|---|---|---|---|---|---|
| anthropic.claude-opus-4-5-20251101-v1:0 | bedrock_converse | $5.0000 / 1M tokens | $25.0000 / 1M tokens | 64.0K | N/A | Vision Tools Cache Reasoning |
| anthropic.claude-opus-4-6-v1 | bedrock_converse | $5.0000 / 1M tokens | $25.0000 / 1M tokens | 128.0K | N/A | Vision Tools Cache Reasoning |
| global.anthropic.claude-opus-4-6-v1 | bedrock_converse | $5.0000 / 1M tokens | $25.0000 / 1M tokens | 128.0K | N/A | Vision Tools Cache Reasoning |
| anthropic.claude-opus-4-7 | bedrock_converse | $5.0000 / 1M tokens | $25.0000 / 1M tokens | 128.0K | N/A | Vision Tools Cache Reasoning |
| global.anthropic.claude-opus-4-7 | bedrock_converse | $5.0000 / 1M tokens | $25.0000 / 1M tokens | 128.0K | N/A | Vision Tools Cache Reasoning |
| claude-opus-4-5 | azure_ai | $5.0000 / 1M tokens | $25.0000 / 1M tokens | 64.0K | N/A | Vision Tools 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": 0.00000125,
"input_cost_per_token": 0.000005,
"litellm_provider": "xai",
"max_input_tokens": 131072,
"max_output_tokens": 131072,
"max_tokens": 131072,
"mode": "chat",
"output_cost_per_token": 0.000025,
"source": "https://x.ai/api#pricing",
"supports_function_calling": true,
"supports_prompt_caching": true,
"supports_response_schema": false,
"supports_tool_choice": true,
"supports_web_search": true
}