The Claude API in Iran, priced in Rial
The Claude models are made by Anthropic and are widely used for coding and long documents. IranRouter lets you call them from inside Iran with one ir- key, paid in Rial.
Models and today's Rial prices
5 models available now. Prices are per million tokens, read straight from the catalogue.
| Model | Input (IRR) | Output (IRR) |
|---|---|---|
| 275K | 1.37M | |
| 27.46M | 137.3M | |
| 27.46M | 137.3M | |
| 13.73M | 68.65M | |
| 5.49M | 27.46M |
Anthropic SDK or OpenAI SDK
Call Claude with the OpenAI SDK by changing the model id, or set the Anthropic SDK's base URL to /anthropic and leave your code alone.
Claude Code from Iran
Claude Code connects through ANTHROPIC_BASE_URL and bills your Rial wallet. Keep prompt caching on and set a daily limit on its key.
Which Claude model
The family has several tiers of power and price; the table below lists every one available now. Start lighter and move up only if quality falls short.
Frequently asked questions
Can I buy Claude from Iran?
Not the site's subscription, but an ir- key gives you the Claude models directly, paid in Rial for what you use.
Does the Anthropic SDK work?
Yes. Set the base URL to /anthropic and use your ir- key.
Is prompt caching supported?
Yes. Tokens read from cache are billed at a separate, much lower rate shown on each model's page.