◉ANTIGRAVITY LABJP
Articles/App Development
▣ App Development/2026-05-03Intermediate

Launching an Indie SaaS on Antigravity — A 2026 Monetization Roadmap

Five decisions that take an agent-driven indie SaaS from 'it runs' to 'it can charge': use case, a back-of-envelope cost estimate, pricing model, concurrency limits, and retention. The numbers are placeholders, and I show how to swap in your own.

Antigravity426Monetization7Indie Dev5SaaS10Agentic IDE

There was a night I sat in front of a spreadsheet with one cell I couldn't fill. The agent was running and returning results faster than I'd expected. But next to "monthly price," I had nothing.

Shipping faster and being able to charge turned out to be two different problems. This roadmap is the order I followed to fill in that cell. The Stripe and Cloudflare Workers wiring lives in the implementation guide; here I'll stick to design decisions and pricing logic.

First, a note on order

I started with billing. The Stripe screens came together early and the pricing table went up before anything else. It didn't go well: I had put price tags on something without knowing what one run cost, and when I finally did the math, I had to redo the tags.

These days I go in this order:

  1. Pick the use case — somewhere the agent working through multiple steps on its own is the value
  2. Estimate cost per run — tokens consumed in one execution
  3. Choose a pricing model — flat, per-task, or credits
  4. Billing and access control — where the concurrency cap gets set
  5. Retention — turn accumulated results into a reason to stay

Agent workloads vary a lot in token use from run to run, so skipping step 2 means you notice a loss late.

Phase 1: Choose where the agent running is the product

An agent-driven environment like Antigravity seems to fit SaaS where one instruction sets off several steps. A thin wrapper around a single API, or an app that is mostly front-end polish, can be built just as well with other tools — it's hard to differentiate on those.

Some places where the agent's autonomy is the value:

  • Competitive research — give a keyword, get a table compiled from several sites
  • Article groundwork — from a topic to research, outline, and first draft
  • Support triage — classify email, draft a reply, query a DB if needed
  • Recurring reports — pull numbers from several SaaS tools and send a monthly summary

What they share: a multi-step task that takes a person hours gets compressed into a short run. That compression is what your price will rest on later.

Phase 2: Estimate cost with placeholder numbers

Let's run one estimate. This is a placeholder example for a competitive-research service, not a measurement.

  • Understand the instruction — 2,000 in + 500 out tokens
  • Generate search queries — 500 in + 500 out
  • Summarize five result pages — 10,000 × 5 in + 1,000 × 5 out
  • Aggregate and write the report — 15,000 in + 3,000 out

Total: 67,500 input and 9,000 output tokens. Assume $3 per million input tokens, $15 per million output, and ¥150 to the dollar:

Input:  67,500 × $3  / 1,000,000 = $0.2025
Output:  9,000 × $15 / 1,000,000 = $0.135
Total:  $0.3375 ≈ ¥51 per run

A user running 10 times a month costs about ¥510. Sell at ¥1,500 and gross profit is about ¥990, roughly a 66% margin.

Prices and exchange rates move. Check the current per-token price for the model you actually use and swap those numbers into the same formula.

How much does a lighter model on the summaries save?

I used to write, in broad strokes, that moving internal summaries to a lighter model cuts cost to a third. When I recomputed it properly, that turned out to be an overstatement.

In the example above, the summarization step is 50,000 in and 5,000 out, about $0.225 of the total. Moving just that step to a model at one-third the price brings it to $0.075 and the total to about $0.19. That's roughly a 44% reduction, not a two-thirds one, because the aggregation and report step stays heavy.

Still, nearly half is a big saving, and splitting models by step is worth it. I just check on my own data that summary quality holds up before switching.

Re-run the numbers on a messy run, not the average one

The estimate so far assumes the agent finishes in one pass. In practice some runs hit thin search results and redo the summaries, or produce a malformed report and regenerate it.

So take the same example and let the summary stage run twice. The summary stage costs about $0.225, which makes one run $0.3375 + $0.225 = $0.5625, or roughly ¥84 at ¥150 per dollar.

ScenarioCost per runCost at 10 runs/monthGross margin at ¥1,500/month
Finishes in one passabout ¥51about ¥510about 66%
Summaries redone onceabout ¥84about ¥840about 44%

Not every run will be a retry, but a margin that can swing from 66% to 44% is worth keeping in view. I set the run cap and the overage price (¥300 per extra run in the example above) so that even the messy run stays out of the red.

Payment processing fees are not in this table. Check the rate on Stripe's pricing page and subtract it from the gross margin.

Phase 3: Pick a pricing model

Three work in practice for agent-driven products.

Flat monthly with a run cap is the one I find easiest to live with. Something like "¥1,500 a month covers 10 runs; extra runs ¥300 each." It absorbs your cost and doubles as insurance against heavy users.

Per-run pricing brings in people who don't want a subscription. A one-time Stripe Checkout payment keeps the implementation light.

Credits suit products where light and heavy jobs are mixed: "10 credits for a light job, 100 for a heavy one" lets each job's cost show up in its price.

At launch I like to offer monthly and per-run side by side — the first builds a base, the second keeps a door open for people who just want to try it.

Phase 4: Billing and access control — cap concurrency

I'll leave the wiring to the implementation guide, but one thing is worth deciding at design time: how many runs one user can have in flight.

If a single user fires five in parallel, external API calls pile up and errors tend to cascade. I count running tasks per user in KV:

// Simplified concurrency cap (production also needs a decrement on completion and failure)
const runningKey = `running:${email}`;
const running = parseInt((await env.KV.get(runningKey)) ?? '0', 10);
if (running >= 3) {
  return Response.json({ error: 'too_many_concurrent_tasks' }, { status: 429 });
}
await env.KV.put(runningKey, String(running + 1), { expirationTtl: 600 });

This fragment shows only the increment. You must also decrement on completion and on failure; if you forget, that user keeps hitting the cap until the TTL expires.

KV also doesn't make read-then-write a single operation, so near-simultaneous requests can slip slightly past the limit. If the cap must be strict, I'd consider a single coordinator such as a Durable Object.

Phase 5: Make accumulated results a reason to stay

What the agent produces is also a record of value delivered. Designing so users can keep it close gives them a reason to continue.

  • A dashboard listing past runs
  • Searchable history — cancelling means giving up the archive
  • Scheduled runs — "every Monday morning"
  • Diff-from-last notices — "since your last run, competitor A added a feature"

None of these is technically heavy, yet my impression is they do more for continuation than shipping another feature. That's a feel from my own operations, though, not something I've backed with numbers.

One next step

Pick one task your SaaS replaces and put time and money on it.

If it was ten hours of manual work a month and you value an hour at ¥5,000, that's ¥50,000 of value. Asking for ¥1,500 of it gives the price tag a reason.

A price pays for time saved, not for features shipped. I come back to that sentence before I put any number on a page.

The build steps are in the implementation guide. I'd suggest carrying this spreadsheet with you when you go there.

Share

Thank You for Reading

Antigravity Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

If you found this article helpful, a small tip ($1.50) would mean a lot to us. Your support helps keep this site ad-free and covers server and hosting costs.

Related Articles

▣ App Dev2026-05-21
Tuning AdMob Placements at Runtime with Firebase Remote Config and an Antigravity Agent
A practical look at how I combine Firebase Remote Config with an Antigravity Agent to nudge AdMob placements while the app is live, drawn from years of running wallpaper apps as an indie developer.
▣ App Dev2026-11-24
Two Times Inlining CSS Made FCP Slower, and How I Now Decide Per Site Whether to Inline
I inlined CSS into the HTML to clear PageSpeed Insights' render-blocking warning, and FCP got almost a second slower. The font preload had been pushed down to byte 28,672 of the head. Even after fixing the placement, the same change made a second site with 88KB of CSS slower, and I rolled it back. Here is a script that counts byte offsets inside the head, an inliner with a size cap, and the pattern I use on the larger site instead.
▣ App Dev2026-11-23
From December 1, Someone Else Answers gemini-2.5-flash: Find Every Place You Hard-Coded the Name First
On December 1 the Gemini API starts routing gemini-2.5-pro to gemini-3.8-flash and gemini-2.5-flash to gemini-3.5-flash-lite, billed at the new models' rates. Nothing errors, so it is easy to miss. Here is a script that finds model names across code, config and MCP settings, plus a way to log modelVersion so you can see the switch yourself.