The Grok API in Iran, priced in Rial
Grok is xAI's model family. IranRouter lets you call it from inside Iran with one ir- key and pay in Rial, with no foreign account or card.
Models and today's Rial prices
1 models available now. Prices are per million tokens, read straight from the catalogue.
| Model | Input (IRR) | Output (IRR) |
|---|---|---|
| 5.49M | 16.48M |
Connecting
Grok models work with the OpenAI SDK. Change base_url and the key and take the model id from the table below.
Choosing a model
The table lists the Grok models available now in Rial. Each model's page has its context window and capabilities.
Controlling cost
Set a Rial limit on the key and keep max_tokens realistic. Each request's usage is recorded in the dashboard.
Frequently asked questions
Does the Grok API work from Iran?
Yes. With an ir- key you reach these models from inside Iran, no VPN.
What does Grok cost in Rial?
Live prices per million tokens are in the table on this page.
Do you sell Grok subscriptions?
No. You pay for API use only.