grok-4
vercel_ai_gateway · chat model
grok-4 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 | $3.0000 / 1M tokens |
| Output | $15.0000 / 1M tokens |
| Embedding | $3.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 |
|---|---|---|---|---|---|
| ARC-AGI-2 | 15.9% | accuracy | Base model: grok-4 (Grok 4) | 2026-05-31 | Link |
| Vending-Bench | $4694.15 net worth | net worth | Base model: grok-4 (Grok 4) | 2026-05-31 | Link |
| Humanity's Last Exam | 50.7% (text-only subset) | accuracy | Base model: grok-4 (Grok 4 Heavy) | 2026-05-31 | Link |
| USAMO'25 | 61.9% | accuracy | Base model: grok-4 (Grok 4 Heavy) | 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-4 vercel_ai_gateway | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 256.0K | Current model Reference row |
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| claude-3-7-sonnet-latest deepinfra | In $3.3000 / 1M tokens Out $16.5000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 200.0K | Text + image covered Overall 95% |
| claude-4-sonnet deepinfra | In $3.3000 / 1M tokens Out $16.5000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 200.0K | Text + image covered Overall 95% |
| grok-3 vercel_ai_gateway | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 131.1K | Same provider Overall 93% |
| grok-4 xai | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 256.0K | Text + image covered Overall 88% |
| grok-4-0709 xai | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 256.0K | Text + image covered Overall 88% |
| grok-4-latest xai | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 256.0K | Text + image covered Overall 88% |
| claude-4-sonnet vercel_ai_gateway | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext file
Output: text | Function callingTool choice | 64.0K | Same provider Overall 81% |
| claude-4-opus deepinfra | In $16.5000 / 1M tokens Out $82.5000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 200.0K | Text + image covered Overall 80% |
| v0-1.5-md vercel_ai_gateway | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 32.8K | Same provider Overall 79% |
| v0-1.0-md vercel_ai_gateway | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 32.0K | Same provider Overall 79% |
| mistral-large vercel_ai_gateway | In $2.0000 / 1M tokens Out $6.0000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 4.0K | Same provider Overall 76% |
| gemma-3-12b-it deepinfra | In $0.0500 / 1M tokens Out $0.1000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 131.1K | Text + image covered Overall 73% |
| grok-3-fast vercel_ai_gateway | In $5.0000 / 1M tokens Out $25.0000 / 1M tokens | imagetext
Output: text | Function calling | 131.1K | Same provider Overall 72% |
| anthropic.claude-3-5-sonnet-20240620-v1:0 Bedrock | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext pdf
Output: text | Function callingTool choice | 4.1K | Text + image covered Overall 70% |
| anthropic.claude-3-sonnet-20240229-v1:0 Bedrock | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext pdf
Output: text | Function callingTool choice | 4.1K | Text + image covered Overall 70% |
| anthropic.claude-sonnet-4-6 bedrock_converse | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext pdf
Output: text | Function callingTool choice | 64.0K | Text + image covered Overall 70% |
| global.anthropic.claude-sonnet-4-6 bedrock_converse | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext pdf
Output: text | Function callingTool choice | 64.0K | Text + image covered Overall 70% |
| gpt-4 Azure | In $30.0000 / 1M tokens Out $60.0000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 4.1K | Text + image covered Overall 69% |
| mistral-medium-2505 azure_ai | In $0.4000 / 1M tokens Out $2.0000 / 1M tokens | imagetext
Output: text | Function callingTool choice | 8.2K | Text + image covered Overall 68% |
| anthropic.claude-3-5-sonnet-20241022-v2:0 Bedrock | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext pdf
Output: text | Function callingTool choice | 8.2K | Text + image covered Overall 68% |
| anthropic.claude-3-7-sonnet-20250219-v1:0 bedrock_converse | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext pdf
Output: text | Function callingTool choice | 8.2K | Text + image covered Overall 67% |
| gemini-2.5-pro deepinfra | In $1.2500 / 1M tokens Out $10.0000 / 1M tokens | imagetext audiocode
Output: text | Function callingTool choice | 1.0M | Text + image covered Overall 66% |
No models match this filter.