DeepInfra vs xAI Grok API
LLM API Providers pricing comparison · 2026
DeepInfra pricing ranges from $0.02–$82.5/per million tokens, while xAI Grok API ranges from $0.2–$30/per million tokens. These products use different pricing models (Usage-based (pay per token/image/minute) vs Per-seat subscription), so a direct price comparison isn't meaningful — costs depend on usage volume and mix.
DeepInfra and xAI Grok API are two leading LLM API providers. This page compares their per-token pricing, available models, and tier structure so you can pick the right backend for your workload — whether you're optimizing for cost per 1M tokens, latency, or model quality.
Plan-by-Plan Pricing
| Plan | DeepInfra | xAI Grok API |
|---|---|---|
| Pay-as-you-go | Custom | Custom |
| Enterprise | — | Custom |