Cloud, AI & App Store Unit-Economics Index
Source-verified pricing calculators and production debugging runbooks. Jump straight to an error code, quota limit, or break-even model:
Cost & Quota Simulators (5)
Verification methodology →| Simulator | Stack | Verified | Open |
|---|---|---|---|
| LLM API & Prompt Caching Calculator Compare monthly OpenAI GPT-5, Anthropic Claude 5.5, and Google Gemini 3.1/2.5 API bills with real prompt caching hit rates, cache write fees, multi-turn context growth, and 50% Batch discounts. | LLM API | 2026-12-04 | Simulate → |
| Cloudflare Workers, D1 & R2 Calculator Calculate exact Cloudflare Workers Paid ($5/mo) vs Free limits across request volume, CPU milliseconds, D1 SQLite rows_read / rows_written, R2 Class A/B ops, and AWS S3 egress savings. | Cloudflare Edge | 2026-12-04 | Simulate → |
| Supabase vs Firebase vs Neon Calculator Model monthly database, Auth MAU, document read/write amplification, compute instance upgrades, and 250 GB egress overages across Supabase Pro, Firebase Firestore Blaze, and Neon. | BaaS & DB | 2026-12-04 | Simulate → |
| App Store, Play & AdMob Payout Calculator Calculate real mobile developer bank payouts after regional VAT/GST pre-deductions, 15%/30% store commissions, FX spreads, AdMob Banner/Interstitial/Rewarded eCPMs, and Remove-Ads IAP conversion. | Mobile & AdMob | 2026-12-04 | Simulate → |
| Vercel vs Cloudflare vs VPS TCO Calculator Compare true monthly web infrastructure TCO including Vercel Pro team seats, Fast Origin Transfer, Next.js Image Optimization, Fluid Compute, Cloudflare Workers Static Assets, VPS, and GitHub Actions macOS/Linux build minutes. | Hosting & CI/CD | 2026-12-04 | Simulate → |
Production Troubleshooting Runbooks (15)
Full index →AI & LLM API Costs
Companion calculator →- Fix HTTP 429 LLM Rate Limits: TPM vs RPM in OpenAI, Claude & Gemini
Resolve HTTP 429 rate_limit_exceeded and RESOURCE_EXHAUSTED errors across OpenAI, Anthropic, and Gemini with header-aware token buckets and jitter.
- Stop LLM JSON Truncation Retry Loops: max_tokens & Reasoning Traps
Fix finish_reason: length, stop_reason: max_tokens, and MAX_TOKENS JSON parse retry loops when reasoning tokens starve structured output budgets.
- Fix LLM Prompt Caching Misses: 90% Hit Rates on OpenAI, Claude & Gemini
Eliminate cached_tokens: 0 and cache_read_input_tokens: 0 bugs caused by JSON key drift, dynamic timestamps, tool reordering, and min-token floors.
Cloudflare Workers, D1 & R2
Companion calculator →- Cloudflare D1 rows_read Spike Fix: Composite & Covering Indexes
Fix Cloudflare D1 rows_read spikes from full table scans: inspect meta.rows_read, add SQLite covering indexes, replace OFFSET pagination, and batch writes.
- Cloudflare Workers Error 1102 Fix: CPU Time & 128 MB Memory Limits
Fix Cloudflare Workers Error 1102 (Worker exceeded resource limits): separate 10ms/30s CPU caps from 128 MB V8 OOMs with limits.cpu_ms and streaming.
- Next.js Static Export on Cloudflare Workers: Fix Trailing Slash 404s
Fix Next.js output: 'export' trailing slash 404s and 308 redirect loops on Cloudflare Workers Static Assets with wrangler.jsonc and zero-bill routing.
Supabase, Firebase & Postgres
Companion calculator →- Firestore Unexpected Read Spike: Fix onSnapshot Loops & Bills
Stop runaway Firestore Blaze bills ($0.06/100k multi-region reads). Fix unbounded onSnapshot queries, React useEffect loops, and Security Rules get().
- Supabase Egress Overage Fix: Smart CDN, PostgREST & R2 Offload
Cut Supabase Pro $0.09/GB uncached egress bills past 250 GB. Audit heavy PostgREST select('*') queries, fix Storage cacheControl, and offload video to R2.
- Supabase Max Client Connections Fix: Supavisor, Prisma & Edge
Fix FATAL: MaxClientsInSessionMode and 42P05 prepared statement errors on Vercel and Workers using Supavisor port 6543 with Prisma and Drizzle.
App Store, Play & AdMob Economics
Companion calculator →- Fix AdMob Ad Serving Limits on New Apps: UMP, Test IDs & app-ads.txt
Fix AdMob ad serving limits on new iOS and Android apps: gate SDK init on UMP canRequestAds, isolate test IDs, stop banner CLS, and verify app-ads.txt.
- Why App Store & Google Play Payouts Trail Gross Sales: VAT, W-8BEN & FX
Trace why a $9.99 or $2.99 IAP nets $6.65 or less after pre-split EU/UK/KR/JP VAT, 15%/30% store fees, expired W-8BEN 30% withholding, and 2% FX spreads.
- Fix StoreKit 2 & Play Billing v8 Restore Purchases & 3-Day Refund Bugs
Stop Guideline 3.1.1 rejections and Play Billing v8 3-day auto-refunds using AppStore.sync(), acknowledgePurchase, and offline-safe IAP caching.
Web Hosting, Vercel & CI/CD TCO
Companion calculator →- AI Crawlers & Bot Traffic: Cut Serverless Bills Without Hurting SEO
Stop scrapers from spiking Vercel Fluid Compute and Worker bills while keeping Googlebot, GPTBot, ClaudeBot, and PerplexityBot indexing at $0 CDN egress.
- GitHub Actions macOS Runner Minutes Burn: iOS Cache & Gate Fix
Stop burning 10x GitHub Actions macOS runner minutes ($0.08/min). Gate iOS builds behind Linux checks, cache SwiftPM safely, and skip DerivedData bloat.
- Next.js Image Optimization Bill Spike: Cloudflare Loader & Sharp Fix
Stop runaway /_next/image transformation and Fast Origin Transfer bills on Vercel Pro ($0.06/1k) using Next.js 16 qualities, sharp WebP, or Cloudflare.