At 40 requests/user/day (totaling 120,000 queries/mo), running AI coding assistant on DeepInfra — Qwen 2.5 Coder 32B costs $172.80 / month ($1.728 / user / mo).
Total expected API invoice for 100 Active Users generating 120,000 queries.
Direct inference cost per MAU to model your SaaS pricing tiers and gross margins.
Savings generated by exploiting 60% cache hits on prompt context.
| Model | Provider | Monthly Spend (100 Active Users) | Cost / User / Mo | Annual Spend | Context Limit |
|---|---|---|---|---|---|
| DeepInfra — Qwen 2.5 Coder 32B (Current) | deepinfra | $172.80 | $1.728 | $2,073.60 | 128,000 |
| GPT-5.3 Codex | openai | $4,519.20 | $45.192 | $54,230.40 | 256,000 |
| DeepSeek Coder V2.5 | deepseek | $159.936 | $1.599 | $1,919.232 | 128,000 |
| Codestral 2501 | mistral | $414.72 | $4.147 | $4,976.64 | 256,000 |
| Grok Build 0.1 | xai | $1,228.80 | $12.288 | $14,745.60 | 256,000 |
| Qwen 2.5 Coder 32B | qwen | $276.48 | $2.765 | $3,317.76 | 128,000 |
At 40 queries per user/day with DeepInfra — Qwen 2.5 Coder 32B, the estimated cost is $1.728 per monthly active user (MAU). Total monthly bill for 100 Active Users is $172.80.
Assuming a 60% cache hit rate on repeated system and context tokens, prompt caching saves $0.00 per month ($0.00/year) on DeepInfra — Qwen 2.5 Coder 32B.
With a direct COGS of $1.728 per user/month on DeepInfra — Qwen 2.5 Coder 32B, charging at least $8.64 per user/month ensures an 80%+ software gross margin.