The AI gateway for Iranian developers

Every AI model in the world, behind one Iranian key

No sanctions friction, no foreign cards. Top up your rial wallet, swap base_url and reach dozens of models from OpenAI to Anthropic and Google — with automatic routing and engineered reliability.

  • Pay in rial via local gateways
  • Transparent pricing
  • OpenAI SDK compatible
Live routing

If a route goes down, the same model's request reaches the same provider through another healthy route — your model is never switched behind your back.

IranRouter Chat to talk; agents to get work done

Open the chat right in your browser. Open-source agents such as OpenClaw and Hermes work too, with your ir- key and the same rial wallet.

IranRouter Chat

IranRouter Chat

Every model in one chat, Persian-first

Talk to any model you like — with history and search, projects and documents, and each answer's cost right under it — on the same account and rial wallet.

  • Every model
  • Projects & documents
  • Web search
  • Persian & RTL
Plan a two-day trip to Isfahan
Sure! Day one: Naqsh-e Jahan Square and…
claude-sonnet-4-5
OpenClaw

OpenClaw

An open-source agent for real work

An open-source tool by other developers — not an IranRouter product — that runs on IranRouter with your ir- key: it takes the task, runs tools and carries it to the end. Hermes and any OpenAI-compatible agent work the same way.

  • Multi-step tasks
  • Tools & functions
  • Coding & automation
  • The same ir- key
$ openclaw "prepare the weekly report"
✓understand the task, plan the steps
✓run tools, build the output
✓done ✓

Already have your own tool?

Anything that speaks the OpenAI SDK works with your ir- key — just swap the address and the key.

No code changes — full streaming and every model, from inside Iran.

from openai import OpenAI

client = OpenAI(
    base_url="https://anyrouter.ir/v1",
    api_key="ir-****************",
)

Top models, ready to call

All behind the same single ir- key — no separate sign-up per provider.

Explore all models
Model list unavailable

We can't read the live catalogue right now. Rather than show you a stale list, we'd rather say so — please try again shortly.

Service status →

Three steps to your first model response

  1. 01

    Quick sign-up

    Create an account with your phone number or email; your workspace and wallet are provisioned instantly.

    +98 912 ··· ····Send code
  2. 02

    Top up in rial

    Charge your wallet through Iranian bank gateways; your balance goes live instantly.

    Balance5,000,000 IRRPaid ✓
  3. 03

    Swap the base_url

    Keep the OpenAI SDK you already use; just change the address and drop in your ir- key.

    -api.openai.com/v1
    +anyrouter.ir/v1

Infrastructure engineered for Iran's realities

  1. Smart routing with automatic failover

    If a provider slows down, errors out, or a key gets rate-limited, your request instantly takes the next healthy route — no errors, no manual retries.

  2. BYOK — bring your own key

    Connect your own OpenAI or Anthropic key and use just the routing and reliability layer.

    sk-your-own-keyir-
  3. Fully OpenAI-SDK compatible

    Keep your existing code; curl, Python, Node and any compatible tool work without a single change.

    openai.OpenAI(base_url=…)

  4. A rial wallet, no foreign cards

    Top up through Iranian bank gateways, see transparent per-request deductions, and get detailed usage reports for your books.

    gpt-4o12,450 tokens-84,200IRR
    claude-sonnet3,110 tokens-29,700IRR
    Wallet top-up+5,000,000IRR
  5. Real-time SSE streaming

    Responses arrive token by token, with no intermediate buffering.

  6. Cost control and spend caps

    Set a monthly budget, rate limits and detailed usage reports for every key.

  7. 24/7 health monitoring

    Keys and providers are probed continuously; unhealthy routes are removed before they ever reach you.

    200 OK
    24/7
10+
global providers
40+
active models
24/7
route health monitoring
1
line changed in your code

A plan for every stage of your journey

Full pricing and live model rates
To start

Free

For testing and small projects — no bank card needed.

  • Selected models
  • Daily usage cap
  • The same full API
Get started
Popular

Basic

A monthly token bundle for growing projects — no worrying about spot rates.

  • A fixed token bundle
  • Guaranteed daily quota
  • All plan models
Get started
Heavy usage

Pro

A larger bundle with higher throughput for products at real scale.

  • A multi-size token bundle
  • Higher speed and rate limits
  • Faster support
Get started
Enterprise

For teams and organizations

Negotiated volume pricing, contracts and SLA, dedicated support and deployment tailored to your organization.

  • Volume pricing
  • Contract & SLA
  • Dedicated support
Contact sales

Get connected today

Create an account, top up your wallet and make your first request in minutes — no contract, no foreign card.

Create a free accounthttps://anyrouter.ir/v1