Learn AI · Guides
AI Stack for Solo Devs ($50/mo)
A curated, link-heavy tool stack for one-person builders — coding agent, API access, automation, hosting, and observability under $50/month.
Key takeaways
- 1Pick ONE coding agent — Cursor ($20/mo) or Claude Code ($20/mo via Max). Don't pay for both unless you're evaluating.
- 2API spend is separate from subscriptions — budget $10–20/mo for Haiku/Mini on production features, Sonnet only when quality matters.
- 3n8n self-hosted is free and handles 90% of solo automation — webhooks, cron, LLM calls, Slack notifications.
- 4Fly.io or Railway free tiers cover most side projects. Upgrade when you have paying users, not before.
- 5Skip tools you don't use weekly. A $50 stack you actually use beats a $200 stack you forget about.
The $50/mo stack
A curated bundle for one-person builders who need to ship AI features without enterprise budgets. Every tool below is linked — click through to our guides where they exist.
| Layer | Tool | Cost | Guide |
|---|---|---|---|
| Coding agent | Cursor or Claude Code | $20/mo | Comparison |
| API access | Anthropic (Haiku + Sonnet) or OpenAI (Mini + GPT) | $10–20/mo | Cheapest APIs |
| Automation | n8n self-hosted | $0 | n8n vs Zapier |
| Database | Supabase free tier | $0 | — |
| Hosting | Fly.io or Railway free tier | $0 | — |
| Observability | Langfuse self-hosted | $0 | LLM Cost Optimization |
| Docs / notes | Notion free or Obsidian | $0 | — |
| Total | ~$30–40/mo + API usage |
Add $10–20/mo in API calls and you're at ~$50/mo total.
Layer 1 — Coding agent ($20/mo)
Pick one. This is your highest-leverage spend.
Cursor — $20/mo Pro
- IDE with inline completions, multi-file agent, and codebase indexing.
- Best for visual workflows — you see diffs, accept/reject inline.
- Strong at React, Next.js, Python, TypeScript.
- See Best AI Coding IDE for the full landscape.
Claude Code — $20/mo via Claude Max
- Terminal-first agent — longer autonomous sessions, deeper multi-file refactors.
- Best for backend work, CLI tools, and "go fix this across 15 files" tasks.
- Pairs with any editor (VS Code, Neovim, JetBrains).
- See Claude Code vs Cursor vs Codex.
Don't buy both. Try one for a month. Switch if your workflow doesn't click.
Free alternative: Continue + API key
- Open-source IDE extension. Bring your own API key.
- No agent autonomy — inline completions and chat only.
- Good if $20/mo is too much right now. You'll move slower.
Layer 2 — API access ($10–20/mo)
Your coding agent subscription covers dev-time usage. Production features (chatbot, classification, summarization) need a separate API key.
Recommended split
| Task | Model | Cost per call |
|---|---|---|
| Classification, extraction | Haiku / GPT-4o Mini | $0.001–0.01 |
| Draft generation, reasoning | Sonnet / GPT-4o | $0.02–0.10 |
| Embeddings | text-embedding-3-small | $0.0001/1K tokens |
Provider pick
- Anthropic — best for coding-adjacent features and careful reasoning. Claude Code ecosystem.
- OpenAI — broadest ecosystem, best embeddings, widest library support.
- Gemini — cheapest long-context option. Good for doc processing and slide extraction.
See Cheapest AI APIs for current pricing. See LLM Cost Optimization for keeping spend down.
Budget rule: $10/mo covers ~1,000 classification calls or ~100 draft generations. Enough for a side project with early users.
Layer 3 — Automation ($0)
n8n self-hosted
The free backbone for solo automation:
- Webhook → LLM → API write-back (support triage, content pipelines).
- Cron jobs (daily summaries, competitive monitoring).
- Slack/Discord notifications.
- 400+ integrations.
Self-host on Fly.io or Railway free tier. Docker compose, one command.
Alternative: Zapier free tier (100 tasks/mo) if you don't want to self-host. See n8n vs Zapier vs Make.
Pair with workflows like Support Ticket Triage or Meeting Notes to Actions.
Layer 4 — Database + auth ($0)
Supabase free tier
- Postgres with pgvector (for RAG).
- Auth (email, OAuth, magic links).
- Storage (file uploads for doc processing).
- Realtime subscriptions.
- Free tier: 500MB database, 1GB storage, 50K monthly active users.
Enough for a side project through first 100 paying users.
Alternative: PlanetScale (MySQL, free tier) or Neon (Postgres, free tier) if you prefer.
Layer 5 — Hosting ($0)
Fly.io free tier
- 3 shared VMs, 160GB outbound bandwidth.
- Deploy with
fly deploy— Dockerfile or buildpack. - Good for Node.js, Python, Go backends.
- Global edge deployment.
Railway free tier
- $5/mo in credits (enough for a small app).
- Git-push deploys, managed Postgres option.
- Simpler DX than Fly.io for first deploy.
Upgrade trigger: when free tier limits cause downtime or you have paying users. Not before.
Layer 6 — Observability ($0)
Langfuse self-hosted
- Trace every LLM call — prompt, response, latency, cost.
- Essential for debugging RAG retrieval and prompt regressions.
- Self-host alongside n8n on the same Fly.io app.
Alternative: Helicone (cloud free tier, 10K requests/mo) if you don't want to self-host.
See LLM Cost Optimization for why you need this from day one.
What to skip at $50/mo
| Tool | Why skip (for now) |
|---|---|
| Second coding agent | Pick Cursor OR Claude Code, not both |
| Pinecone / Weaviate | pgvector on Supabase is enough under 1M vectors |
| Zapier Pro | n8n self-hosted is free and more flexible |
| ChatGPT Plus + Claude Pro + Cursor | Triple-paying for chat. One agent + API key covers it |
| Enterprise observability | Langfuse self-hosted is sufficient for solo scale |
| Fine-tuning | Prompt engineering + RAG first. Fine-tune when you have 1,000+ examples and revenue |
See When NOT to Use AI — and When NOT to buy AI tools you don't use weekly.
Upgrade path (when revenue hits)
| Trigger | Upgrade | New cost |
|---|---|---|
| Daily agent rate limits | Cursor Pro+ or Claude Max higher tier | $40–60/mo |
| >1,000 API calls/day | Dedicated API budget line | $50–100/mo |
| Free tier hosting limits | Fly.io paid / Railway Pro | $10–20/mo |
| Need managed automation | n8n Cloud or Zapier Pro | $20–50/mo |
| Vector search at scale | Pinecone starter / Qdrant Cloud | $25–70/mo |
| First hire | Everything above + team seats | $200+/mo |
Scale tools with revenue, not ambition. A solo dev at $5K MRR can comfortably run a $100–150/mo stack.
Example monthly bill
A solo dev shipping a SaaS with AI support triage:
| Item | Cost |
|---|---|
| Cursor Pro | $20.00 |
| Anthropic API (500 triage calls + 50 drafts) | $12.00 |
| Fly.io (n8n + app + Langfuse) | $0.00 |
| Supabase | $0.00 |
| Total | $32.00 |
Add Gemini API for long-doc processing ($3/mo) and you're still under $40.
The minimal viable stack ($20/mo)
If $50 is too much right now:
- Claude Code or Cursor — $20/mo (your only paid tool).
- API key — pay-as-you-go, $5–10/mo for early usage.
- Vercel free tier — frontend hosting.
- Supabase free tier — database + auth.
- GitHub — version control, CI, free.
Everything else is free. Add n8n and Langfuse when you ship your first AI feature to production.
Follow the AI Coding Roadmap for the learning path that pairs with this stack.
Common misconceptions
The wrong-but-common takes worth correcting.
Myth
You need every AI tool to ship.
Reality
Solo devs ship with one coding agent, one API key, and a deployment target. Everything else is optimization. Start minimal, add when a workflow breaks without the tool.
Myth
Free tiers are too limited for real work.
Reality
Free tiers of Fly.io, Railway, Supabase, and self-hosted n8n cover most side projects through first paying customers. Pay when revenue justifies it.
Myth
Local models replace API costs for solo devs.
Reality
Local models (Ollama) work for experimentation and privacy-sensitive tasks. For coding agents and production features, API models are faster and better. Run local as a supplement, not a replacement.
Real-world use cases
Side project to production
Ship a SaaS MVP with AI features — chatbot, summarization, classification — on a budget that doesn't require revenue on day one.
Freelance client work
Deliver AI-powered features (support triage, doc chat, content generation) without passing enterprise tool costs to clients.
Learning and experimentation
Try agents, RAG, and automation patterns without committing to $100+/mo in subscriptions.
Indie hacker bootstrap
Keep burn rate under $50/mo until MRR covers upgrades. Scale tools with revenue, not ambition.
Frequently asked questions
Watch
Hand-picked videos from official + trusted channels. Opens in a new tab.
- CursorOfficial
Cursor for solo developers
Official channel — setup and workflow demos for the $20/mo coding agent.
- n8nOfficial
n8n self-hosted setup
Free automation backbone — webhook → LLM → API is the core solo dev pattern.
- Pieter Levels
Indie hacker AI stack discussions
Solo builders sharing real cost breakdowns and tool choices.
Related on AIKnowHub
Concept
LLM Cost Optimization
The operational playbook for cutting LLM spend without cutting quality. Model routing, caching, batching, and the metrics that actually matter.
Tool Guide
Claude Code Guide
The definitive guide to Anthropic's terminal-native AI coding agent — install, configure, MCP, hooks, skills, sub-agents, plan mode, cost, security, limitations.
Tool Guide
Cursor AI Guide
The most popular AI-native IDE. A VS Code fork with deep model integration, multi-file edits, and a strong agent loop.
Comparison
Cheapest AI APIs
Per-million-token cost comparison across providers, with notes on where the cheap models are actually good enough.
Comparison
n8n vs Zapier vs Make for AI
An honest comparison of the three dominant automation platforms for AI workflows — integrations, agent nodes, pricing, and when to pick each.
Directory
Claude Code
Terminal-native agent that reads, writes, runs, and reviews your codebase.