grok-2
vercel_ai_gateway · chat model
grok-2 is listed here as a chat model from vercel_ai_gateway. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.
Quick read
Best for
Use this page when you need a fast view of cost, context size, and supported features before testing the model in your own workload.
Things to verify
Always check the provider page for discounts, cache pricing, region rules, and any model limits that may not appear in public metadata.
Pricing
| Item | Price |
|---|---|
| Input | $2.0000 / 1M tokens |
| Output | $10.0000 / 1M tokens |
| Embedding | $2.0000 / 1M tokens |
Token limits
Capabilities
| Capability | Supported |
|---|---|
| Vision | — |
| Function calling | ✅ |
| Parallel function calling | — |
| Tool choice | ✅ |
| Prompt caching | — |
| Reasoning | — |
| Response schema | — |
| System messages | — |
| Audio input | — |
| Audio output | — |
| Web search | — |
| PDF input | — |
| Video input | — |
Benchmarks
Most benchmark rows are attached to the base model family rather than this provider route. Open benchmark explorer
| Benchmark | Score | Metric | Scope | Checked | Source |
|---|---|---|---|---|---|
| GPQA | 56.0% | accuracy | Base model: grok-2 (Grok-2) | 2026-05-31 | Link |
| MMLU | 87.5% | accuracy | Base model: grok-2 (Grok-2) | 2026-05-31 | Link |
| MMLU-Pro | 75.5% | accuracy | Base model: grok-2 (Grok-2) | 2026-05-31 | Link |
| MATH | 76.1% | accuracy | Base model: grok-2 (Grok-2) | 2026-05-31 | Link |
| HumanEval | 88.4% | pass@1 | Base model: grok-2 (Grok-2) | 2026-05-31 | Link |
| MMMU | 66.1% | accuracy | Base model: grok-2 (Grok-2) | 2026-05-31 | Link |
Sources
| Source links | |
| Pricing data | LiteLLM model cost map |
| Synced at | 2026-05-28 |
Docs
| Official docs |
Similar models
This list is ranked by overall similarity. Use filters to emphasize the lens that matters most for the replacement you are making.
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| grok-2 vercel_ai_gateway | In $2.0000 / 1M tokens Out $10.0000 / 1M tokens | text
Output: text | Function callingTool choice | 4.0K | Current model Reference row |
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| command-r-plus vercel_ai_gateway | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Same provider Overall 98% |
| mistral-large-2407 azure_ai | In $2.0000 / 1M tokens Out $6.0000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 95% |
| mistral-large-latest azure_ai | In $2.0000 / 1M tokens Out $6.0000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 95% |
| gpt-35-turbo-16k-0613 Azure | In $3.0000 / 1M tokens Out $4.0000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 90% |
| mistral.mistral-large-2407-v1:0 Bedrock | In $3.0000 / 1M tokens Out $9.0000 / 1M tokens | text
Output: text | Function callingTool choice | 8.2K | Text covered Overall 88% |
| mistral-large azure_ai | In $4.0000 / 1M tokens Out $12.0000 / 1M tokens | text
Output: text | Function callingTool choice | 8.2K | Text covered Overall 86% |
| mistral-large vercel_ai_gateway | In $2.0000 / 1M tokens Out $6.0000 / 1M tokens | text image
Output: text | Function callingTool choice | 4.0K | Same provider Overall 84% |
| gpt-3.5-turbo Azure | In $0.5000 / 1M tokens Out $1.5000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 84% |
| gpt-35-turbo Azure | In $0.5000 / 1M tokens Out $1.5000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 84% |
| gpt-3.5-turbo vercel_ai_gateway | In $0.5000 / 1M tokens Out $1.5000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Same provider Overall 84% |
| command-a vercel_ai_gateway | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | text
Output: text | Function callingTool choice | 8.0K | Same provider Overall 82% |
| codestral vercel_ai_gateway | In $0.3000 / 1M tokens Out $0.9000 / 1M tokens | text
Output: text | Function callingTool choice | 4.0K | Same provider Overall 82% |
| gpt-4-0613 Azure | In $30.0000 / 1M tokens Out $60.0000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 82% |
| command-r vercel_ai_gateway | In $0.1500 / 1M tokens Out $0.6000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Same provider Overall 81% |
| grok-2 xai | In $2.0000 / 1M tokens Out $10.0000 / 1M tokens | text
Output: text | Function callingTool choice | 131.1K | Text covered Overall 77% |
| grok-2-1212 xai | In $2.0000 / 1M tokens Out $10.0000 / 1M tokens | text
Output: text | Function callingTool choice | 131.1K | Text covered Overall 77% |
| grok-2-latest xai | In $2.0000 / 1M tokens Out $10.0000 / 1M tokens | text
Output: text | Function callingTool choice | 131.1K | Text covered Overall 77% |
| Llama-3.3-70B-Instruct azure_ai | In $0.7100 / 1M tokens Out $0.7100 / 1M tokens | text
Output: text | Function callingTool choice | 2.0K | Text covered Overall 77% |
| Phi-4 azure_ai | In $0.1250 / 1M tokens Out $0.5000 / 1M tokens | text
Output: text | Function callingTool choice | 16.4K | Text covered Overall 70% |
| grok-2-vision vercel_ai_gateway | In $2.0000 / 1M tokens Out $10.0000 / 1M tokens | text image
Output: text | Function callingTool choice | 32.8K | Same provider Overall 66% |
| gemini-2.5-pro deepinfra | In $1.2500 / 1M tokens Out $10.0000 / 1M tokens | text audiocode
Output: text | Function callingTool choice | 1.0M | Text covered Overall 62% |
| grok-2-vision xai | In $2.0000 / 1M tokens Out $10.0000 / 1M tokens | text image
Output: text | Function callingTool choice | 32.8K | Text covered Overall 62% |
| grok-2-vision-1212 xai | In $2.0000 / 1M tokens Out $10.0000 / 1M tokens | text image
Output: text | Function callingTool choice | 32.8K | Text covered Overall 62% |
No models match this filter.