← All models

grok-4

OpenRouter · chat model

grok-4 is listed here as a chat model from OpenRouter. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.

Input
$3.0000 / 1M tokens
Output
$15.0000 / 1M tokens
Cached input
N/A
Context
256.0K

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

Context window
256.0K
Max input tokens
256.0K
Max output tokens
256.0K
Max tokens
256.0K

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.

Comparing from
Model Cost Input shape Features Context Why it is close
grok-4
OpenRouter
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
Output: unknown
Function callingTool choiceReasoningWeb search
256.0K
Current model
Reference row

Overall blends cost, modality overlap, capabilities, and context.

Model Cost Input shape Features Context Why it is close
grok-4
xai
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagetext
Output: text
Function callingTool choiceWeb search
256.0K
Partial I/O overlap
Overall 50%
grok-4-0709
xai
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagetext
Output: text
Function callingTool choiceWeb search
256.0K
Partial I/O overlap
Overall 50%
grok-4-latest
xai
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagetext
Output: text
Function callingTool choiceWeb search
256.0K
Partial I/O overlap
Overall 50%
kimi-k2-thinking-turbo
moonshot
In $1.1500 / 1M tokens
Out $8.0000 / 1M tokens
Output: unknown
Function callingTool choiceReasoningWeb search
262.1K
Partial I/O overlap
Overall 49%
grok-4
vercel_ai_gateway
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagetext
Output: text
Function callingTool choice
256.0K
Partial I/O overlap
Overall 48%
grok-3
azure_ai
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
text
Output: text
Function callingTool choiceWeb search
131.1K
Partial I/O overlap
Overall 46%
kimi-k2-thinking
moonshot
In $0.6000 / 1M tokens
Out $2.5000 / 1M tokens
Output: unknown
Function callingTool choiceReasoningWeb search
262.1K
Partial I/O overlap
Overall 43%
claude-3.7-sonnet
OpenRouter
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
Output: unknown
Function callingTool choiceReasoning
128.0K
Same provider
Overall 40%
claude-sonnet-4.6
OpenRouter
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimage
Output: text
Function callingTool choiceReasoning
128.0K
Same provider
Overall 38%
gpt-5.2-codex
OpenRouter
In $1.7500 / 1M tokens
Out $14.0000 / 1M tokens
imagetext
Output: text
Tool choiceReasoning
128.0K
Same provider
Overall 36%
gpt-5.2
OpenRouter
In $1.7500 / 1M tokens
Out $14.0000 / 1M tokens
fileimage
Output: text
Function callingTool choiceReasoning
128.0K
Same provider
Overall 36%
claude-sonnet-4.5
OpenRouter
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimage
Output: text
Function callingTool choiceReasoning
1.0M
Same provider
Overall 35%
claude-sonnet-4
OpenRouter
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimage
Output: text
Function callingTool choiceReasoning
64.0K
Same provider
Overall 34%
grok-3-mini
azure_ai
In $0.2500 / 1M tokens
Out $1.2700 / 1M tokens
text
Output: text
Function callingTool choiceReasoningWeb search
131.1K
Partial I/O overlap
Overall 34%
grok-3-mini
azure_ai
In $0.2500 / 1M tokens
Out $1.2700 / 1M tokens
text
Output: text
Function callingTool choiceReasoningWeb search
131.1K
Partial I/O overlap
Overall 34%
grok-3-mini-fast
xai
In $0.6000 / 1M tokens
Out $4.0000 / 1M tokens
text
Output: text
Function callingTool choiceReasoningWeb search
131.1K
Partial I/O overlap
Overall 32%
grok-4.20-0309-reasoning
xai
In $2.0000 / 1M tokens
Out $6.0000 / 1M tokens
imagetext
Output: text
Function callingTool choiceReasoningWeb search
2.0M
Partial I/O overlap
Overall 32%
anthropic.claude-sonnet-4-6
bedrock_converse
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagepdf
Output: text
Function callingTool choiceReasoning
64.0K
Partial I/O overlap
Overall 32%
global.anthropic.claude-sonnet-4-6
bedrock_converse
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagepdf
Output: text
Function callingTool choiceReasoning
64.0K
Partial I/O overlap
Overall 32%
anthropic.claude-3-7-sonnet-20250219-v1:0
bedrock_converse
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagepdf
Output: text
Function callingTool choiceReasoning
8.2K
Partial I/O overlap
Overall 29%
grok-4-1-fast-reasoning
azure_ai
In $0.2000 / 1M tokens
Out $0.5000 / 1M tokens
imagetext
Output: text
Function callingTool choiceReasoningWeb search
131.1K
Partial I/O overlap
Overall 29%
anthropic.claude-3-5-sonnet-20240620-v1:0
Bedrock
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagepdf
Output: text
Function callingTool choice
4.1K
Partial I/O overlap
Overall 27%
anthropic.claude-3-sonnet-20240229-v1:0
Bedrock
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagepdf
Output: text
Function callingTool choice
4.1K
Partial I/O overlap
Overall 27%
anthropic.claude-3-5-sonnet-20241022-v2:0
Bedrock
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagepdf
Output: text
Function callingTool choice
8.2K
Partial I/O overlap
Overall 26%
gpt-oss-safeguard-20b
Groq
In $0.0750 / 1M tokens
Out $0.3000 / 1M tokens
Output: unknown
Function callingTool choiceReasoningWeb search
65.5K
Partial I/O overlap
Overall 24%