xAI vs DeepSeek

Grok 4.7 vs DeepSeek V4 Flash: pricing comparison

DeepSeek V4 Flash costs 17.9× less than Grok 4.7 for a typical 1,000-input, 500-output request. Here is how the two compare on price, context and discounts.

Prices last updated:

Side-by-side prices

Grok 4.7DeepSeek V4 Flash
ProviderxAIDeepSeek
Input per 1M tokens$2.00$0.14
Output per 1M tokens$6.00$0.28
Context window500K1M
Batch discountNot offeredNot offered
Typical request (1,000 in / 500 out)$0.005$0.00028
Monthly at 1,000 requests/day$150.00$8.40

Grok 4.7: Price shown is for inputs below 200K tokens.

DeepSeek V4 Flash: Open-weight model; price shown is DeepSeek's first-party API (cache-miss input).

Compare with your own numbers

Grok 4.7 per request
$0.005
Per month
$150.00
DeepSeek V4 Flash per request
$0.00028
Per month
$8.40

Cost by task

Cost per 1,000 requests at standard prices.
TaskTokens (in / out)Grok 4.7DeepSeek V4 Flash
Short chat reply500 / 300$2.80$0.154
RAG answer6,000 / 600$15.60$1.01
Summarize a long document12,000 / 1,000$30.00$1.96
Output-heavy generation1,000 / 4,000$26.00$1.26

Output tokens usually dominate the bill — see input vs output token cost.

Frequently asked questions

Is Grok 4.7 or DeepSeek V4 Flash cheaper?
DeepSeek V4 Flash is cheaper for a typical request of 1,000 input and 500 output tokens: $0.00028 versus $0.005 for Grok 4.7, about 94% less.
What are the per-token prices of Grok 4.7 and DeepSeek V4 Flash?
Grok 4.7 costs $2.00 input and $6.00 output per million tokens. DeepSeek V4 Flash costs $0.14 input and $0.28 output per million tokens.
Which has the larger context window, Grok 4.7 or DeepSeek V4 Flash?
DeepSeek V4 Flash has the larger context window: 1M tokens versus 500K for Grok 4.7.

More comparisons

All comparisons →