Claude Code, paid in rupees
Claude Code in India, Paid per Use in ₹
Run Claude Code against a prepaid wallet. Top up from ₹50 by UPI, set three environment variables, and cap the key with a budget.
# Two settings change in your existing code
base_url = "https://api.aicredits.in/v1" api_key = "sk-your-aicredits-key"
- No international card needed
- Minimum ₹50 top-up
- Credits valid 1 year
What changes and what does not
You keep the same Claude Code CLI and the same Claude models. The only change is where requests are sent and who bills them: three environment variables point Claude Code at AICredits, and usage is charged in rupees.
Keep coding-agent spend in check
- Use a separate API key for Claude Code, with its own budget
- Switch to a smaller model for routine edits with ANTHROPIC_MODEL
- See every request and its rupee cost in the usage log
Claude prices in ₹ per 1M tokens
Read from the live catalog, in rupees.
| Model | Input / 1M tokens | Output / 1M tokens | Provider |
|---|---|---|---|
| Claude Opus 5.5 | ₹390.13 | ₹1,950.67 | anthropic |
| Claude Sonnet 5.5 | ₹195.07 | ₹975.34 | anthropic |
| Claude Haiku 5.5 | ₹9.75 | ₹48.77 | anthropic |
| Claude Fable 5.2 | ₹780.27 | ₹3,901.34 | anthropic |
Prices are read from the live catalog and include the 5% forex buffer and the default 5% markup. They change with the live USD/INR rate.
What you get
OpenAI-compatible
Drop-in endpoint for chat, embeddings, and images. No SDK changes needed.
Automatic failover
If a provider errors or rate-limits you, we retry on the next available route.
INR wallet
Prepaid wallet in ₹. Top up via UPI, Net Banking, or Debit Card.
Budget controls
Per-key rate limits and spend budgets. Prevent runaway costs.
Run your first request
- 1Create an account and an API keySign up with your email. Creating the account and the key is free and needs no card.
- 2Add ₹50 or morePay by UPI, net banking or a card through Razorpay. The balance shows in your wallet in rupees.
- 3Copy the code and run itPut the key in AICREDITS_API_KEY. The cost of the request is deducted from the wallet and listed in your usage log.
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.aicredits.in",
"ANTHROPIC_AUTH_TOKEN": "sk-your-aicredits-key",
"ANTHROPIC_MODEL": "anthropic/claude-sonnet-5.5"
}
}Model IDs are written as provider/model. The full list is in the model catalog.
Next steps
- Claude Code setup guideThe full setup with verification steps and troubleshooting.
- Coding agent cost calculatorEstimate what a task and a month of coding-agent use cost in rupees.
- Claude API in IndiaCall Claude from your own code with the Anthropic or OpenAI SDK.
- Claude Code cost in rupeesWhere the tokens go in a coding session and how to spend fewer.
Frequently asked questions
Can I use Claude Code in India without an international card?
Yes. Claude Code can talk to any endpoint that speaks the Anthropic Messages API. Point it at AICredits, and usage is charged to a rupee wallet you top up with UPI, net banking or a card from ₹50.
Is this a Claude subscription?
No. This is pay-per-use API billing: each request is charged per token from your wallet. It does not include or require a Claude Pro or Max subscription, and it does not give you one.
What does a Claude Code session cost in rupees?
It depends on the model and on how much of your codebase each step reads. The table on this page has the live per-token prices, and the coding agent cost calculator turns steps per task and tokens per step into a rupee figure.
How do I stop a session from spending too much?
Create a separate API key for Claude Code and give it a budget in rupees, optionally per day or per month. When the key reaches its budget, requests are refused with a 402 error. The check runs against usage recorded so far, so a burst of requests can go slightly past the cap before the key stops.
Why ANTHROPIC_AUTH_TOKEN and not ANTHROPIC_API_KEY?
With a custom base URL, Claude Code sends ANTHROPIC_AUTH_TOKEN as the bearer token. If ANTHROPIC_API_KEY is also set, Claude Code may use both and you can see duplicate requests, so unset it.
Can I use other models in Claude Code?
Yes. Set ANTHROPIC_MODEL to any model ID from the catalog. Claude models are passed through in Anthropic's native format; other models are converted to and from it.
Get an API key and make a first call.
Create your account, top up via UPI, and make your first API call. No international card needed.