↑↓ move↵ openesc close

Overage / Compare / LLM APIs

DeepSeek API vs xAI API pricing

Verified 2026-10-24 (1 day ago)Source: DeepSeek API: api-docs.deepseek.com/quick_start/pricing, xAI API: docs.x.ai/docs/modelsVerified shows the older of the two.

Monthly cost at three volumes

Monthly cost of DeepSeek API and xAI API at three volumes and at your own
VolumeDeepSeek APIxAI API
small1M input, 200K output$0.27 / modeepseek-flash (off-peak)$3.20 / mogrok-4.7
growing50M input, 10M output$13.50 / modeepseek-flash (off-peak)$160 / mogrok-4.7
scale1B input, 200M output$270 / modeepseek-flash (off-peak)$3,200 / mogrok-4.7
your volumeset above$13.50 / modeepseek-flash (off-peak)$160 / mogrok-4.7

Each cell is the cheapest feasible plan, or the chosen model, at that volume, from the shared Overage cost function. "Cheapest model" only considers models with both an input and an output price listed. Volumes are example scenarios you can edit.

Cheapest model per service, USD per 1M tokens

Cheapest priced model of each service
ServiceCheapest modelInputOutputModels listed
DeepSeek APIdeepseek-flash (off-peak)$0.15$0.604
xAI APIgrok-4.7$2$61

Every model

Every model of both services, USD per 1M tokens
ModelServiceInputOutput
deepseek-flash (off-peak)DeepSeek API$0.15$0.60
deepseek-flash (peak)DeepSeek API$0.30$1.20
deepseek-v4-pro (off-peak)DeepSeek API$0.66$1.98
deepseek-v4-pro (peak)DeepSeek API$1.32$3.96
grok-4.7xAI API$2$6

Models are compared by name and price, never by position. Pick one model per service, or "Cheapest model", in the cost table above.

Tightest rate limit

Tightest documented rate limit of each service
MeasureDeepSeek APIxAI API
Tightest limitunlistedunlisted

Changes in the last 90 days

No changes recorded.

No change detected for either service in the last 90 days.