Grok 2 Vision
xAIText
Grok 2 Vision is a text model from xAI with a context window of 33K tokens and max output of 33K tokens. Pricing starts at $2.00 per million input tokens and $10.00 per million output tokens (cheapest at Vercel Ai Gateway).
Specifications
| Model Key | xai/grok-2-vision |
| Provider | xAI |
| LiteLLM Provider | xai |
| Mode | Text |
| Canonical Name | grok-vision-2 |
| Context Window | 33K tokens |
| Max Output | 33K tokens |
Capabilities
✓ Vision✓ Function Calling✗ Reasoning✗ JSON Schema✗ System Messages✓ Web Search✗ Prompt Caching✗ Audio Input✗ Audio Output
Pricing
| Type | Per 1K Tokens | Per 1M Tokens |
|---|---|---|
| Input Tokens | $0.0020 | $2.00 |
| Output Tokens | $0.010 | $10.00 |
Price Comparison by Provider
Compare prices for Grok 2 Vision across different providers. The same model may be available through multiple providers at different price points.
Provider | Model Key | Input Price | Output Price |
|---|---|---|---|
| Vercel Ai Gateway | vercel_ai_gateway/xai/grok-2-vision | $2.00 | $10.00 |
| xAI | xai/grok-2-vision | $2.00 | $10.00 |
Similar Models
Models with similar capabilities and context window size.
Model | Provider | Mode | Input Price | Output Price | Context | Max Output | Vision | Functions |
|---|---|---|---|---|---|---|---|---|
| Codegeex4 | Ollama | Text | N/A | N/A | 33K | 8K | no | no |
| DeepSeek Coder V2 Instruct | Ollama | Text | N/A | N/A | 33K | 8K | no | yes |
| DeepSeek Coder V2 Lite Instruct | Ollama | Text | N/A | N/A | 33K | 8K | no | yes |
| Internlm2 5 20B Chat | Ollama | Text | N/A | N/A | 33K | 8K | no | yes |
| Mistral 7B Instruct V0.2 | Ollama | Text | N/A | N/A | 33K | 33K | no | yes |
| Mixtral 8x7B Instruct V0.1 | Ollama | Text | N/A | N/A | 33K | 33K | no | yes |
| Olmo 3 32B Think | Publicai | Text | N/A | N/A | 33K | 4K | no | yes |
| Olmo 3 7B Instruct | Publicai | Text | N/A | N/A | 33K | 4K | no | yes |
| Olmo 3 7B Think | Publicai | Text | N/A | N/A | 33K | 4K | no | yes |
| Qwen SEA LION V4 32B IT | Publicai | Text | N/A | N/A | 33K | 4K | no | yes |