The question that motivated this post
If you're building software with AI tools in 2026, you're picking from two pricing models:
- Platform-paid: pay roughly $20-30/mo at the entry tier to Lovable, Bolt, Replit or Cursor; the plan bundles a fixed amount of model usage
- Bring-your-own-key (BYOK): pay the AI provider directly (Anthropic, OpenAI, OpenRouter), and the platform layer is free or near-free
Every comparison post I've read on this is either written by a platform with a vested interest in flat-rate, or written by a BYOK partisan who picked numbers to make BYOK win. The actual answer is: it depends on how much you build, and the breakeven point is sharper than most people realize.
This post does the math for both directions, with real per-task token costs measured against real OpenRouter and Anthropic prices. By the end you should be able to look at your own usage and pick the right model for you, not the right model for whoever wrote your last comparison post.
What a "feature" actually costs in tokens
The first place this analysis usually goes wrong is the unit. People say "AI coded my app for $20" and don't mean anything specific. Let me be specific.
A "feature" in this post = one round-trip with the agent that ends in deployed code. Examples:
- "Add a /about page that links to the social icons in the footer"
- "Fix the 500 on /api/users, I think the joins are wrong"
- "Make the hero section shorter and tighten the CTA copy"
- "Add Stripe checkout for the basic plan"
These are real prompts from real VibeKit users in the two weeks before this post. They span trivial CSS tweaks all the way to multi-step integrations. Token usage spans roughly:
| Task complexity | Input tokens | Output tokens | Tool calls | Sonnet-4.6 cost |
|---|---|---|---|---|
| Trivial (copy edit) | ~3,000 | ~500 | 1-2 | $0.017 |
| Small (single file change) | ~8,000 | ~1,200 | 3-5 | $0.042 |
| Medium (new endpoint + tests) | ~25,000 | ~3,500 | 8-12 | $0.128 |
| Large (multi-file refactor) | ~80,000 | ~8,000 | 15-25 | $0.360 |
| Heavy (Stripe-style integration) | ~150,000 | ~15,000 | 30-50 | $0.675 |
Cost figures use Anthropic's published Claude Sonnet 4.6 prices at the time of writing (May 2026): $3/M input, $15/M output. (Cache reads are cheaper, ~$0.30/M; that's why the average input cost is lower than the worst case once an agent has a warm cache.) These are Anthropic-direct prices. OpenRouter passes through within ~5% on most providers.
Two important things about this table:
Most features are "small" or "medium." In any given week of building, 70% of my tasks are in the $0.04-$0.13 range. The big-ticket integrations are exceptions, not the norm.
The cost-per-feature distribution has a long tail. If you're shipping primarily product polish (icons, copy, layout fixes), your average is closer to $0.05. If you're shipping infrastructure work (auth flows, billing, third-party APIs), your average is $0.25+.
The takeaway: the "average" feature cost depends heavily on what you're building. Don't trust any single number you see online, including mine.
What 1,000 features cost in tokens
A useful benchmark: a side project from blank to "real product" is somewhere between 200 and 2,000 features. A serious solo product over a year is 1,000+. Let me run that through the cost model.
Assume a realistic mix: 60% small, 25% medium, 12% large, 3% heavy. (These match what I see on VibeKit; your distribution will differ.)
1,000 features at this mix:
- 600 small × $0.042 = $25.20
- 250 medium × $0.128 = $32.00
- 120 large × $0.360 = $43.20
- 30 heavy × $0.675 = $20.25
- Total: $120.65
That's the BYOK base cost for a year-ish of building a real product. Some of you are already nodding ("that tracks"), some are surprised it's that low. Both are reasonable reactions; it depends on what you've been led to believe AI coding costs.
What the platforms charge
Now compare to flat-rate platform pricing. List prices from each vendor's pricing page, re-checked 2026-10-29 (the per-year column is the monthly price times 12):
| Platform | Monthly | Per year | What you get |
|---|---|---|---|
| Lovable Pro | $25/mo | $300/yr | 100 monthly credits, plus 5 daily build credits |
| Bolt Pro | $25/mo | $300/yr | 10M tokens/mo with rollover |
| Replit Core | $18/mo (annual) | $216/yr | $20 of monthly credits |
| Replit Pro | $90/mo (annual) | $1,080/yr | $100 of credits, up to 15 collaborators |
| Cursor Plus | $8/mo | $96/yr | Base usage, Composer and Grok models only, no cloud agents |
| Cursor Premium | $30/mo | $360/yr | 4× Plus usage, cloud agents |
| Cursor Super / Ultra | $100 / $200/mo | $1,200 / $2,400/yr | 15× / 50× Plus usage |
(The first version of this post used prices checked 2026-05-11. They change: Cursor reworked its whole tier lineup between May and October.)
A few things jump out:
1. Every plan is capped. Lovable Pro includes 100 monthly credits plus 5 a day; Bolt Pro includes 10M tokens. How many features a credit or token budget buys depends on how much project context each request carries, and the cap is easy to miss until you hit "out of credits."
2. The credit / token / usage-multiple abstractions are opaque. Lovable's credits, Replit's credits, Cursor's "4× Plus usage": none map cleanly to anything you can predict. Whatever the intent, the effect is that you can't easily compare across platforms.
3. The annual price has bifurcated. Entry tiers cluster at $216-$360/yr (Cursor Plus at $96 is the outlier, limited to two model families); heavy-use tiers run past $1,000 (Replit Pro $1,080, Cursor Super $1,200, Cursor Ultra $2,400). If your annual BYOK spend exceeds the entry tier, the platform wins on raw cost, but only at the entry tier. Heavy users are paying laptop-leasing money for a single subscription.
The breakeven calculation
Annual BYOK spend = (monthly features) × 12 × (avg cost per feature)
Solving for "monthly features at which BYOK = $240/yr" (a $20/mo entry tier):
$240 / 12 / $0.12 = ~167 features per month
That's about 5-6 features per day, every day, all year. For most solo builders, that number is high: you're not shipping 5 real features per day on a side project. You're shipping 5 features per week on a good week.
Inverting: at 5 features per week (~22/mo) and average cost $0.12, annual BYOK is $32. The platform plan would cost you $240, an 8x premium.
Where the break flips:
| Your build pace | Annual BYOK | Annual platform (entry tier) | Verdict |
|---|---|---|---|
| 5 features/week | $32 | $240 | BYOK wins (saves $208) |
| 10 features/week | $63 | $240 | BYOK wins (saves $177) |
| 20 features/week | $125 | $240 | BYOK wins (saves $115) |
| 40 features/week (full-time) | $250 | $240, if it fits the cap | Roughly even, if it fits |
| 80 features/week (team) | $500 | $240 per seat, if it fits the cap | Depends on the cap |
The platform column assumes your usage fits inside a $20/mo entry tier's allowance. Every plan in the table above is capped, so that assumption gets shakier the further down the table you go: past the cap you buy more credits or move to a heavy tier, which runs $1,000 to $2,400 a year.
The takeaway: for solo builders shipping at solo-builder pace, BYOK wins by 4-8x. At full-time pace it depends on the cap. If your volume fits the entry tier, flat-rate is roughly even and buys you not watching a meter. If it pushes you onto a heavy tier, BYOK is cheaper again.
That's the inverse of how platform pricing pages read. They read as built for the heavy user; the math says light users are the ones overpaying.
What gets left out of the math
Three things complicate the simple "$120 vs $240" comparison.
1. Subscription bundles you already pay for. If you have ChatGPT Plus ($20/mo) and the agent platform supports signing in with it, your AI cost might be zero on top of what you're already paying: on VibeKit, a ChatGPT sign-in runs on your subscription's included Codex usage. In this case BYOK isn't $120/yr; it's $0/yr for AI, and you only pay the existing $20/mo subscription which you'd be paying anyway. A Claude Pro or Max sign-in works too, but it is not free on top: Anthropic bills third-party use of it to your plan's prepaid extra usage, so count it like a key.
This single factor flips the math for anyone already on ChatGPT Plus or Pro. The breakeven moves from "5 features/day" to "you'd literally never hit a flat-rate plan's value."
2. Hidden platform costs. Most flat-rate platforms also charge for hosting, databases, custom domains, and "team features." A $20/mo plan often expands to $50-80/mo by the time you need anything real. BYOK platforms tend to charge for these separately and predictably (or include them in the free tier).
3. Cost of "platform lock-in." Hard to put a dollar figure on, but real. If your code lives only inside a platform's sandbox, leaving means rewriting everything. If your code lives in a real GitHub repo (which BYOK platforms tend to give you), leaving costs nothing.
When platform-paid actually wins
I want to be honest about the cases where flat-rate is the right answer, because those exist:
1. You ship constantly and don't want to think about it. If you're a full-time AI-coding user shipping 50+ features per week, the cognitive cost of watching token burn can outweigh the savings. A flat monthly price and "stop thinking about cost" is genuinely worth it, as long as the tier you pick actually covers your volume.
2. Your team is bigger than 1. Per-seat token economics get expensive fast when you have 5 people each running their own agents. Platform plans with per-seat pricing make this predictable in a way that BYOK doesn't, especially when you have to reconcile shared OpenRouter accounts at end of month.
3. Your client wants a single invoice. If you're billing this through a customer or employer, "I expensed Lovable Pro for $25" is cleaner accounting than "I expensed $32.47 of Anthropic API tokens this month."
4. You don't want to manage a third-party account. Some users just don't want to maintain an Anthropic console account, watch the spend, and rotate keys. That's reasonable; flat-rate trades money for not-thinking-about-it.
The first one is the strongest. If you're shipping all day every day with AI as your daily driver, a flat plan sized to your volume can be the better deal. "BYOK is always cheaper" is wrong at high usage; so is "flat-rate is always cheaper", because every flat plan has a cap.
What I optimized for in VibeKit
I'm biased: I built VibeKit around BYOK. But the bias is rooted in this exact math: most users (solo builders, side projects, weekend hackers) ship 10-50 features per month, not 200+. For that population, flat-rate is a 3-8x markup on what they actually use. With your own Anthropic or OpenAI key, or a Claude or ChatGPT sign-in, your AI bill goes straight to the provider on any plan: no markup, no middleman.
Where VibeKit does charge is the platform: hosting, a persistent agent per workspace, always-on apps, custom domains. Free is $0. Builder is $24.99/mo with $20 of AI credit included every month, and Pro is $49.99/mo with $25. If you'd rather not bring a key, AI runs on credits at OpenRouter's price plus 20%; that markup is where we make money on AI, and BYOK skips it entirely. There's also a pool of free models that costs $0.
You can read more on /byok-ai-agent about the implementation. The pricing page at /pricing has the actual numbers.
How to decide for yourself
Three questions:
- How many features per week do you realistically ship? Be honest. If you don't know, count the merge commits in your last 4 weeks.
- Do you already have a ChatGPT Plus or Pro subscription? If yes, BYOK through that sign-in is essentially free. (A Claude sign-in bills to Anthropic's extra usage, so it costs like a key.)
- How much does mental overhead cost you? If watching a token meter stresses you out, that's a real cost; flat-rate buys you not-thinking-about-it.
If you ship under 20 features/week and either already have a ChatGPT subscription or are willing to spend ~$10/mo on tokens, BYOK wins by a wide margin. If you ship 50+/week, are billing through a company and your volume fits a plan's cap, flat-rate is fine and saves you a few hours of reconciliation.
If you're somewhere in the middle (20-50/week, no AI subscription), the answer is "either is fine." Pick based on which platform you actually like building on, because the cost difference at that volume is in the noise.
The deeper point: you can do this math. Platform pricing is opaque, and opacity works because most people don't bother running the numbers. If you're spending money on a category, even small money, run the math. Sometimes the cheap-looking option is the expensive one.
Next: what "AI agent" actually means, and which popular tools that call themselves agents actually qualify under any rigorous definition. (Spoiler: fewer than the marketing suggests.)
Use VibeKit free with BYOK if you want to test this math against your own usage. Or follow @609.sol on X for new posts.