Get your API key

Beginner · 5 lessons · 38 min

Control your AI costs

Know what a prompt costs in rupees, pick the right model for each job, and never get a surprise bill.

Who it's for

Anyone who pays for AI coding: students, freelancers and small teams who build with Claude Code, Codex, OpenCode or any agent, on any provider.

What you'll build

A cost-estimate sheet for one real project and a separate API key with a monthly spend limit that matches it.

Why this course

AI usage limits and bills confuse even experienced developers. Cursor publicly apologised and refunded unexpected charges after its June 2025 pricing change, and Claude Code users have filed GitHub issues with dozens of reports of limits running out with no clear reason. Most beginners don't know that an agent re-sends the whole conversation on every request.

Take first: Prompting for AI coding

Lessons in this course

  1. 1Tokens in rupeesWhat a token costs, why input, output and cached input have different prices, and why an agent mostly pays for input. 8 min Free
  2. 2The right model for each taskFlash models for small jobs, strong models for planning and hard bugs, and DeepSeek's peak hours in IST. 7 min Log in to open
  3. 3Keep the context smallOne task per chat, /clear and /compact, only the files you need, short logs, and how caching cuts the bill. 8 min Log in to open
  4. 4Read your usage, cap your spendOne key per project with a monthly limit, reading usage by model and by key, and finding the costly requests. 7 min Log in to open
  5. 5Estimate a project, then choose a planA worksheet (features × prompts × requests × tokens × rate, plus 50%), then a monthly plan or pay-as-you-go. 8 min Log in to open