Qwen 3.5: when does running your own GPU beat paying the hosted API per token?
Qwen 3.5 is available both via hosted APIs (Alibaba Cloud, OpenRouter, Together) and as open weights you can self-serve. Explain the cost crossover: name the dominant fixed-vs-variable factor, the utilization knob that decides which side wins, and give an order-of-magnitude break-even in tokens per day.
Hosted API = variable cost (per token). Self-host = fixed cost (per GPU-hour).
Picture two ways to get drinks at a wedding: pay $5 per glass at the bar, or rent your own bartender for $1000 a day. If only 10 people show up and each has 2 drinks, the bar is way cheaper at $100. If 500 people show up and each has 4 drinks, the bartender is way cheaper because you've spread their flat fee across 2,000 drinks. The crossover is somewhere around 200 drinks. The bartender also has hidden costs: you have to manage their schedule, find a backup if they get sick, and make sure they show up. For a small wedding the convenience of the bar might be worth a slightly higher per-drink price.
Detailed answer & concept explanation~7 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: fixed-vs-variable cost framing + utilization as the deciding knob + the break-even math with realistic numbers + the role of ops cost + when spot pricing and multi-GPU change the picture.
Real products, models, and research that use this idea.
- Together AI, Fireworks, and Alibaba Cloud's Bailian platform all host Qwen 3.5 at roughly $0.40-$0.60/M tokens for the 32B tier in 2026.
- Cursor and Anysphere migrated heavy code-completion traffic to self-hosted models when sustained utilization crossed the break-even threshold.
- Replicate and RunPod expose H100 instances at $2-3/hr; the math in this question matches their published serving guides.
- OpenRouter aggregates multiple Qwen 3.5 providers and lets teams A/B test hosted vs DIY economics on real traffic before committing.
- Many startups in 2025-2026 publicly reported staying on hosted Qwen/Llama APIs through Series A, switching to self-host only after sustained 10M+ token/day volume.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow does spot pricing on the H100 change the break-even?
QWhy is the H100's per-million-token cost a hyperbola, not a line, in tokens-per-day?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Computing self-host cost using peak token-rate as if the GPU runs at 100% for 24 hours. Real production utilization is 20-30% by default and 50-70% on well-tuned batch servers; using peak makes self-host look 3-5x more attractive than it actually is.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.