Open-Weight Models Just Changed the Vendor API Math
TL;DR: Models like Kimi K2 and DeepSeek V4 now match frontier quality at a fraction of the API cost — which means your "build vs. buy" spreadsheet has a third column you're probably not pricing. Most teams ignore it because they assume self-hosting is an ops nightmare. It is, until you understand the break-even math.
Key Insight
The standard AI procurement debate is "GPT-5 or Claude?" Both are vendor APIs, both priced roughly the same tier, so the delta doesn't move the needle much. That debate is now obsolete for a significant slice of enterprise workloads.
Here's the pricing reality as of mid-2026, per million output tokens:
- Claude Opus 4.8: $25.00
- Claude Sonnet 4.6: $15.00
- DeepSeek V4 Pro (API): $0.87
- DeepSeek V4 Flash (API): $0.20
- Kimi K2.6 (API): $3.42
Claude Haiku, Anthropic's cheapest model, still costs 2.5× to 25× more on output than the Chinese open-weight alternatives via their own API access. And if you self-host those open-weight models at scale, you can drive costs down another 60-80% below even those API prices.
Chinese AI labs (Moonshot AI, DeepSeek, Alibaba's Qwen team) are releasing frontier-capable models as open weights, available for self-hosting, at API prices that undercut Western vendors by an order of magnitude. For high-volume enterprise workloads (document processing, classification, code generation at scale), the math now demands you price a third option.
Why Teams Miss This
Two failure modes.
Failure mode one: Decision-makers hear "self-hosting" and mentally file it under "DevOps complexity we don't need." That was fair in 2024. It's less fair now when the GPU compute you'd lease to run DeepSeek V4 Flash runs about $29.60/hr for an 8×H200 node, break-even hits somewhere around 10,000 requests per day, and managed inference providers (Fireworks, Together, Anyscale) will run the same model for you, no GPUs owned, at near-self-hosted prices.
Failure mode two: They price the API cost correctly and completely miss the operational burden of the third column. Self-hosting a 1-trillion-parameter MoE model requires roughly 1,000 GB of VRAM just to load it at FP8 precision. That's 8×H200s minimum. Not a side project. The smaller sweet spot for most teams is the mid-tier: Qwen 3.5 27B or DeepSeek V4 Flash, where a single H100 handles inference and the economics are genuinely attractive for any team doing more than a few thousand calls a day.
The mistake is treating this as binary: "either we pay the API or we own the GPU cluster." The middle ground — managed open-weight inference, or a smaller model self-hosted — is where the real wins are.
How to Actually Do It
Step 1: Audit your usage by request type, not total tokens.
Most enterprise AI workloads break into 2-3 patterns: expensive reasoning tasks (10-20% of volume), standard generation (60-70%), and bulk/classification tasks (the rest). GPT-5 or Opus on your bulk workload is almost always waste.
Step 2: Run the break-even math before touching infrastructure.
For any workload segment:
Daily API cost = (requests/day × avg tokens/request) × API price per token
Self-hosted cost = (GPU hours/day × $/hr) + ops overhead
If API cost > self-hosted cost × 1.3 (safety margin): worth evaluating
At 10,000 requests/day with average 2,000 output tokens each, DeepSeek V4 Flash via API costs about $4/day. An H100 at ~$2.54/hr runs $61/day; you'd need 15× that volume before self-hosting the full model pencils out. But a managed inference endpoint (Fireworks, Together) for the same model runs 30-50% cheaper than the official DeepSeek API, with no infrastructure overhead.
Step 3: Match model size to task, not to prestige.
For classification, entity extraction, summarization over structured data: Qwen 3.5 27B or DeepSeek V4 Flash at the API tier handles it well below $0.50/million output tokens. Save the frontier models for tasks where reasoning quality actually changes the outcome.
Step 4: Flag the licensing.
DeepSeek's open-weight models use the MIT License. Kimi K2.7-Code is MIT. Qwen models use Apache 2.0. These are genuinely permissive for commercial use, but confirm with your legal team, especially if your use case involves model fine-tuning or redistribution, before committing to production infrastructure.
What We've Learned
The procurement framing has to change from "which vendor API?" to "which tier for which workload?" Run a 30-day audit of your current AI spend broken out by task type. Find the 20% of calls consuming 80% of cost. That cohort is where the open-weight third column pays for itself in a single quarter, either through a managed inference provider or a scoped self-hosting experiment on one workload.
Teams that win on AI cost run the right model for each task, and they've actually priced all three columns.
Sources
- Kimi K2.7 vs DeepSeek V4 API pricing comparison
- GPU Requirements Cheat Sheet 2026: VRAM and cost for 18 models
- Self-hosting Chinese AI models: vLLM and SGLang guide
- Kimi K2.7-Code self-hosting: VRAM math and API break-even
Have a specific workflow in mind?
Bring it to a Quick Scan — a live working session where we'll tell you honestly whether it should be an agent, a workflow, or left alone, before you spend a dollar building it. You get 3 prioritized recommendations on the call, a one-page summary after, and the $500 credited toward any engagement within 30 days.
Get new posts + practical agent-ops notes
One email when something new goes up. No nurture sequence, no spam — unsubscribe whenever you want.