grok-2-vision
xai · chat model
Input
$2.0000 / 1M tokens
Output
$10.0000 / 1M tokens
Cached input
N/A
Context
32.8K
Pricing
| Item | Raw value (per token) | Normalized |
|---|---|---|
| Input | 0.000002 | $2.0000 / 1M tokens |
| Output | 0.00001 | $10.0000 / 1M tokens |
| Image input | 0.000002 | $2.0000 / 1M tokens |
| Embedding | 0.000002 | $2.0000 / 1M tokens |
Token limits
Context window
32.8K
Max input tokens
32.8K
Max output tokens
32.8K
Max tokens
32.8K
Capabilities
| Capability | Supported |
|---|---|
| Vision | Yes |
| Function calling | Yes |
| Parallel function calling | No |
| Tool choice | Yes |
| Prompt caching | No |
| 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 |
|---|---|---|---|---|---|---|
| grok-2 | vercel_ai_gateway | $2.0000 / 1M tokens | $10.0000 / 1M tokens | 4.0K | N/A | Tools |
| grok-2-vision | vercel_ai_gateway | $2.0000 / 1M tokens | $10.0000 / 1M tokens | 32.8K | N/A | Vision Tools |
| grok-2 | xai | $2.0000 / 1M tokens | $10.0000 / 1M tokens | 131.1K | N/A | Tools |
| grok-2-1212 | xai | $2.0000 / 1M tokens | $10.0000 / 1M tokens | 131.1K | N/A | Tools |
| grok-2-latest | xai | $2.0000 / 1M tokens | $10.0000 / 1M tokens | 131.1K | N/A | Tools |
| grok-2-vision-1212 | xai | $2.0000 / 1M tokens | $10.0000 / 1M tokens | 32.8K | N/A | Vision Tools |
Sources
| Pricing source | LiteLLM model cost map |
| Synced at | 2026-05-27 |
| Manual review | Not reviewed |
Raw LiteLLM fields
{
"input_cost_per_image": 0.000002,
"input_cost_per_token": 0.000002,
"litellm_provider": "xai",
"max_input_tokens": 32768,
"max_output_tokens": 32768,
"max_tokens": 32768,
"mode": "chat",
"output_cost_per_token": 0.00001,
"supports_function_calling": true,
"supports_tool_choice": true,
"supports_vision": true,
"supports_web_search": true
}