The DeepSeek API in Iran, priced in Rial
DeepSeek is a family of models widely used for coding and reasoning. IranRouter lets you call them from inside Iran with one ir- key, paying in Rial for what you use.
Models and today's Rial prices
3 models available now. Prices are per million tokens, read straight from the catalogue.
| Model | Input (IRR) | Output (IRR) |
|---|---|---|
| 824K | 3.3M | |
| 122K | 824K | |
| 3.62M | 10.87M |
Connecting
DeepSeek models work with the OpenAI SDK. Change base_url and the key and take the model id from the table below.
Comparing prices
The table shows Rial input and output prices; on the models page you can compare any model by message cost, score and speed.
Reasoning tokens
Reasoning models spend tokens before the final answer and those are billed too. Set max_tokens too low and an answer can be cut off.
Frequently asked questions
Does the DeepSeek API work from Iran?
Yes. With an ir- key you reach these models from inside Iran, no VPN.
What does DeepSeek cost in Rial?
Live prices per million tokens are in the table on this page.
Do I have to change my code?
No. With the OpenAI SDK only base_url, the key and the model id change.