Get your API key

Lesson 1 of 5

Tokens in rupees

What a token costs, why input, output and cached input have different prices, and why an agent mostly pays for input.

8 min Free
One step at a time, like flipping pages.

By the end of this lesson you will turn any AI request into rupees, step by step, and you will know why a coding agent spends most of your money on input.

You need: a calculator (your phone is fine) and, if you have one, any coding agent you already use · Time: 8 minutes

  1. You met tokens in What an AI agent does: the AI reads and writes text in small pieces called tokens. Now we put a price tag on them.

    How many tokens is normal text? Roughly:

    • A page of English (about 500 words, around 3,000 characters): DeepSeek's own rule of thumb is about 0.3 token per English character, so about 900 tokens. The other common rule (one token is about three-quarters of a word) gives about 670. Plan with 700 to 900 tokens per page.
    • A page of Hinglish in Roman script: same letters, but words like "dikhayenge" or "karwaana" are rarer, so the model cuts them into more pieces. Expect more tokens than an English page of the same length. The exact number depends on the model; the usage numbers your provider shows are the real count.
    • Code: a 200-line file is roughly 2,000 tokens.

    Prices are written per 1 million tokens (1M). That is about a thousand pages of English, so one page costs a tiny fraction of a rupee. The money comes from volume: agents move hundreds of thousands of tokens for one task.

    Why?

    You can't control a bill you can't read. Once "tokens" means "money" to you, long chats and big pasted logs start to look expensive, because they are.