DeepSeek API vs xAI API pricing
DeepSeek API is cheaper: $0.30 per million input tokens at peak, $1.20 per million output, half price off peak vs $1.25 per million input tokens, $2.5 per million output for xAI API. DeepSeek API prices unchanged since 2026. xAI API prices unchanged since 2026.
DeepSeek API vs xAI API at a glance
Current list prices.
DeepSeek API
- Starts at
- $0.30 per million input tokens at peak, $1.20 per million output, half price off peakdeepseek-flash
- Top listed plan
- $1.32 per million input tokens at peak, $3.96 per million output, half price off peakdeepseek-v4-pro
- Priced by
- Usage based
- Free plan
- Not recorded
- Price history
- since 2026
- Price changes
- none
xAI API
- Starts at
- $1.25 per million input tokens, $2.5 per million outputgrok-4.3
- Top listed plan
- $2 per million input tokens, $6 per million outputgrok-4.6
- Priced by
- Usage based
- Free plan
- Not recorded
- Price history
- since 2026
- Price changes
- none
Exhibit 1
DeepSeek API vs xAI API price history
Both histories on one chart. The default line is each product's cheapest paid plan.
Show the data as a table
| Observed | DeepSeek API deepseek-flash, input | xAI API grok-4.3, input |
|---|---|---|
| Sep 21, 2026 | $1.25 | |
| Oct 3, 2026 | $0.30 | $1.25 |
| Nov 24, 2026 | $0.30 | $1.25 |
Plans side by side
Current plans, with the starting price where known.
DeepSeek APIUSD per million tokens, peak rate, cache miss
| Plan | Price | Listed since |
|---|---|---|
| deepseek-flash, input | $0.30 | Oct 2026 |
| deepseek-flash, output | $1.20 | Oct 2026 |
| deepseek-v4-pro, input | $1.32 | Oct 2026 |
| deepseek-v4-pro, output | $3.96 | Oct 2026 |
xAI APIUSD per million tokens, prompts under 200K tokens
| Plan | Price | Listed since |
|---|---|---|
| grok-4.6, input | $2 | Sep 2026 |
| grok-4.6, output | $6 | Sep 2026 |
| grok-4.3, input | $1.25 | Sep 2026 |
| grok-4.3, output | $2.50 | Sep 2026 |
| grok-4.7, input | $2 | Oct 2026 |
| grok-4.7, output | $6 | Oct 2026 |
What changed, and when
Dated price changes, newest first.
- Oct 2026xAI API added the grok-4.7 input and output plans. grok-4.7, input listed at $2. grok-4.7, output listed at $6.
DeepSeek API vs xAI API pricing questions
- Is DeepSeek API or xAI API cheaper?
- DeepSeek API starts lower at $0.30 per million input tokens at peak, $1.20 per million output, half price off peak, xAI API at $1.25 per million input tokens, $2.5 per million output.
- Has DeepSeek API or xAI API raised prices?
- DeepSeek API: unchanged since 2026. xAI API: unchanged since 2026.
- How are DeepSeek API and xAI API priced?
- DeepSeek API: usage based, USD per million tokens, peak rate, cache miss. xAI API: usage based, USD per million tokens, prompts under 200K tokens.
More comparisons
- All ai model apis compared
- DeepSeek API alternatives
- xAI API alternatives
- DeepSeek API vs Amazon Bedrock
- DeepSeek API vs Azure OpenAI
- DeepSeek API vs OpenAI API
- DeepSeek API vs Claude API
- DeepSeek API vs Gemini API
- DeepSeek API vs Mistral API
- DeepSeek API vs Perplexity Sonar API
- DeepSeek API vs TypeSafe AI
- DeepSeek API vs Vertex AI
- xAI API vs Amazon Bedrock
- xAI API vs Azure OpenAI
- xAI API vs OpenAI API
- xAI API vs Claude API
- xAI API vs Gemini API
- xAI API vs Mistral API
- xAI API vs Perplexity Sonar API
- xAI API vs TypeSafe AI
- xAI API vs Vertex AI
- Build your own comparison