All Models/grok-4.7
xAI👑 Flagship

grok-4.7

Benchmark:94.0
Speed:Fast
Training Cutoff:2026-05

Specs & Pricing

API pricing per 1M tokens and core technical specifications
📥
Input / 1M
$2.0000
📤
Output / 1M
$6.0000
⚡
Cache Price / 1M
$0.5000
📏
Context Window
500K
500,000 tokens
📝
Max Output
-
-
🎯
Benchmark & Speed
94.0
Speed:Fast
💡
Cache Storage Fee: $0.00 / 1M tokens / hr
Long Context Tier (>200K): Input $4.0000 / Output $12.0000 / Cache $1.0000

Cost Calculator

Simulate estimated API usage cost based on your specific traffic and context size

Calculation Settings

Pricing Tier
▶ Detailed Settings
▶ Presets

Simulation Results

Input Cost$0.0195
Output Cost$0.018
Cache Cost$0.0051
Total$0.0426
Saved: $0.0154

Calculation Details

INPUT
(1,024 / 1M) × $2 + 10req × (976 / 1M) × $2 = $0.0195
OUTPUT
10req × (300 / 1M) × $6 = $0.018
CACHE
Read: 9req × (1,024 / 1M) × $0.5 = $0.0051

Alternative Models

Models with comparable benchmark score and pricing tier
ModelProviderContext WindowMax OutputTraining CutoffInput / 1MCache Price / 1MOutput / 1MBenchmarkSpeedTotal
Google👑
1M65K2026-03$1.50$0.15$7.5093Blazing Fast$0.0525
xAI👑
500K-2026-02$2.00$0.50$6.0091.5Fast$0.0426
xAI
500K--$2.00$0.30$6.0088.5Standard$0.0406
xAI
2M--$2.00$0.20$6.0086.25Slow$0.0396
xAI
2M--$2.00$0.20$6.0084.75Slow$0.0396

Provider

Google👑

Benchmark

93

Speed

Blazing Fast

Training Cutoff

2026-03

Context Window

1M

Max Output

65K

Input / 1M

$1.50

Cache Price / 1M

$0.15

Output / 1M

$7.50

Total(試算)
In: $0.03 / Out: $0.0225
$0.0525

Provider

xAI👑

Benchmark

91.5

Speed

Fast

Training Cutoff

2026-02

Context Window

500K

Max Output

-

Input / 1M

$2.00

Cache Price / 1M

$0.50

Output / 1M

$6.00

Total(試算)
In: $0.0195 / Out: $0.018
$0.0426

Provider

xAI

Benchmark

88.5

Speed

Standard

Training Cutoff

-

Context Window

500K

Max Output

-

Input / 1M

$2.00

Cache Price / 1M

$0.30

Output / 1M

$6.00

Total(試算)
In: $0.0195 / Out: $0.018
$0.0406

Provider

xAI

Benchmark

86.25

Speed

Slow

Training Cutoff

-

Context Window

2M

Max Output

-

Input / 1M

$2.00

Cache Price / 1M

$0.20

Output / 1M

$6.00

Total(試算)
In: $0.0195 / Out: $0.018
$0.0396

Provider

xAI

Benchmark

84.75

Speed

Slow

Training Cutoff

-

Context Window

2M

Max Output

-

Input / 1M

$2.00

Cache Price / 1M

$0.20

Output / 1M

$6.00

Total(試算)
In: $0.0195 / Out: $0.018
$0.0396
⚡ Main Feature

All AI Models Pricing & Cost Simulator

Compare cutting-edge models from OpenAI, Anthropic, Google, and DeepSeek. Accurately simulate real-world API costs with prompt caching and custom context length.

Open Comparison Tool

grok-4.7 Frequently Asked Questions (FAQ)

Key insights into grok-4.7 API pricing, context capacity, caching savings, and performance benchmarks

Q. What is the API pricing for grok-4.7? How much does it cost per 1M tokens?+

grok-4.7 (xAI) is priced at $2.0000 per 1 million input tokens and $6.0000 per 1 million output tokens. The output rate is approximately 3.0x higher than the input rate. You can simulate your exact monthly API expenses tailored to your request volume and token length using the calculator above.

Q. What are the context window and maximum output limits of grok-4.7?+

grok-4.7 features a 500K context window and a maximum output limit of - tokens per request. It provides ample capacity for multi-turn dialogs and complex document parsing.

Q. Does grok-4.7 support Prompt Caching, and how much cost can be saved?+

Yes, grok-4.7 supports prompt caching. Cached reads cost $0.5000 per 1M tokens, delivering an estimated 75% discount compared to standard input rates. Caching reusable system instructions and documentation substantially lowers recurring API expenses.

Q. What is the benchmark score (94) and performance profile of grok-4.7?+

grok-4.7 achieves an overall benchmark score of 94/100 with a "Fast" speed rating. It serves as a premier flagship model suited for complex reasoning, autonomous agents, and advanced coding.

Q. Which alternative models are comparable to grok-4.7?+

Key alternatives in similar price-to-performance tiers include Gemini 3.8 Flash, grok-4.6, grok-4.5. We recommend comparing them based on your latency targets, context window needs, and prompt caching benefits using the full comparison tool on this site.