On this page
DeepInfra is the cheapest of the three on every model they all serve. DeepSeek V4.1 Flash 1017 costs $0.098 in and $0.294 out per million tokens there, against $0.30 and $1.20 on Together AI and Fireworks. Fireworks wins on privacy defaults and discounts. If you’d rather pay one flat bill, Off Grid AI Boost starts at $4.99 a month.
Prices side by side
Price per million tokens, input / output, standard serverless rates. Each price links to that provider’s own pricing page.
| Model | DeepInfra | Together AI | Fireworks |
|---|---|---|---|
| DeepSeek V4.1 Flash | $0.14 / $0.42 ($0.098 / $0.294 for the 1017 build) | $0.30 / $1.20 | $0.30 / $1.20 |
| Qwen3.8-27B | $0.15 / $1.875 | Not served | Not served |
| Qwen3.8 Flash | $0.113 / $0.382 | $0.15 / $0.47 | Not served |
| GLM-5.3 | $0.5625 / $2.50 | $1.40 / $4.40 | $1.40 / $4.40 |
| Kimi K3.1 Pro | $1.90 / $9.50 | $2.00 / $10.00 | $2.00 / $10.00 |
| gpt-oss-120B | Not on the pricing page | $0.15 / $0.60 | $0.15 / $0.60 |
| Off Grid AI Boost | Flat plan from $4.99 a month, usage worth 2x the price |
Fireworks lists Qwen 3.8 Max at $2.00 / $6.00 and no smaller Qwen 3.8. Together serves Qwen3.8 Flash but not the 27B.
Cached input, batch and spot
| DeepInfra | Together AI | Fireworks | |
|---|---|---|---|
| Cached input, DeepSeek V4.1 Flash | $0.0029 (1017 build), $0.0042 (base) | $0.006 | $0.006 |
| Cached input, GLM-5.3 | $0.125 | $0.26 | $0.26 |
| Batch discount | Not listed | Not listed | 50% off input and output |
| Spot pricing | Not listed | Not listed | 50% off, GLM-5.3 only ($0.70 / $2.20) |
Fireworks warns that spot “throughput can drop to zero”, so you retry or fall back to standard. Batch suits jobs that don’t need an answer right away, like overnight evals or bulk tagging.
What a month costs
Say your app sends 50M input tokens and 10M output tokens a month. Cost = input millions × input price + output millions × output price.
DeepSeek V4.1 Flash
- DeepInfra, 1017 build: 50 × $0.098 + 10 × $0.294 = $4.90 + $2.94 = $7.84
- DeepInfra, base build: 50 × $0.14 + 10 × $0.42 = $7.00 + $4.20 = $11.20
- Together: 50 × $0.30 + 10 × $1.20 = $15.00 + $12.00 = $27.00
- Fireworks: $27.00, or $13.50 on batch
GLM-5.3
- DeepInfra: 50 × $0.5625 + 10 × $2.50 = $28.13 + $25.00 = $53.13
- Fireworks spot: 50 × $0.70 + 10 × $2.20 = $35.00 + $22.00 = $57.00
- Together or Fireworks standard: 50 × $1.40 + 10 × $4.40 = $70.00 + $44.00 = $114.00
Kimi K3.1 Pro
- DeepInfra: 50 × $1.90 + 10 × $9.50 = $95.00 + $95.00 = $190.00
- Together or Fireworks: 50 × $2.00 + 10 × $10.00 = $200.00
On DeepSeek, Together costs you more than three times what DeepInfra’s 1017 build does for the same workload. On GLM-5.3 it’s about twice.
Privacy and limits
| DeepInfra | Together AI | Fireworks | |
|---|---|---|---|
| Stores prompts? | No | Yes, by default; zero retention is an admin setting | No, “Zero data retention by default” (pricing) |
| Trains on prompts? | No | Off by default | Not stated |
| Published limits | 200 concurrent requests per public model, raise it in the dashboard | Not on the pricing page | Adaptive rate limits, no numbers on the pricing page |
| Subscription | None, add a card or pre-pay | None | None, prepaid credits |
Which one to pick
- Lowest bill per token: DeepInfra. It’s cheapest on DeepSeek, Qwen, GLM and Kimi, and it doesn’t store your prompts.
- Bulk jobs that can wait: Fireworks batch at half price, which brings DeepSeek to $0.15 / $0.60.
- Zero retention without touching a setting, on a big host: Fireworks or DeepInfra.
- You need US geo-pinned endpoints: Together lists US-pinned DeepSeek, GLM-5.3 and Kimi at a higher rate, for example GLM-5.3 at $1.75 / $5.50.
- You need gpt-oss-120B: Together or Fireworks, both $0.15 / $0.60. DeepInfra’s pricing page doesn’t list it.
When a flat plan beats all three
Per-token bills move with every request. An agent stuck in a loop on Together’s Kimi K3.1 Pro can burn $10 of output in a million tokens.
Off Grid AI Boost gives you the newest open models behind one OpenAI-compatible key. Point any OpenAI SDK or tool at it by changing one URL. The plans, for the first cohort, at half the regular price for as long as you stay:
| Plan | You pay a month | Usage included every month |
|---|---|---|
| Starter | $4.99 (regular $9.99) | $9.99 |
| Pro | $9.99 (regular $19.99) | $19.99 |
| Max | $49.99 (regular $99.99) | $99.99, plus new models first |
Usage is counted at each model’s token rate and refills monthly. Top up any time. We don’t keep your prompts or train on them, and the serving code will be open source, so you can move to your own hardware later. Yearly costs ten months’ price.
Boost is a pre-order. You pay now, your API key arrives by email in January 2027, and your plan starts that day. If it misses January, you get all your money back. Need an API this week? Start on DeepInfra, then move your base URL to Boost in January.
Problems and fixes
| Symptom | Check | Fix |
|---|---|---|
| Your Together bill is double what you expected | Which model and build you call | Move DeepSeek calls to DeepInfra’s 1017 build at $0.098 / $0.294 |
| Fireworks spot requests stall | Spot is best-effort capacity | Retry, or fall back to standard GLM-5.3 at $1.40 / $4.40 |
| DeepInfra returns errors under load | You’ve passed 200 concurrent requests on one model | Ask for a higher limit in the DeepInfra dashboard |
| A Qwen3.8-27B call fails on Together or Fireworks | Neither serves it | Use DeepInfra, or Together’s Qwen3.8 Flash |
| Long system prompts dominate the bill | Repeated input on every call | Use cached input; DeepInfra’s 1017 cache is $0.0029 per million |
| Your monthly bill swings every month | Usage moves with traffic | Move to a flat plan once spend passes its price |
Related pages
- Every host and router on one table: cheapest OpenRouter alternatives, price per million tokens
- If Together is the one you’re leaving: best Together AI alternatives
- Fixed monthly prices instead of meters: flat-rate APIs for open models
- All prices in one place: the open-model API price index
FAQ
Which is cheapest, Together AI, Fireworks or DeepInfra? DeepInfra, on every model all three serve. DeepSeek V4.1 Flash 1017 costs $0.098 in and $0.294 out per million tokens on DeepInfra, against $0.30 and $1.20 on Together and Fireworks. GLM-5.3 and Kimi K3.1 Pro are cheaper on DeepInfra too.
Are Together AI and Fireworks the same price? For DeepSeek V4.1 Flash, GLM-5.3, Kimi K3.1 Pro and gpt-oss-120B, yes, to the cent. Fireworks then adds two discounts Together doesn’t list: batch at 50% off and spot pricing at 50% off on GLM-5.3.
Which of the three keeps my prompts? Together stores prompts by default, and zero retention is a setting an admin turns on. Fireworks says zero data retention by default. DeepInfra says it doesn’t store your prompts or train on them.
Is there a flat monthly price instead of per-token? None of the three sells one. Off Grid AI Boost is a flat plan from $4.99 a month that includes usage worth $9.99, with Qwen 3.8 and DeepSeek V4.1 Flash on one key. It’s a pre-order, and your API key arrives in January 2027.