We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
Auto Router
openrouter/autoTry Auto Router now
Runs on your balance at the prices above. New accounts start with free usage.
Settings
Auto Router at a glance
- Input price is 2900% higher than the median of 21 Image models.
- Context window of 2,000,000 tokens, enough for long documents and multi-turn conversations.
- Supports tool (function) calling for agents and integrations.
- Supports structured JSON output with a schema.
- Supports reasoning effort control.
About Auto Router
Auto Router is a model from OpenRouter, identified on api14 as openrouter/auto. Rather than being a single fixed model, it is a routing layer: OpenRouter describes it as automatically selecting the best model for your prompt, powered by the wisdom of the market, routing based on what the community collectively spends. It sits in the image main category and also carries the text category, so it is intended for work that spans both. The provider release date is 2023-11-08.
On the input side, Auto Router accepts text, image, audio, file and video, which is a broad set of modalities for a single endpoint. It produces text and image output. The context window is 2,000,000 tokens, large enough to hold very long documents or mixed media payloads in one request. Because routing happens behind the scenes, the concrete model that serves a given call can vary with the prompt, but the interface you code against stays the same.
The practical uses follow from that combination. Long context plus file and text input suits document analysis, summarisation and question answering over large corpora. Image and video input with text and image output suits captioning, visual inspection, and generation or editing tasks where you want a picture back. Audio input extends the same pipeline to transcription-adjacent or spoken-content workflows. Tool and structured output support makes it reasonable for agent style applications that need to call functions or return JSON shaped responses, and the web search option helps when a prompt depends on current information.
You call it through api14's OpenAI-compatible API using the model id openrouter/auto, so existing OpenAI SDKs and clients work with only a base URL and key change. The supported request parameters are frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, prediction, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_a, top_k, top_logprobs, top_p and web_search_options. Sampling controls, penalties, seeds, stop sequences, log probabilities and reasoning controls are all available, alongside tools and structured outputs for programmatic use.
One thing to weigh is that routing decisions are made for you, so if you need a specific model's exact behaviour, determinism across calls, or a fixed output ceiling, a named model may fit better. The maxOutput value is not published here, so plan around that uncertainty. Auto Router is best treated as a convenience endpoint for mixed modality, long context work where you would rather not pick a model per request.
How to call the Auto Router API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "openrouter/auto".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.images.generate({
"model": "openrouter/auto",
"prompt": "A minimalist product photo of a ceramic mug on a wooden table",
"n": 1,
"aspect_ratio": "1:1"
});
import { writeFile } from "node:fs/promises";
await writeFile("image.png", Buffer.from(result.data[0].b64_json, "base64"));
Supported parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppredictionpresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_atop_ktop_logprobstop_pweb_search_optionsSpecifications
- Context length
- 2,000,000
- Input
- text, image, audio, file, video
- Output
- text, image
Requests on api14 · last 7 days
Auto Router: frequently asked questions
- How much does the Auto Router API cost?
- Auto Router costs Input $525.00 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of Auto Router?
- Auto Router reads up to 2,000,000 tokens per request: prompt, history and documents together.
- What can Auto Router do?
- Auto Router accepts text, image, audio, file, video and returns text, image. It supports tool calling, structured JSON output, reasoning effort control.
- How do I call Auto Router from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openrouter/auto". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Auto Router?
- Comparable Image models at a similar price: Auto Router (Beta), Microsoft AI: MAI-Image-2.5 Pro, Microsoft AI: MAI-Image-2.5. Each runs through the same API key, so switching is one string.
Auto Router community
New topicThis community has no topics yet. Open the first one about Auto Router.