uttapen

Pareto Code Router API: toman pricing and code

openrouter/pareto-code

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

Pareto Code Router example: writing product copy

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

from openai import OpenAI

client = OpenAI(base_url="https://api.uttapen.ir/v1", api_key="sk-up-…")

stream = client.chat.completions.create(
    model="openrouter/pareto-code",
    messages=[{"role": "user", "content": "Write a 40-word product description for a 1.7-litre stainless steel electric kettle."}],
    stream=True,
)
for chunk in stream:
    print(chunk.choices[0].delta.content or "", end="", flush=True)

What is Pareto Code Router good for?

Pareto Code Router comes from OpenRouter; in uttapen you reach it with the model id "openrouter/pareto-code". It accepts up to 2,000,000 tokens of input per call, so a long document or several source files fit in a single 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.

Pareto Code Router is text in, text out: no tool calling, no image input. For chat, rewriting, translation and summarising that is all you need, and it costs less than a model carrying features you never call.

Its nearest relative in the catalogue is "openrouter/fusion", and choosing between those two is where most people hesitate. The context windows differ too: 2,000,000 against 1,000,000 tokens.

OpenRouter has 6 models in our catalogue. It does not support include_reasoning, max_tokens, reasoning, response_format, which most models here do, so test before switching if your code relies on them. By context size the nearest option from another provider is Grok 4.20 at 2,000,000 tokens.

Good fits: automatic routing when you would rather not pick a model yourself, analysing a long document or codebase in one request.

Provider's own description

The Pareto Router maintains a tiered shortlist of strong coding models, ranked by [Artificial Analysis](https://artificialanalysis.ai/) coding percentiles. Set min_coding_score between 0 and 1 on the [pareto-router plugin](https://openrouter.ai/docs/guides/routing/routers/pareto-router#the-min_coding_score-parameter) to control how...

Frequently asked

How do I call Pareto Code Router 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/pareto-code". Nothing else in your code changes.
What does Pareto Code Router 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 Pareto Code Router take?
Up to 2,000,000 tokens per request, roughly 1,500k words. Cap the answer length yourself with max_tokens.
Can I stream Pareto Code Router's output?
Yes — with stream=true you get SSE events as the tokens are produced. This model has no tool calling and no image input, so pick a different one if you need either.