🎉 New User Bonus — ₹1,000 CreditsNew to TopBilling? Sign up and apply promo code LAUNCH-1000 to get ₹1,000 in credits. Start exploring premium AI services today.Learn more
Top Billing
Claude Code · India

Claude Code,
paid in rupees.

Claude Code speaks the Anthropic Messages protocol, so it runs against Top Billing with three environment variables and a Top Billing key. Every request is billed per token from prepaid INR credits.

Your terminal
export ANTHROPIC_BASE_URL=https://api.topbilling.in
export ANTHROPIC_AUTH_TOKEN=$TB_API_KEY
export ANTHROPIC_MODEL=tb-claude-fable-5

claude

Why Top Billing

01 · Three variables

No new tools.

Set ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN and ANTHROPIC_MODEL, then run claude. Or let the Top Billing CLI write them for you.

02 · See the cost

Every session, itemised.

Each Claude Code request is billed like any other API request and shows up in Usage with its session id, so you can see what a coding session cost.

03 · Local billing

UPI and a GST invoice.

Prepaid INR credits by UPI, cards or net banking. No USD card, and a tax invoice with our GSTIN after every payment.

How to start

4 steps.
A few minutes.

  1. 01

    Create an account

    Sign up free. There is no subscription and no platform fee.

  2. 02

    Add credits

    Top up from ₹100 by UPI, cards or net banking.

  3. 03

    Create a key

    Create a live API key (tb_live_…) for your project in the console.

  4. 04

    Set three variables

    Export the base URL, your key and a model ID, then start claude.

Questions

Before you
start.

More in the full FAQ.

Does Claude Code work?

Yes. Set ANTHROPIC_BASE_URL to https://api.topbilling.in, ANTHROPIC_AUTH_TOKEN to your Top Billing key and ANTHROPIC_MODEL to a model ID from the Models page. The Claude Code guide has the details.

Is there a quicker way to set up Claude Code?

Yes. Run npx @topbilling/cli claude and it writes the Claude Code settings for you. See Set up your tools.

Why is my model missing from Claude Code’s /model picker?

Claude Code’s gateway model discovery only lists IDs containing claude or anthropic, and Top Billing model IDs are neutral (tb-…). Set ANTHROPIC_MODEL to the model ID explicitly.

Can I see what a Claude Code session cost?

Yes. Every Claude Code request is billed like any other API request and shows up in Usage with its session id.

Can I use my claude.ai login with Top Billing?

No. Use a Top Billing key (tb_…). The gateway rejects credentials that are not Top Billing keys with a 401 and never forwards them.

How do I pay?

Add credits on the Billing page with UPI, cards or net banking through Cashfree, our payment gateway. Card, UPI and bank details are entered with the gateway and never reach our servers.

Do I get a GST invoice?

Yes. GST is shown before you pay, and a tax invoice carrying our GSTIN is on the Billing page after every successful payment.

Code with Claude Code.
Pay in rupees.

Create an account, add credits by UPI, create a key and point Claude Code at Top Billing in a minute.