Stack Cost AI

Applicationsprofessional stack.

For each requirement below, pick the option that fits your build — recommended first, then free and cheaper alternatives — or skip what your project doesn't need. Tap the info icon next to any requirement to see why it matters.

Web Hosting / Frontend Deployment

Pricing & free-tier limitsFree: Vercel Hobby 100GB BW, 6000 exec hrs; Cloudflare Pages unlimited free. Paid: Vercel Pro $20/seat/mo + $40/100GB BW overage, $20/1000 GB-hrs overage. Amplify $0.15/GB served + $0.30/build min. 2026 Pro ~$20-25/mo

Primary Database (Postgres - User Data)

Pricing & free-tier limitsSupabase Free: 500MB DB, 50k MAU, 2GB egress, 50MB file. Pro: $25/mo incl 8GB DB, 100k MAU, 250GB egress, 100GB file. Overage: $0.125/GB DB, $0.09/GB egress, $0.021/GB file. Neon Free 0.5GB, paid $19/mo 10GB. RDS db.t3.medium ~$60/mo + storage $0.115/GB

Authentication (User Auth + SSO)

Pricing & free-tier limitsClerk Free: 10k MAU, 10 orgs. Pro: $25/mo base + $0.02/MAU over 10k, SSO $100/mo add-on B2B. Auth0 Free 25k MAU, B2C Pro $35/mo + $0.07/MAU 1k-10k, Enterprise SSO $0.10/MAU. Auth.js free self-host + DB cost.

File Storage (User Uploads / Assets)

Pricing & free-tier limitsR2 Free: 10GB storage, 10M Class A ops, 10M Class B, $0 egress. Paid: $15/mo base? Actually $0.015/GB-mo storage, $4.50/M Class A, $0.36/M Class B, $0 egress. S3: $0.023/GB-mo storage, $0.09/GB egress, $0.005/1k PUT, $0.0004/1k GET. Supabase Free 1GB, Pro 100GB incl $0.021/GB overage

Vector Database (RAG - User Docs)

Pricing & free-tier limitsPinecone Free: Starter $0 - 100k vectors (~400MB), 1 index. Serverless: $0 base, min $70/mo effective - $0.08/GB stored, $0.20/1M reads, $2/1M writes. Qdrant Free: 1GB RAM, 100k vectors, 1 cluster. Paid: $28/mo 2GB RAM cluster. Supabase pgvector free within DB. Weaviate Serverless free 1M vectors 14d, paid $25/mo + $0.09/1k queries

LLM API Gateway / Router (Multi-provider failover)

Pricing & free-tier limitsLiteLLM self-host free - only VM cost $10-20/mo. OpenRouter no sub: GPT-4o $2.50/1M in $10/1M out (via OR), Claude 3.5 Sonnet $3/1M in $15/1M out, 5% markup. Portkey Free 10k req/mo, Pro $199/mo 1M req incl + $0.0001/req overage, cache saves 60%. Bedrock $0 per gateway + model fees

LLM Inference Provider - Chat (Core)

Pricing & free-tier limits2026 pricing: OpenAI gpt-4o $2.50/1M input $10/1M output; gpt-4o-mini $0.15/1M in $0.60/1M out; o1 $15/1M in $60/1M out. Anthropic Claude 3.5 Sonnet $3/1M in $15/1M out, Haiku $0.25/1M in $1.25/1M out. Groq free: 14.4k req/day Llama 3.1 8B @ 1000 tok/sec. Together $0.18/1M Llama 8B. $5 trial credits each. Overage = token usage

Inference Caching (Redis Prompt/Response Cache)

Pricing & free-tier limitsUpstash Free: 500k commands/mo, 256MB max, 1k req/day limit, 20 conn. Pro: $10/mo 100k cmds/day, 10GB, $0.20/100k cmds overage. Redis Cloud Free 30MB. ElastiCache Serverless: $0.125/GB-hr storage + $0.34/1M ECPUs (Redis). Cache hit saves 80% LLM cost, avg 40% hit rate for AI app

Background Jobs & AI Task Queue (Async generations)

Pricing & free-tier limitsInngest Free: 50k steps/mo, 100 concurrency, 10k events. Pro $20/mo incl 250k steps + $0.00008/step overage ($80/1M steps). Trigger.dev Free 10k runs/mo, Pro $29/mo 25k runs + $0.0006/run overage. BullMQ self-host free + Upstash Redis $10/mo

Secrets Management

Pricing & free-tier limitsInfisical Free: 5 projects, unlimited secrets self-host, Cloud Starter $19/mo 15 projects, 3 envs. Doppler Free: 25 secrets, 1 project, Team $12/user/mo unlimited. Vault HCP: $0.03/hr (~$21.90/mo) cluster + $0.05/1k API ops, free tier 25 secrets dev

CI/CD & Git Hosting

Pricing & free-tier limitsGitHub Free: 2000 min/mo Linux x64 (500MB cache), 500MB Packages. Team $4/user/mo 3000 mins + $0.008/min Linux overage, $0.08/min macOS. CircleCI free 6000 credits/wk, Pro $15/mo 30k credits. Vercel builds included in Pro plan

Object Storage CDN / Asset Delivery

Pricing & free-tier limitsCloudflare Free CDN: unlimited BW, 5 WAF rules. R2 Free 10GB storage + 10M ops. Paid: R2 $0.015/GB-mo + $4.50/1M Class A. CloudFront: $0.085/GB first 10TB + $0.01/10k req + $0.02/10k HTTPS. Savings 100% egress vs S3 for AI images

Product Analytics (Behavior + LLM Usage)

Pricing & free-tier limitsPostHog Free: 1M events/mo, 5k session replays, 1M feature flag req. Paid: $0 + $0.000248/event after 1M ($248/1M events volume down to $0.000075). Self-host free + $20 VM. Mixpanel Free 1M events, Growth from $28/mo. Plausible $9/mo 10k pageviews

Primary Monitoring & Error Tracking

Pricing & free-tier limitsSentry Free: 5k errors/mo, 10k replays, 1M spans. Team $26/mo 50k errors incl + $0.00029/error overage, 100k replays + $0.00036/replay. Business $80/mo 500k errors. GlitchTip self-host free ~$10/mo VPS. Datadog APM $31/host/mo + $1.70/1M spans

LLM Observability (Langfuse / Helicone)

Pricing & free-tier limitsLangfuse OSS free self-host ~$20/mo VM. Cloud Hobby Free: 50k traces/mo, 1k evals. Pro: $39/mo 500k traces, 10k evals, $0.00006/trace overage ($60/1M). Helicone Free 100k req/mo, Pro $20/mo 500k + $0.00005/req. LangSmith Plus $39/mo 10k traces $0.50/1k overage. Critical for token cost tracking

Pricing & free-tier limitsTypesense Cloud Free: 1 cluster 0.5GB RAM, 5k docs. $19/mo 2GB RAM 100k docs + $0.20/100k searches overage. Meilisearch OSS free self-host ~$10/mo VM. Algolia Free 10k search req/mo 10k records, Build $0.50/1k req + $0.40/1k records/mo after, Growth $150/mo incl 100k req

Email API (Transactional, Invites)

Pricing & free-tier limitsResend Free: 3k/mo, 1 domain, 1 day log. Pro $20/mo 50k incl + $0.0004/email overage ($0.40/1k). SES: $0.10/1k emails + $0.12/GB attachments, free tier 3k/mo if EC2. SendGrid Free 100/day, Essentials $19.95/mo 50k + $0.45/1k over. Postmark $15/mo 10k

Billing / Usage-based Metering (AI Credits)

Pricing & free-tier limitsStripe Billing: 0.5% of recurring volume (capped), usage-based metering free: 1000s of meter events free. Polar free: 4% + Stripe fees (0.7% + 30c). LemonSqueezy 5% + 50c. In test: free unlimited. Paid: Metered billing $0 cost but Stripe fees 2.9% + 30c per charge. Metronome Enterprise $2000/mo+ for complex AI credits

API Gateway + Rate Limiting (Per-user AI quotas)

Pricing & free-tier limitsCloudflare Workers Free: 100k req/day, 10ms CPU. Paid: $5/mo 10M req incl + $0.30/1M overage, $0.15/1M rate limit rules evaluations. Kong OSS free, Cloud $6/gateway/mo + $250/1M API calls. AWS API GW HTTP: $1/1M req + $3.50/1M REST, $0.09/GB. Critical to prevent LLM cost abuse: per-user 100 req/min

Inference Hosting (Serverless GPU - Custom Models)

Pricing & free-tier limitsModal Free: $30/mo credits, A10G $0.000725/sec ($2.61/hr), A100 40GB $0.00079/sec ($2.84/hr), H100 $0.00098/sec ($3.53/hr) + keep-alive $0.000018/sec. Replicate: SDXL $0.0023/sec (~$0.05/image), Llama 3.1 405B $9.50/1M tokens, Llama 8B $0.05/1M tokens. Free $5 credits. Anyscale: $1/hr/replica + $0.25/1M tokens Llama 8B, $2/1M 70B. RunPod serverless $0.00045/sec A100

Webhooks Infrastructure (AI event delivery)

Pricing & free-tier limitsSvix Free: 50 msg/day, 5 endpoints, 7-day retention. Growth $34/mo 10k msgs incl + $0.00025/msg overage ($0.25/1k). Business $94/mo 100k. Hookdeck Free: 3k attempts/mo, 1 connection, Pro $39/mo 50k + $19/10k over. Self-host OSS free

Bot Protection / Abuse Prevention

Pricing & free-tier limitsTurnstile Free: unlimited validations, 1M evals, widget + invisible. Arcjet Free 5k req/mo, Pro $20/mo 100k incl + $0.0002/req over, $20/100k bot detections. reCAPTCHA v3 free 10k assessments/mo, $1/1k over. DataDome from $2k/mo. Essential for AI app - stops prompt spam that costs $1000s

Feature Flags & Model A/B Testing

Pricing & free-tier limitsGrowthBook Cloud Free: 20k tracked users/mo, unlimited flags, self-host free unlimited. Pro $20/mo 100k tracked users + $0.0001/user over. Flagsmith Free 50k req/mo, $55/mo 500k. LaunchDarkly Free 1k MAU, Startup $20/mo 1k MAU + $8.33/seat/mo, $0.01/MAU over 1k. Used for routing 5% traffic to new model

Customer Support / Helpdesk

Pricing & free-tier limitsCrisp Free: 2 seats, 100 contacts, 90-day history. Pro $25/mo/workspace + $25/agent/mo, $95/agent bundle unlimited. Intercom Free 14d trial, Starter $29/seat/mo + $0.99/1k tracked users, Fin AI bot $0.99/resolution, 50 free. Zendesk Team $19/seat/mo 1k tkts. Essential for AI hallucination support

Staging / Preview Environments

Pricing & free-tier limitsVercel Free: 1 concurrent preview, 6000 exec hrs/mo shared. Pro: $20/seat unlimited concurrent previews, $40/100GB BW over. Railway Hobby $5/mo credit + $0.000463/vCPU-min ($0.027/hr) + $0.000231/GB-min + network $0.05/GB. Render Free 750 hrs/mo instance + Postgres free 90d. Fly preview env ~$10/mo

Uptime Monitoring & Status Page

Pricing & free-tier limitsUptimeRobot Free: 50 monitors, 5-min interval, 5 status pages. Better Stack Free: 10 monitors 3-min, 1 status page. Pro $24/mo 40 monitors 30-sec, unlimited status pages, on-call. $0.012/check over 1M. Checkly Hobby $29/mo 10k checks, $0.0015/extra check. Status page free incl 100 subscribers

Pricing & free-tier limitsCookieYes Free: 15k pageviews/mo, 1 domain, banner. Premium $8.33/mo 1.5M pageviews. Cookiebot Free 50 pages, Premium from €19/mo 500 pages. OneTrust Growth $200/mo 10k pageviews. Transcend Free dev, Starter $500/mo 5k DSR, $2/ extra DSR. GDPR fines prevention must-have for AI training opt-out

GPU Compute - Fine-tuning / Training (A100/H100)

Pricing & free-tier limitsLambda On-demand: A10 24GB $0.75/hr, A100 40GB $1.10/hr on-demand $0.82/hr 1yr reserved, H100 80GB $2.49/hr on-demand $1.99 reserved. RunPod Secure: A100 $1.19/hr, Community $0.55/hr; H100 $2.39/hr Secure $1.59/hr Community. Vast.ai A100 $0.79/hr avg, H100 $2.09/hr. Kaggle free 30h T4/wk, 2x P100. Colab Free T4 limited ~10hrs, Pro $9.99/mo 100 units (~50 T4-hrs), Pro+ $49.99/mo. Fine-tune 7B model ~20hrs A100 = $22

Model Registry & Versioning

Pricing & free-tier limitsHF Free: unlimited public repos, 1 private, 100GB storage. Pro $24/mo: 100 private models, 200GB storage, ZeroGPU $0.60/hr, Inference $0.60/hr. Team $20/seat/mo private org. Enterprise from $20k/yr + SSO + audit. MLflow OSS free self-host $10/mo VM + S3 $20. W&B Artifacts free 100GB, Team $25/user/mo 200GB/user. Model storage overage $5/100GB

Training Experiment Tracking (W&B, MLflow)

Pricing & free-tier limitsW&B Free: 1 user, 100GB storage, 100 tracked hrs/wk, 10GB dataset. Team $25/user/mo 100GB/user, unlimited hrs, $10/10GB overage. MLflow OSS free self-host $15-30/mo VM + PostgreSQL. DagsHub free 10GB storage + 10GB bandwidth, Pro $9/user/mo. Comet Free 30 days + 100 hrs tracking. For tracking fine-tune hyperparams cost ~$25/mo small

Options and prices come straight from our research sheets for a professional applications project. Prices are estimates and change often — always confirm on the provider's page before committing.

How this professional applications checklist works.

Each requirement below is something a professional applications build typically needs. Pick one of the four researched options — recommended, free, cheaper or paid — add your own with "Other", or skip the requirement if your project doesn't need it. Nothing is mandatory; the plan on the right tracks what you've decided so nothing gets forgotten.

Your picks are saved in this browser automatically, so you can come back anytime. Options are researched per build level and refreshed as vendors change their plans — always verify details on the provider's page before committing.