uttapen

Auto Router (Beta) API: toman pricing and code

openrouter/auto-beta

visiontoolsreasoningjsonfilesaudioimage out
Input · per 1M tokens
Output · per 1M tokens
One 1,000-word request ≈

Auto Router (Beta) example: image generation

The example is picked from this model's own capabilities. Drop in your key and it runs as is.

curl https://api.uttapen.ir/v1/chat/completions \
  -H "Authorization: Bearer sk-up-…" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openrouter/auto-beta",
    "messages": [{"role": "user", "content": "A minimal photo of a coffee cup on a wooden table, natural light"}],
    "modalities": ["image", "text"]
  }'

What is Auto Router (Beta) good for?

OpenRouter publishes this model; we expose it under the id "openrouter/auto-beta". Its context window is 2,000,000 tokens, roughly 1,500k English words in one request. It has no fixed price: the destination model is chosen per request, and you are charged exactly what the model that answered actually cost.

What you get on top of text in, text out: it reads images directly, which makes it a real option for invoices, forms and screenshots; it takes files such as PDFs as input; it accepts audio input; it supports tool calling, so it can invoke your own functions with valid arguments; it returns schema-valid JSON through response_format, ready to hand to your code; it has a reasoning mode that pays off on multi-step problems, maths and debugging; it can return generated images. All of it works through the standard parameters of the official OpenAI SDK — no custom client, no wrapper. Keep in mind that reasoning tokens are output tokens and do appear on the bill.

Its nearest relative in the catalogue is "openrouter/auto", and choosing between those two is where most people hesitate.

OpenRouter has 6 models in our catalogue. Among the less common parameters it accepts logit_bias, logprobs, min_p, prediction, reasoning_effort, repetition_penalty — all through the standard request body. By context size the nearest option from another provider is Grok 4.20 at 2,000,000 tokens.

Where it makes sense: automatic routing when you would rather not pick a model yourself, logic puzzles and code review, pulling text and fields out of images, agents that reach out to APIs and databases, extracting data against a fixed schema, analysing a long document or codebase in one request.

Provider's own description

Auto Router (Beta) is a task-aware router from OpenRouter. It classifies each request, then routes it the [most popular model](/rankings#task-spend) for that task based on aggregate spend, filtered by your...

Frequently asked

How do I call Auto Router (Beta) from Iran?
Sign up with your mobile number, top the wallet up in toman, create an API key, then in the official OpenAI SDK point base_url at https://api.uttapen.ir/v1 and set model to "openrouter/auto-beta". Nothing else in your code changes.
What does Auto Router (Beta) cost in toman?
This model has no fixed price: the cost depends on the model that answered the request, and that exact amount is what leaves your wallet.
How much input does Auto Router (Beta) take?
Up to 2,000,000 tokens per request, roughly 1,500k words. Cap the answer length yourself with max_tokens.
Does Auto Router (Beta) support streaming and tool calling?
Streaming (stream=true) works on every model here. This one supports tool calling in the standard OpenAI shape. Image input is accepted through image_url, as a data URI or a public URL. Structured output through response_format works too.