OpenRouter Release Notes
154 release notes curated from 210 sources by the Releasebot Team. Last updated: Nov 18, 2026
- Nov 16, 2026
- Date parsed from source:Nov 16, 2026
- First seen by Releasebot:Nov 18, 2026
- Modified by Releasebot:Nov 18, 2026
Tighter Access Controls for Management Keys
OpenRouter adds workspace-scoped and read-only management keys, letting teams and tools automate or review activity with access limited to the resources and actions each key needs.
Management keys no longer have to come with full admin access to your whole organization. Now you can make a key read-only, limit it to one workspace, or both, so each key can only do the job it was created for. Read-only keys can view API keys, activity, and usage, and read/write keys can also create, update, and delete API keys. If a key leaks or gets misused, the damage stays contained.
Available today to every organization, on every plan. Create a key from your workspace’s Keys page or from Management API Keys, and see the management API keys guide for the routes each kind of key can call.
Teams run their own workspace, and now their automation can too
As organizations grow on OpenRouter, they split their work into workspaces, often one per team. Each team runs its own workspace, and Organization Admins look after what everyone shares: credits, budgets, and organization settings.
Until now, a management key always had full read and write access to the whole organization. A team that wanted to automate its own workspace had to use a key that could reach every other workspace too.
Now each key has two settings. Scope sets where a key works: one workspace, or the whole organization. Access level sets what it can do there: read only, or read and write. Workspace Admins can create keys for their own workspace, so a deploy pipeline can rotate a team’s API keys, an agent can set up guardrails, or a script can add teammates to the workspace, without any of them reaching another team’s workspace.
Scope keeps a key inside one workspace
A workspace-scoped key only works on its own workspace. If a request names another workspace, or a resource that belongs to one, OpenRouter refuses access. A buggy agent or a leaked key can’t reach the rest of your organization.
Inside its workspace, the key can manage API keys, members, guardrails and guardrail policies, your own provider keys, observability destinations, and presets. It can read the workspace’s budgets, activity, and analytics.
Budget limits, credits, and organization settings stay with your Organization Admins. A team can automate everything inside its workspace and still can’t raise its own workspace budget. Setting a workspace budget, creating or deleting workspaces, managing organization members, and private endpoints still need an organization key, which works the way it always has.
Read-only access lets tools look without changing anything
Access level is the second setting, and it applies to workspace keys and organization keys alike. A read-only key can call the read routes its scope allows, including analytics queries. Any request that would create, change, or delete something returns an error.
That fits the tools that only need to look. A cost dashboard can pull usage, a monitoring agent can watch activity, and an audit script can list keys, guardrails, and provider keys. You can connect a new reporting or audit tool without giving it write access to your account.
Give each job a key with only the access it needs
Scope and access level combine into four kinds of key:
- An agent that creates and rotates API keys for one team gets a read/write key for that team’s workspace.
- A usage dashboard for one team gets a read-only key for that team’s workspace.
- An organization-wide audit or cost tool gets a read-only organization key.
- Anything that creates workspaces or sets budget limits keeps a read/write organization key.
Both settings are fixed when you create a key, so a key can’t gain access later. To change either, create a new key and delete the old one.
Create a key in the dashboard
- Open the workspace, go to Keys, and select the Management keys tab. Workspace Admins can create keys for their own workspace, and Organization Admins can create them for any workspace.
- Click New management key. The dialog shows which workspace the key is scoped to.
- Enter a name, choose an expiration, and pick Read only or Read and write under Access level.
- Copy the key when it’s shown. You won’t see it again.
For a key that covers the whole organization, Organization Admins use the Management API Keys page.
Your agents and tools use the key the way they use a management key today, as a Bearer token on the management API:
curl https://openrouter.ai/api/v1/keys \ -H "Authorization: Bearer $MANAGEMENT_KEY"To review the management keys you already have, open Security settings, go to Key safety, open Filter keys, and select Show management keys. Each active key is listed with its owner, last use, and expiration. The management API keys guide lists every route each kind of key can call.
Original source - Nov 16, 2026
- Date parsed from source:Nov 16, 2026
- First seen by Releasebot:Nov 17, 2026
- Modified by Releasebot:Nov 17, 2026
OpenRouter Now Powers Inference on Hugging Face
OpenRouter brings provider routing to Hugging Face Inference Providers, with live price, speed, and reliability selection plus automatic failover. Developers can also send request traces to their own Hugging Face Storage Buckets for evaluation or fine-tuning workflows.
We built OpenRouter so developers can reach many models and providers through one API, use the best model for each task, and count on it to respond. Starting today, that extends to everyone building on Hugging Face. Chat models on Hugging Face Inference Providers now run through OpenRouter, with the same routing across providers that OpenRouter customers already rely on.
The integration also runs the other way. OpenRouter can now send a trace of each request to a Hugging Face Storage Bucket you own, so the prompts and responses from your real traffic sit next to the models and datasets you would use to evaluate or fine-tune on them. The setup guide has the steps.
What you get on Hugging Face
Many chat models on Hugging Face are served by more than one provider. OpenRouter’s provider routing now powers routing on Hugging Face Inference Providers, and it picks the provider for each request based on live price, speed, and reliability. You don’t have to set anything up, and your existing Hugging Face token and code keep working.
You also get automatic failover. If a provider slows down or starts failing, requests go to other providers until it recovers. If a provider returns an error, the request is retried on the next one inside the same call.
When we rebuilt this routing in October, a live experiment measured 46% fewer requests hitting a capacity error, 16.9% faster time to first token, and 16.3% higher throughput, for 6.0% higher cost per request. Everyone building on Hugging Face now gets the same routing.
You stay in control of the trade-off. Adding a suffix to the model ID, such as :fastest, :cheapest, or a provider name, tells OpenRouter what to prioritize, and requests work through OpenAI’s Chat Completions and Responses APIs or Anthropic’s Messages API. A conversation also stays on the provider that holds its prompt cache.
Each model page has a new Providers tab with live price, speed, and uptime for every provider. You can see your spend by provider and turn off any provider you don’t want to use.
160 models from 38 labs are available this way today, which is every model OpenRouter serves that has a page on the Hub. They include the open-weight models developers use most on OpenRouter, where open-weight models carried about 70% of paid tokens in October:
- DeepSeek V4.1 Flash
- MoonshotAI Kimi K3.1 Pro and Kimi K3
- Z.ai GLM 5.3 and GLM 5.3 Flash
- Qwen3.8 27B
- MiniMax M3.1 Flash
- Xiaomi MiMo-V2.6-Flash
- NVIDIA Nemotron 3 Ultra
- OpenAI gpt-oss-120b
Your traces can live on the Hub
Add Hugging Face Storage Buckets as a Broadcast destination (it’s in beta) and OpenRouter sends each request as a JSON file to a bucket you own. Each file holds the input messages, the model’s output, token counts, and cost. Images and other media are left out.
That’s the raw material for an evaluation set or a fine-tuning run on an open-weight model. You can organize the files by date or by API key.
Get started
On Hugging Face
- Create a token at hf.co/settings/tokens with the “Make calls to Inference Providers” permission.
- Open any supported model’s page on the Hub. Chat with it there, or click View code for setup steps for your code or your coding agent, including Claude Code, Codex, OpenCode, Pi, and Hermes Agent.
- To choose which providers can serve your requests, go to Inference Providers in your Hugging Face settings.
To send traces to a Storage Bucket
- Create a Storage Bucket on Hugging Face.
- Create an access token with Write permission and generate S3 credentials from it.
- In OpenRouter, go to Settings > Observability, turn on Broadcast, and open Hugging Face Storage Buckets.
- Enter your namespace, bucket name, access key ID, and secret access key. A path template such as {apiKeyName}/{date} is optional.
- Click Test Connection, then save.
The full setup guide covers path templates and the trace file format.
Try a model in the Hugging Face Playground, or send your traces to a Storage Bucket.
Original source All of your release notes in one feed
Join Releasebot and get updates from OpenRouter and hundreds of other software products.
- Nov 12, 2026
- Date parsed from source:Nov 12, 2026
- First seen by Releasebot:Nov 12, 2026
How We Built a Self-Correcting Localization System for OpenRouter
OpenRouter now offers its website in seven languages beyond English, with beta localization available through the account menu or language-specific URLs. A feedback and review pipeline helps keep translations current and improve them from reported mistakes.
OpenRouter now speaks 简体中文, Español, Português (Brasil), Deutsch, Français, 日本語, and 한국어, alongside English. Localization is in beta, starting today. To switch, pick a language from the account menu, or go straight to an address like openrouter.ai/ja or openrouter.ai/ko/models.
Translating a website and keeping that translation up-to-date is hard, especially true for us. OpenRouter’s site has 16,918 English strings, and we change some of them every day, so a one-time translation would be out of date within a week. We built a loop to help us do this at scale. Every day, it finds the strings that changed, translates them, checks them in code, and has a second model verify the meaning against the English. When a translation fails a check, or the verifier rejects it, the loop sends it back with the reason attached and tries again. That retry loop is the part of the system that corrects itself.
Some mistakes still get past it, and people catch those. When reviewers and readers report a mistake, we turn it into a glossary rule, a style note, or an override, and mistakes the daily review catches also become test cases that every future model has to pass. The whole pipeline runs on OpenRouter.
Translations live in Git next to the code
Before any model gets involved, the translations need a home. We use the open-source General Translation runtime to wrap strings in our React code. We commit translations as JSON catalogs next to the code and load them locally at runtime, so no translation service sits in the request path. A string gets picked up for translation within a day of it merging. Until then, the page shows the English source. Each translated entry also stores a fingerprint of the English it came from. When someone edits the English, the fingerprint stops matching, and the entry goes back in the queue. This rule lets the daily run find every stale entry without retranslating the whole catalog.
The pipeline
Every string in that queue goes through five stages before it reaches the site.
1. Extract
A script scans the frontend and writes every wrapped English string to a source catalog. Each entry records its file and its UI role, such as button, heading, or table header. The role matters because the same English word can need a different translation in a different place. “Queue” on a button is an instruction, and one of the defects later in this post is a model translating it as a noun.
2. Translate
We send new and changed strings to GPT-6.1 Sol in batches of up to 40, and use Structured Outputs to hold the reply to a strict JSON schema. Each request carries our global and per-language style notes, the glossary rules for any product term in the batch, and the UI role of each string.
Because every model on OpenRouter takes the same request, trying a different translator means changing only the model slug. That is how we ran the model comparison later in this post.
3. Check
Code rejects a reply that breaks an ICU placeholder, a plural branch, a rich-text tag, or leading or trailing whitespace, or that renders a product term in a form the glossary forbids. We resend a rejected batch in smaller pieces, naming the failure, for up to 4 passes by default. The limit is a setting that goes up to 20. A string that still fails after the last pass stays in English and is flagged in the pull request.
4. Verify
A second call to the same model, acting as verifier, reads each translation against the English and lists errors by severity. Any critical or major error, such as a dropped clause or a reversed meaning, sends the string back to the translator with every objection so far attached. The translator gets up to 3 retries after its first attempt, and the last retry uses more reasoning effort. Spend per string has no separate cap, because the retry limits already bound it. Counting the check resends, a string can take up to four translation attempts with up to four check passes each, plus a verifier call after each attempt. That puts the worst case at about 20 model calls per string per language. If the verifier is down, the pipeline writes nothing and the string stays in English. A reader who sees English for a day is better off than one who sees an unchecked translation.
5. Review
Each daily batch lands as a pull request. An AI reviewer reads the diff and posts findings, and a person merges the pull request.
How we measure
The rest of this post leans on three eval suites, so it helps to know what each one tests before the numbers start.
- The model comparison (254 cases) runs the pipeline with different translator models and scores each reply with the production verifier. We used it to choose the translator.
- The pipeline comparison (454 cases) runs one model twice, once through the full pipeline and once with a bare two-line prompt. Code checks, the verifier, judges from three other model families, and a back-translation check all score it.
- The defects suite (22 cases) holds real mistakes the daily review caught after the verifier passed them. Each case forbids the mistake that shipped.
What we tried and threw away
The pipeline looks simple now because we removed three parts of the first design once the evals measured them.
A cheaper translator
We first tested a smaller, cheaper model, GPT-6 Luna (openai/gpt-6-luna). In the model comparison, it passed 91.7% of cases on the first try, against 99.2% for GPT-6.1 Sol. Its weakest languages were Korean and Japanese. Its hardest failures were replies that General Translation, our translation framework, couldn’t compile, such as its translation of “Legacy alias of {value}”. Those failures persisted through every retry.
The heavier model cost about 3.4 times as much, $1.94 against $0.57 for those 254 cases. We pay the difference because a wrong string that never converges takes more time and effort to fix than just getting it right off the bat.
A separate judge model
Before the verifier existed, a separate judge model scored every translation, and we retranslated anything it flagged or marked uncertain. To see how well it worked, we labeled a benchmark with three kinds of strings: known errors, corrected translations (hand-fixed versions of earlier errors, which should pass), and a clean sample. The judge did catch real problems. In one benchmark run, it marked 91% of that run’s real defects as uncertain. It also flagged 11 of the 14 corrected translations and 42 of the 150 clean ones, so it sent a lot of good work back for retranslation.
With the verifier in place, turning the judge off lowered first-pass accuracy from 99.2% to 98.8% and left the final result unchanged. The judge had been sending about 45% of first drafts back for retranslation. We now leave it off by default.
Leaving hard strings for a person
At first, a string the verifier rejected on every retry stayed untranslated until someone fixed it by hand. A full retranslation of the catalog, 16,274 strings into 7 languages, left 97 such strings (0.09%). Now the pipeline ranks the rejected drafts by the verifier’s findings, commits the least-wrong one, and flags it in the pull request for review. The loop always ends in a translation, even when that translation still carries a flagged error, and the flag puts it in front of the person who merges the pull request.
What the pipeline adds over the bare model
Most of what the pipeline adds is fewer outright mistakes. To measure it, our eval runs the same model over 454 cases twice, once through the full pipeline and once with a two-line prompt and no style notes, glossary, or retries. The bare model returned one malformed reply, which leaves 453 pairs to compare.
Measure Bare model Full pipeline Failed a glossary or authored check 147 of 453 4 of 454 Accepted by the verifier on the first pass 263 of the 306 that passed checks (85.9%) 448 of all 454 (98.7%) Critical errors, summed across three judges from other model families 203 109 Pairs each side won on overall preference 117 139 Meaning survived back-translation 90.8% 89.3%An authored check is a handwritten rule on one eval case. For example, “Queue” in Chinese must not be translated as 队列, the noun form that shipped. The check failures fell from 147 to 4, which is the glossary and the retries doing their job.
The verifier’s first-pass figures use different bases. For the bare model it’s the 306 strings that passed the code checks, and for the pipeline it’s all 454. The verifier comes from the same model family as the translator, so its pass rate tells us how often the model agrees with itself. We use GPT-6.1 Sol for both jobs because it was the more accurate of the two translators we tested. For an outside view, the eval also sends each pair of translations, unlabeled, to three judges from other model families, Claude Opus 5.5, Gemini 4 Argon, and DeepSeek V4 Pro. Across the three judges, they found 109 critical errors in the pipeline’s output and 203 in the bare model’s. Each judge’s errors count separately, so a string that all three judges flag adds three to the total.
On overall preference across the 453 pairs, the judges picked the pipeline in 139 and the bare model in 117, with 61 ties and 136 pairs where the two translations were identical. That margin is much narrower than the check failures and critical errors show, so the pipeline’s value sits mostly in the specific mistakes it removes.
The last row back-translates every reply to English and asks whether the meaning survived. It scored the bare model 90.8% and the pipeline 89.3%. Back-translation cannot see terminology or register, which is most of what the pipeline changes, so we read this result as a tie.
The feedback loop
The verifier catches most errors before they ship, and readers catch some of the rest.
Turn on select-to-report in the Language dialog, then highlight any translated text, add a note, and send it. Each report arrives with the language, the page, and the exact text. A model triages it first, picks one of four fixes, and puts the fix up within minutes. Our AI reviewer checks the fix, and a person does the final merge.
- Wrong meaning. The string reverts to English the same day, then gets a corrected translation.
- Wrong term. We add the term to the glossary with the accepted form and the forms to reject for that language. We pin compliance and protocol names such as HIPAA, SOC 2, OAuth, and SAML so the pipeline leaves them in English.
- Wrong tone or punctuation. The rule goes into that language’s style notes.
- One bad string. An exact override pins the approved wording, and no later run can change it.
Mistakes the daily review catches after the verifier passed them go into the defects suite. It has 22 cases so far. They include “Queue” translated as a noun on a button that needed a verb, “shadow traffic” rendered as road traffic, and a HIPAA setting whose meaning was inverted. Each case forbids the mistake that shipped, so any future model, prompt, or glossary change that brings it back fails the eval.
What it costs
When we first priced it, a full retranslation of all 16,274 strings into 7 languages, 113,918 translations in total, came to about $430 with translation and verification included. We arrived at that figure by pricing production-sized batches in each language and scaling up. It works out to under half a cent per string per language. Verification is slightly more than half, about $228, or $0.002 per string per language. The catalog has since grown to 16,918 strings, and a full retranslation of it today costs about $460. The daily loop only sends what changed, and a day with 677 changed strings across 7 languages costs roughly $18.
Both figures cover the translation and verification calls only. They leave out the engineering time to build the pipeline, the calls made by the AI reviewer and the triage model, and the person who merges each daily pull request.
Today’s 16,918 strings hold 136,429 words of English, so 7 languages total 955,003 words, which puts our cost at about $0.0005 per word. Here is the same full retranslation at the per-word starting rates Smartling and Gengo publish, as of November 10, 2026.
Option Rate Full site, 7 languages Our pipeline, translation and verification about $0.0005 per word about $460 Smartling Machine Translation $0.0075 per word about $7,200 Smartling AI Translation $0.06 per word about $57,300 Gengo Standard $0.09 per word about $86,000 Smartling AI Human Translation $0.12 per word about $114,600 Gengo Advanced $0.18 per word about $171,900 Smartling Human Translation $0.20 per word about $191,000These are list prices; enterprise contracts are negotiated, and every row above machine translation includes human review or project management that our figure leaves out. The closest like-for-like option is Smartling’s machine translation, and our pipeline costs about 6% as much.
What you can reuse
If you are localizing your own product, four parts of this design carry over directly.
- Fingerprint every translation against its English source, so stale entries requeue themselves.
- Let code reject broken placeholders, plural branches, tags, and forbidden terms before any model reviews the meaning.
- Use a verifier that names each error and its severity, and send those objections back to the translator.
- Turn every mistake a person catches into a glossary rule, a style note, an override, or an eval case.
Send us your feedback
Some wording will be off while we’re in beta, and the quickest way to fix it is to report it with select-to-report in the Language dialog. We review every report and turn it into a glossary rule, a style note, or an override.
Frequently asked questions
Which languages does OpenRouter support?
OpenRouter is available in English, Simplified Chinese, Spanish, Brazilian Portuguese, German, French, Japanese, and Korean. Localization is in beta.
How do I change the language on OpenRouter?
Pick a language from the account menu, or open a localized address such as openrouter.ai/ja.
Which models translate OpenRouter?
GPT-6.1 Sol (openai/gpt-6.1-sol) translates each string, and a second call to the same model verifies it against the English. Both run through the OpenRouter API.
How much does it cost to translate the whole site?
A full retranslation of today's 16,918 strings into 7 languages costs about $460, translation and verification included, which is under half a cent per string per language. The same job costs about $7,200 at Smartling's published machine translation rate and about $57,300 to $191,000 at published AI and human translation rates.
How do I report a bad translation?
Turn on select-to-report in the Language dialog, highlight the text that reads wrong, add a note, and submit it.
Original source - Nov 6, 2026
- Date parsed from source:Nov 6, 2026
- First seen by Releasebot:Nov 7, 2026
Introducing the New Auto and Auto Code Routers
OpenRouter launches a rebuilt Auto Router with faster, more adaptive model selection and introduces Auto Code, a coding-focused router. Both account for live pricing, provider health, cache status, and user policies, with routing insights and benchmark results now available.
Today we’re launching the next generation of Auto Router. Taking all we’ve learned from running Auto Router for the past 3 years, we rebuilt it from the ground up on an entirely new technical foundation that outperforms the old router by up to 4× depending on the benchmark, with a routing step that is 3× faster at the p90 in our live test (0.65s against 1.96s).
It’s easier for a router to score well on benchmarks than to perform well in practice. Auto Router sees over 2.5T tokens from over 100k people every month, so it has to hold up in the real world.
This launch includes a brand new router specialized for coding work, Auto Code (openrouter/auto-code), alongside our flagship general purpose Auto Router (openrouter/auto).
Try it now by setting model to openrouter/auto or openrouter/auto-code in any request, or open Auto Router in the chatroom. Check out the Auto Router docs for all the details.
What’s new in this generation
The previous Auto Router relied on a couple of imprecise signals, such as task type, to drive model selection, a limit required to keep latency low and judgments consistent. The new Auto Router and Auto Code choose models by weighing eleven factors about each request and combining them with live pricing, provider health, and cache status.
This new process lets Auto Router work with any set of models. You can apply any governance policies, including guardrails, zero data retention requirements, provider restrictions, allowed model lists, and BYOK keys. Auto Router makes efficient choices from the models available to you.
We introduced the new Auto Code router based on feedback about what it was like to use a general purpose router in a coding harness. This router is tuned from the ground up for coding performance by including a higher tier of coding models and optimizing for latency. Across the five benchmarks below, Auto Code scores in line with Claude Opus 5.5 while costing 74% less per task.
In the previous generation, we also observed that the remarkable efficiency of the lowest cost models had caused Auto router to drift lower on cost per task, leaving out many exceptional models. We made a decision with this release to return to pricing closer to where Auto was a few months ago in order to introduce a greater variety of models. If you preferred the previous behavior, you can set the cost_tier to low to get similar cost performance.
See the reasoning behind routing decisions in the chatroom
The easiest way to start learning how these new routers work is to pick Auto Router or Auto Code in the chatroom. A routing insights panel appears beside each reply showing why the router picked that model. The same analysis is available via the API when you enable router metadata.
Watch the live routing mix on each model page
The Auto Router and Auto Code model pages now show which models each router picks most often, split by session type, and how the mix shifts as difficulty rises.
Compare performance against other routers and single models
Auto Router and Auto Code benchmark results are published on the model routing benchmarks page alongside the other routers on OpenRouter and single-model baselines. We rerun them periodically, so you can track how each router keeps up as new models are released.
Built upon years of lessons from running Auto Router
Auto Router is coming up on its third birthday. If you set openrouter/auto in an agent years ago, you’re still getting the latest cost-optimal choice today. We’ve learned a lot about where automatic model selection goes wrong, and built the new generation to avoid those problems. Some examples:
We separated out Auto Code to optimize for harnesses. The most common complaint about previous versions of Auto Router was how it performed in coding harnesses. Auto Code favors a slightly more expensive tier of models whose strengths match coding work. It weighs speed more heavily because responsiveness matters while you build. It also penalizes failures more harshly, so it course corrects faster on work where success and failure are clear cut.
It’s restrained about switching to protect caching benefits. Switching models costs extra while the new model rebuilds the input token cache. Auto Router favors a change in reasoning effort when that’s enough, and switches only when the gain is worth the cache it gives up. In our beta period it stayed on the same model for nearly nine of every ten agent turns.
It adapts to failures. When a session is going wrong in ways that point at the model, such as the same error coming back or tests failing after an edit, those signals raise the odds of a switch. That makes it much less likely a session stays stuck with a model that was the wrong pick early on.
It’s tuned based on both real usage as well as benchmarks. Auto Router gets better with every benchmark run and every real routing decision it sees. Through typesafe/jev-router and openrouter/auto-beta we have already verified it on production workloads, while respecting zero data retention throughout. In our beta, against the previous router, invalid tool calls were 4× lower and agentic responses were cut off half as often.
Model Routing built upon the leading Provider Routing foundation
Model routers like Auto Router and Auto Code pick which model will process the request. Provider routing picks who will serve that model. OpenRouter has done this for every request since the beginning: once the model is picked, the provider router chooses among the providers hosting it using your provider preferences, live uptime and latency, price, and whether a provider already holds your prompt cache.
A model router can only be as good as the underlying provider router. We built Auto Router to be aware of our entire catalog, so it adapts to governance restrictions, benchmark results, and market signal from new model releases as they happen. Every one of the 600+ models on OpenRouter enters the consideration set the day it’s added, and benchmarks and popularity signals decide whether it earns a place in the cost-optimal set.
How a request moves through Auto Router
- Auto Router narrows the model pool. Guardrails, zero data retention, model capabilities, provider restrictions, BYOK keys, and any allowed or excluded model lists decide which models are considered.
- A fast decision model processes the request. In one call it rates eleven things, such as what kind of task this is, whether the task just changed, how hard it is, whether speed matters, and whether it needs vision or knowledge of a codebase, and whether a bigger model, more thinking, or a cheaper model would serve it better.
- The routing policy chooses the model. It weighs live prices, cache status, and benchmark performance to pick both the model and the reasoning effort.
- The request goes through the same provider routing a direct request to that model would, so it lands on the best provider for that model.
- The results of each turn inform the next turn’s model selection. The router carries signals like whether the model is struggling and what’s already cached into the next decision.
Routers versus single models
Benchmarks consistently show that no router on the market beats the single best frontier model at every point on the cost and quality curve. The new Auto Router is no exception, and we publish its benchmarks to show its strengths and weaknesses plainly.
Routers earn their place when the work is varied, when an organization needs to hold costs steady, and for people who don’t have the time or interest to keep up with the constant stream of model releases. Choosing Auto Router or Auto Code over a single model trades a little peak performance for consistent, cost efficient performance over time.
If you know the model that works best for your specific work, keep using it. If you’d rather choose once and stay focused on the work itself, a router is the way to do that.
Get started
Auto Router and Auto Code work wherever you’d put a model string:
curl https://openrouter.ai/api/v1/chat/completions \ -H "Authorization: Bearer $OPENROUTER_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "openrouter/auto-code", "messages": [{"role": "user", "content": "Add a retry with backoff to fetchUser in api/users.ts"}] }'Read the Auto Router docs for the full settings, or open Auto Router in the chatroom and send it the prompt you’d normally hand-pick a model for. Tell us what it gets right and wrong in #feedback on Discord.
Frequently asked questions
What do I need to change to switch from the old Auto Router?
Nothing at all. The slug is still openrouter/auto and the auto-router plugin settings cost_tier, allowed_models, and excluded_models still work.
What is the difference between Auto Router and Auto Code?
Both run on the same routing engine. Auto Router is the general purpose router for mixed traffic and general agents, and favors a cost-efficient tier of models. Auto Code is specialized for coding agents and harnesses, starts in a higher cost tier, and weighs measured pass rate, speed, and cost per solved task across models and reasoning efforts.
Is model routing the same as provider routing?
No. Model routing picks which model handles a request; provider routing picks which provider serves that model. Auto Router and Auto Code do the first, then OpenRouter’s provider routing does the second with your provider preferences, uptime data, and prompt cache state.
Do the routers respect my guardrails and data policies?
Yes. Guardrail policies, zero data retention requirements, provider restrictions, allowed and excluded model lists, and BYOK keys define the model pool, and the router picks the cost optimal model inside it.
Does a router cost extra?
No. You pay the standard price of whichever model serves the request, and the response’s model field tells you which one it was.
What is openrouter/auto-beta?
Auto Router Beta is the release channel for the next version of Auto Router. New routing changes ship to openrouter/auto-beta first and graduate to openrouter/auto once they prove out, so use it to see what is coming in advance. If you try it, tell us what it gets right and wrong in #feedback on Discord.
Original source - Oct 30, 2026
- Date parsed from source:Oct 30, 2026
- First seen by Releasebot:Nov 3, 2026
Guardrails Now Separate Organization Limits from Workspace Defaults
OpenRouter revamps Guardrails with organization-wide limits and separate budget, model access, and moderation policies, giving admins flexible controls for individuals while preserving existing setups and APIs.
A year ago, most companies on OpenRouter used AI in a few teams. Now it’s reaching across departments. People using OpenRouter on teams of 10 or more have grown 70x, and the average organization runs three times as many active API keys as more of that work moves to agents.
The admins managing all of this keep asking for the same thing: one set of rules for the whole organization, and room to make exceptions for the people who need more.
We’ve rebuilt how Guardrails is configured so admins can now set organization-wide restrictions, give people different budgets and model access within them, and change each policy on its own.
To get started, open your workspace’s Guardrails page to set up policies, or read the Guardrail Policies docs.
Why we changed Guardrails
We built the first version of Guardrails for that earlier pattern: a few teams, a handful of API keys. Today we see hundreds or thousands of employees signing in through SSO, coding agents running on every engineer’s laptop, and platform teams accountable for what all of it costs.
That shift showed up in what customers asked us for:
- Budgets per person, with exceptions. Teams wanted a default monthly or weekly budget for everyone, plus a higher one for the people who need it. With one guardrail per budget level, one customer was on track to create a separate guardrail for each of its roughly 1,200 employees.
- Defaults that start conservative. Customers wanted new members to start with the most conservative settings and be granted more over time. The old model worked the other way: the workspace default was the most anyone could get, and every other guardrail could only tighten it.
- One rule across many workspaces. Companies with several business units wanted to set ZDR, provider, and region rules once, instead of copying the same guardrail into every workspace.
- A way to handle requests. Admins kept getting asked for a bigger budget or access to a new model for a project, and wanted approving that to be a quick change, not a rebuild.
Some customers have now built their own internal workflows on top of Guardrails. An employee asks for a higher budget or access to a specific model for a project, explains why, and an admin approves it. With separate policy types and limits set by the organization, approving that request is a single change. They just assign the person a different budget or model access policy and it stays inside the organization’s limits automatically.
Organization limits are separate from workspace defaults
Organization admins can now set limits for whole workspaces, such as a maximum budget, Zero Data Retention requirements, or which models and providers can be used. These limits apply to every member and API key in the workspace, including people with their own budget or model policy.
Inside those limits, workspace admins set the defaults. New members get a default budget and model list as soon as they join, and the admin can give specific people a higher budget or access to more models. None of that can go past the organization’s limits.
In practice, that looks like an organization admin limits the Engineering workspace to $2,000 a month per person, ZDR-only providers, and no access to a particular high-cost model. The workspace admin sets the default for new members at $200 a month with the team’s standard models. A new engineer who joins gets that $200 default automatically. A senior engineer leading an agent project can get $1,500 a month and access to more models. No one in the workspace can go past $2,000 a month or use a non-ZDR provider.
Budget, model access, and moderation are separate policies
A guardrail used to bundle a budget, model and provider access, and content moderation into one named object. They’re now three separate policy types:
- Budget sets a spending cap in USD that resets daily, weekly, or monthly.
- Model and provider access controls which models and providers can be used, ZDR, and data regions.
- Content moderation covers prompt injection protection, sensitive info detection, and custom content filters.
We split them up because they don’t change together. A person’s budget might change with every new project, while the team’s model list and moderation rules can stay the same for months.
Now the team shares one model access policy and one moderation policy, and you can change one person’s budget without touching anything else.
Backwards Compatible
You don’t need to change anything to keep your current setup. Existing guardrails keep their IDs and enforce the same rules, and the guardrails API and Terraform resources work as before. Each guardrail now also shows up as separate budget, model access, and moderation policies, so you can move over one workspace at a time when you’re ready.
If you manage guardrails through the API or Terraform, read Migrating to Guardrail Policies first, because changes made in the dashboard don’t sync back to your config.
Getting started
To try it, open the Guardrails page in any workspace you manage. Your existing guardrails will already be there as separate policies. A good first step is raising one person’s budget without touching anything else. Organization admins can set org-wide limits from Workspace-wide guardrails. For the full setup, see the Guardrail Policies docs.
FAQ
What are OpenRouter Guardrails?
Guardrails let organizations control spending, model and provider access, and content moderation for their members and API keys.
Can I set different AI budgets for different people?
Yes. Assign a budget policy to a member or API key. It resets daily, weekly, or monthly and can’t exceed the limits your organization admin sets.
Are budgets shared across a workspace?
No. Each budget applies per member or per API key, not as a shared pool. A $100/month limit means each person can spend up to $100.
What happens to my existing guardrails?
They keep enforcing the same rules and keep their IDs. Each one now also appears as up to three separate policies.
Do I need to migrate to a new API?
No. The existing guardrails API and Terraform resources keep working. New policy endpoints live alongside them under /api/v1/guardrails/policies.
Who can manage guardrail policies?
Organization admins can manage every policy, including org-wide limits. Workspace admins manage policies in the workspace.
Original source Similar to OpenRouter with recent updates:
- Obsidian release notes125 release notes · Latest Nov 12, 2026
- Anthropic release notes986 release notes · Latest Dec 1, 2026
- Perplexity release notes34 release notes · Latest Nov 24, 2026
- Cursor release notes194 release notes · Latest Nov 24, 2026
- Ollama release notes197 release notes · Latest Nov 28, 2026
- OpenAI release notes1257 release notes · Latest Dec 1, 2026
- Oct 28, 2026
- Date parsed from source:Oct 28, 2026
- First seen by Releasebot:Oct 30, 2026
How we rebuilt provider routing for better, faster inference
OpenRouter releases a smarter provider routing algorithm that balances price, speed, reliability, and response quality. The new router improves time to first token and throughput while reducing capacity errors, with no code changes required, though costs may rise slightly.
Today we’re announcing the biggest improvement to our provider routing algorithm since the founding of OpenRouter.
Until now, our default router mostly rewarded providers for one thing: a low price. The new router rewards the inference that is actually best for you: cheap, but also fast, high-throughput, and reliable. Providers that deliver more value automatically win more traffic, so every provider has a reason to keep improving. That means the inference you get through OpenRouter keeps getting faster, more reliable, and more cost-effective, and you don’t have to change a line of code.
It’s already working. The new algorithm has unlocked significant improvements in TTFT (16.9%), throughput (16.3%) and capacity errors (a remarkable 46% reduction!), with only minor increases in cost (6.0%). That’s before providers have had any time to optimize for the new algorithm. See our full experimental results for more details.
How it works
- It measures what you actually get. For every model, it tracks each endpoint’s realized price, latency, throughput, and error rate, and picks the best blend of cost and performance for each request.
- It reacts in real time. When an endpoint has trouble, traffic moves away from it until it recovers.
- It rewards better inference. Providers that innovate are automatically rewarded with more traffic.
Routing is still cache-aware, so once we’ve sent you to a provider, your session stays put as long as the cache is warm.
Want price-only routing? You can still have it. See pinning and sorting providers in What stays the same.
Where we were: the limitations of Price-Only Routing
Most traffic (~77% of requests) on OpenRouter goes to models served by more than one provider. When a request doesn’t include an explicit sort or provider list, we need to pick a provider to send it to. Until now, we made that choice based almost entirely on input token price. The less expensive a provider was, the greater percentage of traffic it would receive, and any failed request was re-routed to the next cheapest option.
This price-only approach got users the lowest prices in the ecosystem, but it created some unintended consequences:
- Cheap won even when it was bad. Fallbacks caught failures, but users waited through them, and speed improvements weren’t rewarded.
- Static rankings. The algorithm was blind to real-time performance variations, so a provider had to degrade to the point of being de-ranked entirely before it was reflected in traffic distribution.
- Vanishing margins. The only way for providers to win traffic was to cut price, putting pressure on them to reduce their investments in the very infrastructure that ensures reliability and quality.
- Pricing games. The price we ranked by was almost all prompt input price, so a provider could keep traffic share with weird pricing cocktails like listing an artificially low input price and then making back the difference with overpriced cached or completion tokens.
We wanted to ensure a marketplace where competing providers won traffic by serving better inference, not just cheaper inference.
The New Algorithm: optimizing for what a good answer “costs”
The new routing algorithm constantly monitors the performance of each provider to calculate a real-time Routing Cost that captures what a user pays for a good answer. The Routing Cost encompasses the price in actual dollars and cents, the cost of time spent waiting for a response, and the cost of retries when a provider fails or provides an unusable response.
To put it simply: what does one try cost, and how often does it work?
What one try costs: price plus waiting
For each request, the router estimates how many input and output tokens it will use from the model’s recent traffic. That one estimate sets both parts of a try: the price you would pay and the time you would wait.
Effective priceEffective price is the price that the provider would actually charge you, calculated from recent measured traffic. It reflects the provider’s real cache hit rate and the model’s average mix of input and output tokens, so it can differ a lot from the list price. This ensures that a provider can’t win traffic by hiding expensive cached or output tokens behind a low input price.
The router prices your request at each provider’s effective price, and prioritizes the cheapest options.
ThroughputThroughput is what trades off against price: a faster provider can charge more and still win your request. It’s measured as output tokens per second end-to-end, so it includes the time to first token plus the time it takes the provider to stream the entire output response. The router adds that wait to the Routing Cost using a conversion rate set per model, based on what its providers typically charge and how fast they are.
Time to first tokenTime to first token (TTFT) is how long you would wait before the response started streaming. It adds to the Routing Cost on its own, even though it already counts toward throughput, because interactive use depends on it most. In an agent session, the model may make many tool calls in a row, and each one waits for a first token.
Rate limitsA rate limit (HTTP 429) means the provider is out of capacity and turned your request away. You would have to wait for the rejection, then your full request would go to another provider. The router adds that wait plus a penalty to the provider’s Routing Cost, weighted by how often it rate limits requests, so the effect is usually small. Repeated rate limits matter more through the traffic caps and backoff described below.
How often it works: reliability and quality
A failed try still costs its price and its wait, so the Routing Cost calculates the expected cost of having to retry until one works. If 1 in 5 tries fails, you pay for 1.25 tries per good answer.
ReliabilityA reliability error is a request that fails because of the provider. You would lose the attempt and have to retry, so each error carries a heavy penalty in the Routing Cost.
If a provider’s error rate climbs far above the other providers for the same model, the router stops sending it requests until it recovers.
QualityQuality measures whether a provider’s responses are usable. Today the main check is whether tool calls come back well formed, and we’re adding more. Each bad response raises the provider’s Routing Cost, because a cheap wrong answer is expensive.
A provider flagged for broken tool calls, or for benchmark accuracy well below what the model should score, drops far behind and only gets a small amount of test traffic until the flag clears.
Close gets close: how traffic is shared
Sending every request to the single best provider would overload it, so traffic is shared. Faster providers can carry a higher Routing Cost and stay competitive. Everything inside the competitive edge shares most of the traffic, and being a little behind the best costs a little. Past the edge, traffic share drops off fast.
Three guardrails sit on top:
- Floor: every provider keeps a trickle of traffic, so we can notice when struggling endpoints improve. New endpoints start from the model’s typical numbers, so they don’t need a traffic history.
- Back off: a provider that starts failing or rate limiting gets less until it recovers.
- Cap: the router learns how much load each provider can take before it returns 429s, and spills the rest to others. Add capacity and the cap rises on its own.
What stays the same
- Requests that set provider.order bypass the new routing logic, with providers ordered as specified (default is price-based as before). Setting provider.only or provider.ignore will use the new algorithm to select from the remaining providers if there are more than one.
- An explicit provider.sort (price, throughput, or latency) uses that sort instead of the new algorithm. See the provider routing guide for all the details.
- Only the first request in a conversation will have a provider algorithmically selected. An ongoing conversation is pinned to its original provider so that the prompt cache stays warm. If that provider becomes unavailable, the conversation will fall back to another provider automatically.
- If a try fails, the request is retried with the next highest ranked provider.
How we measured it
In order to measure the impact of the new routing algorithm, we had to go beyond a standard A/B test, because changes in routing behavior can’t easily be isolated from the control group. For example, if the new algorithm did a better job of routing traffic away from a struggling provider, the old algorithm’s requests to that provider would find more capacity available and get faster, skewing the results. Further compounding the difficulty is the enormous variability in request shape and volume patterns. A single whale user that spins up an automated flurry of high effort requests to a single provider can artificially inflate the metrics for that provider regardless of which algorithm we used to route their requests.
So we ran a switchback experiment: We split each day into 3-hour blocks and flipped each matched pair of blocks between the new and old router, with a one-hour burn-in period of discarded data each changeover, and measured the per-model impact across a representative sample of open source models over one full week.
Results
Over the week of the experiment, we split over 24 million requests with 103 billion input tokens evenly between the old and new routing algorithms, measuring the impact on key performance metrics.
Measure Legacy New Algorithm New vs legacy 95% interval TTFT p50 1,007 ms 837 ms 16.9% lower 13.9% to 19.8% lower TTFT p95 4,601 ms 3,733 ms 18.9% lower 15.7% to 21.9% lower Throughput p50 62.4 tok/s 72.6 tok/s 16.3% higher 13.8% to 18.9% higher Cost per K requests $1.25 $1.32 6.0% higher 5.1% to 7.0% higher Cost per M tokens $0.301 $0.324 7.3% higher 4.9% to 9.6% higher Caller TTFT p50 1,130 ms 941 ms 16.7% lower 13.8% to 19.7% lower Caller TTFT p95 6,032 ms 4,504 ms 25.3% lower 21.6% to 29.0% lower Whole request p50 (time to last token) 4.00 s 3.24 s 19.0% lower 14.2% to 23.6% lower Whole request p95 41.5 s 34.9 s 16.0% lower 12.2% to 19.7% lower Hit at least one 429 7.1% 3.8% −3.3 pt 46% fewer -2.5 to −4.2 pt 35% to 59% fewer Needed a retry 10.4% 6.9% −3.5 pt 34% fewer -2.6 to -4.4 pt 25% to 42% fewer Time spent in failed attempts, per req 349 ms 242 ms −106 ms 30% less -35 to −181 ms 10% to 52% lessFrequently asked questions
Do I need to change my code to use the new routing?
No. Requests with no explicit provider sort and no provider order use the new router automatically. Your API key, request body, and model IDs stay the same.
How do I keep price-only routing?
Set provider.sort to price in the request body, append :floor to the model slug, or set your default provider sort to price in account settings. Any explicit sort bypasses the new router.
Does the new routing override my provider order or only list?
provider.order bypasses the new router and routes in the order you specify. provider.only and provider.ignore still filter the candidate set, but the new algorithm picks among the providers that remain.
Will the new routing cost more than price-only routing?
It can, since it will sometimes pick a faster or more reliable provider over the cheapest one. In our live experiment, cost per request increased by 6.0%, while realizing a 16.9% improvement in TTFT, a 16.3% improvement in throughput, and a 46% decrease in 429 error rate.
How does a provider get more traffic under the new routing?
Improve the signals the router scores: effective price, time to first token, throughput, error and rate-limit rates, and output quality.
Original source - Oct 27, 2026
- Date parsed from source:Oct 27, 2026
- First seen by Releasebot:Oct 30, 2026
CSAM Screening Across OpenRouter
OpenRouter introduces in-flight CSAM screening for inference requests, including Zero Data Retention traffic. Flagged content may be retained for human review and legal reporting or preservation, with updated terms clarifying that ZDR content is not retained for unrelated purposes.
OpenRouter will screen all inference requests for child sexual abuse material (CSAM) as they pass through our service. Screening happens in flight, during request processing. Content flagged as potential CSAM may be retained for human review, with reporting and preservation where required by law.
How CSAM screening will work
- Known CSAM detection. In-flight screening will include comparing applicable content against hashes (digital fingerprints) of previously identified CSAM.
- Review of suspected new CSAM. We may begin retaining content flagged as potential CSAM for human review, including content that does not match a known hash. A flag indicates suspected material; it is not itself a determination that the content is CSAM.
Hash matching detects known material, while classifiers can identify suspected material that has not yet been added to a hash database. The National Center for Missing & Exploited Children (NCMEC) recommends hashing and image classifiers as basic child-safety measures for services handling images and video, including generative AI services (NCMEC’s guidance).
Screening also applies to ZDR traffic
CSAM screening will also apply to requests covered by OpenRouter’s Zero Data Retention (ZDR) policy.
We’re updating our documentation and related terms to make OpenRouter’s own retention commitment explicit:
For inference content covered by OpenRouter’s ZDR policy, we do not retain prompts or responses after processing, except when you explicitly choose to have us store them or when retention is needed for CSAM review, reporting, and related legal preservation.
These CSAM provisions do not authorize general retention of ZDR inference content for unrelated purposes. OpenRouter’s commitment not to use inputs or outputs for model training continues (OpenRouter’s Privacy Policy).
Reporting and preservation requirements
CSAM reporting and preservation duties are established legal obligations. ZDR does not remove those duties.
Under U.S. law, covered providers must report to NCMEC’s CyberTipline as soon as reasonably possible after obtaining actual knowledge of facts or circumstances indicating specified apparent offenses. Reported contents and certain related contextual material must be preserved for one year after submission. That requirement applies to reported material, rather than every item flagged for review (18 U.S.C. § 2258A(a) and (h)).
Provider policies may differ
Model labs and providers may use different screening and retention methods. Some may retain content for a period of time to run automated safety checks before anything has been flagged. Those practices are separate from OpenRouter’s in-flight screening and are governed by the applicable model and provider policies.
OpenRouter documents provider policies so users can understand the requirements that apply to their requests. Review those policies when choosing a model or provider, especially if your organization has specific data-retention requirements.
Looking ahead
AI is opening up exciting possibilities, and the practices surrounding frontier models are evolving quickly. We’re updating our documentation and related terms to describe OpenRouter’s in-flight screening, possible retention of flagged content, and how provider policies are represented. As always, we will keep you informed.
Original source - Oct 26, 2026
- Date parsed from source:Oct 26, 2026
- First seen by Releasebot:Nov 12, 2026
Introducing Safety Retention: A Clearer Choice for AI Privacy
OpenRouter introduces Safety Retention, a new data policy tier that allows requests to be stored solely to detect, investigate, and prevent abuse—not for model training. The framework clarifies how data is handled across providers and helps users compare privacy policies.
People building with AI should be able to access advanced models and understand what happens to their data. OpenRouter’s role is to make those boundaries clear across a diverse model ecosystem.
We’re introducing Safety Retention as a new data policy tier alongside Zero Data Retention (ZDR) and Retention and Training. It allows data to be stored exclusively for abuse prevention, without being used for model training.
One consistent framework makes data policies easier to compare across models and providers. It separates the question of whether data is stored from what that data can be used for.
Three data policy tiers
Retention means keeping a copy of what you send to a model or what it sends back after processing. Our framework distinguishes three tiers:
Tier What it means Is your data trained on? ZDR No routine storage after processing, as described in the ZDR policy. No Safety Retention OpenRouter or a provider may store any request, whether flagged or not, only to detect, investigate, and prevent abuse. No Retention and Training Data may be stored and used for training under the applicable provider policy. May be, under the provider’s policy.Safety Retention limits why data can be kept. It does not require a request to be flagged before it can be stored.
Why Safety Retention exists
Safety systems can look for malicious cyber activity and misuse involving chemical, biological, radiological, or nuclear materials. They can also help detect unauthorized attempts to copy a model’s capabilities. Some threats are visible in one request; others emerge as patterns across many requests.
Retaining requests can help safety systems detect abuse before any individual request is flagged. Retained content is accessed only to detect, investigate, and prevent abuse, and is not used for model training.
OpenRouter and our providers may begin retaining requests for abuse prevention under this tier.
What this means for privacy
Storing content is a meaningful change in how data is handled. Privacy depends both on whether data is kept and on the limits placed on its use. As more capable models bring additional safeguards, those distinctions become increasingly important.
We’re updating our documentation to reflect this framework.
Safeguards and access
Broad access to advanced AI depends on safeguards providers can trust and data policies users can understand. Effective abuse prevention can help providers serve more legitimate developers and businesses, including smaller teams without direct relationships to major AI labs.
Our role is to make these differences understandable across providers, so users can compare data policies without having to learn a different privacy vocabulary each time.
Our goal is to keep advanced AI broadly accessible while making the boundaries around customer data clear.
Original source - Oct 14, 2026
- Date parsed from source:Oct 14, 2026
- First seen by Releasebot:Oct 15, 2026
Private Endpoints: Bring Your Fine-Tuned Models and Capacity to OpenRouter
OpenRouter launches Private Endpoints, letting Enterprise teams route fine-tuned models, dedicated deployments, and reserved capacity through their existing API. Organization-only endpoints support familiar routing and fallbacks, with setup and lifecycle management available in the dashboard, API, and Terraform.
Today we’re launching Private Endpoints. OpenRouter already puts the public models your team uses behind one API. Now it can serve the deployments only your team has too. If you run a fine-tuned model, a dedicated deployment of a public model, or capacity you’ve reserved with a provider, you can route it through OpenRouter alongside everything else in the catalog. Your team keeps the API, model slug, and routing preferences they use today. Private endpoints are only visible within your organization.
Private Endpoints is an add-on to the Enterprise plan. Ask your account representative to enable it for your organization, or talk to the team.
What you can do with it
Fine-tuned models and reserved capacity used to mean a second integration next to OpenRouter. Now you register the deployment as a private endpoint and call it through the API you already use, with public providers as an optional backup if it goes down or hits its rate limit. Only the organizations you approve can see it, and it never shows up in public model lists, rankings, search, charts or benchmarks.
If your organization has a dedicated Azure deployment of DeepSeek V4 Pro for example, you can register it as a private endpoint for deepseek/deepseek-v4-pro and your apps keep calling that slug. For your organization it moves to the front of the provider list by default, and Model Fallbacks, Provider Selection and the rest of routing work as they do for any provider. OpenRouter reaches it with your Azure key through BYOK, so Azure bills you directly.
Reserved capacity gets this treatment too. Point a private endpoint at it and your organization’s traffic goes there first by default. When it’s rate-limited or unavailable, OpenRouter can send the overflow to public providers, within the provider preferences and BYOK fallback settings you’ve set.
Setting up an endpoint
Once Private Endpoints is enabled, an organization admin registers the deployment from the Private Endpoints page in your account. The deployment has to be hosted by a provider we support for BYOK, since OpenRouter reaches it with your own key. It also has to serve a model that’s already in the OpenRouter catalog, since it inherits that model’s slug and capabilities. You can attach your own pricing so the endpoint shows up accurately in cost reporting, and you declare whether the deployment retains prompts.
Before anything routes to the new endpoint, OpenRouter sends one real request through the provider key saved in one of your workspaces. That request proves the key is accepted, the deployment speaks the OpenAI-compatible format, streaming works, usage comes back for billing, and the model ID matches what you registered. Once it passes, you activate the endpoint and workspaces in your organization can call it by the model slug. Until then it stays hidden and can’t be called.
Managing endpoints from code
If you run more than a handful of endpoints, or you keep your infrastructure in code, you can skip the settings page. The Private Endpoints API covers the whole lifecycle, from registering a draft and running the test checks through activation, pricing updates, pausing, and deletion. It’s authenticated with an organization Management API key, and one create call registers, tests, and activates an endpoint.
curl https://openrouter.ai/api/v1/private-endpoints \ -H "Authorization: Bearer $OPENROUTER_MANAGEMENT_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: gpt-4o-prod" \ -d '{ "model_permaslug": "openai/gpt-4o-2024-08-06", "provider_slug": "openai", "base_url": "https://api.openai.com/v1", "upstream_model_id": "gpt-4o-2024-08-06", "pricing": { "prompt": "0.0000025", "completion": "0.00001" }, "activate": { "workspace_id": "<workspace-id>" } }'If the test checks fail, the draft is kept and comes back with the failed checks, so you can patch it and try again. The Idempotency-Key header makes retries safe (a repeated key returns the endpoint the first request created). The OpenRouter Terraform provider wraps all of this in an openrouter_private_endpoint resource, so terraform apply registers, tests, and activates the endpoint and terraform destroy removes it.
Good to know
- Marking an endpoint private doesn’t make it a Zero Data Retention endpoint. Your provider handles prompts exactly as it did before, and OpenRouter records the data policy you declare when you register the deployment.
- A private endpoint can use In-Region Routing if OpenRouter can work out a region from its address, or if you declare one during setup. Requests to us.openrouter.ai or eu.openrouter.ai then route to your deployment inside that region. The In-Region Routing guide lists the supported providers.
- Your provider key has to be saved under BYOK in each workspace that calls the endpoint, and the test request during setup needs it there too.
- Each organization can have up to 10 private endpoints by default, and endpoints that are still being set up count toward that limit.
Get started
Private Endpoints is an add-on to the Enterprise plan. Ask your account representative to enable it for your organization, or talk to the team.
Once it’s enabled, an organization admin can add your first endpoint from the Private Endpoints page in your account or with a Management API key through the Private Endpoints API.
Read the docs for more info.
Original source - Oct 7, 2026
- Date parsed from source:Oct 7, 2026
- First seen by Releasebot:Oct 7, 2026
ElevenLabs is now on OpenRouter
OpenRouter adds ElevenLabs text and speech models, bringing nine Text to Speech options and two Speech to Text options for narration, voice agents, and transcription. It supports direct audio requests with an OpenRouter API key and offers limited-time pricing discounts for customers.
ElevenLabs is now on OpenRouter with nine Text to Speech models and two Speech to Text models.
If your app already talks to a language model through OpenRouter, it can now speak and listen too. Narrate long-form content with direction over tone and delivery with Eleven v4, give your agent faster spoken replies with v4 Turbo, or transcribe conversations with speaker labels with Scribe v2. You don’t need a separate ElevenLabs plan. Just call POST /api/v1/audio/speech and POST /api/v1/audio/transcriptions with your OpenRouter API key.
Every ElevenLabs model is 50% off OpenRouter’s list price for all OpenRouter customers through October 19, 8am PT
Which model to use
Start with three models and reach for the rest when a job needs them:
- Narration, characters, product videos: Eleven v4. Audio tags let the script carry the performance.
- Voice agents and live replies: Eleven v4 Turbo, ElevenLabs built it for real-time use, at half the v4 rate.
- Transcripts, meeting notes, captions: Scribe v2, with speaker labels and word timestamps.
Use Multilingual v2 when long-form audio needs speed control, and Flash v2.5 for high-volume speech of up to 40,000 characters per request. Scribe v2 Medical is fine-tuned for medical terms.
Text to Speech
ElevenLabs prices its models in two tiers. Eleven v4, v3, and Multilingual v2 bill the full per-character rate, and v4 Turbo, v3 Conversational, Flash, and Turbo bill half of it. Current per-character prices are on each model page in the Text to Speech collection.
Speech to Text
Both Scribe models use the same request shape and the same per-second price. Realtime Scribe v2 over WebSocket isn’t part of this launch.
Walkthrough: from a first MP3 to a voice agent
We’ll build a small product tour in three steps. First Eleven v4 narrates it. Then a voice agent answers questions about it, and finally Scribe v2 turns the team’s review meeting into notes that show who said what. If a request doesn’t behave the way you expect, check the tips at the end.
Set your key once:
export OPENROUTER_API_KEY = "your-api-key"Step 1: Narrate a product tour with Eleven v4
Start with one line of narration:
curl https://openrouter.ai/api/v1/audio/speech \ --fail-with-body \ -H "Authorization: Bearer $OPENROUTER_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "elevenlabs/eleven-v4", "input": "[cheerfully] Welcome to the tour. [whispering] Let me show you the shortcut first.", "voice": "george", "response_format": "mp3" }' \ --output intro.mp3voice takes any of ElevenLabs’ 21 premade voices by name (george here); names aren’t case-sensitive. Note the explicit response_format — see Tips for your first requests for both.
The bracketed words are audio tags. Eleven v4 and v3 read tags such as [whispering], [laughing], [sighs], and [curious] as delivery directions instead of speaking them. Tags count toward your billed characters.
A full tour script is longer than one request allows (10,000 characters on v4, 5,000 on v3), so split it on paragraph boundaries. ElevenLabs-only settings go under provider.options.elevenlabs. Pass the neighbouring text as previous_text and next_text so intonation stays consistent across the joins, and fix a seed so reruns are more repeatable.
Step 2: Answer questions with a voice agent
Now let users ask the tour questions out loud. A voice agent chains three models: Scribe v2 for the question, a chat model for the answer, and Eleven v4 Turbo for the reply. ElevenLabs builds v4 Turbo for real-time use, and it bills at half the v4 rate.
Step 3: Turn the review meeting into speaker-labelled notes
When your team meets to review the tour, Scribe v2 can tell you who said what. Upload the recording as multipart, ask for verbose_json with word timestamps, and set diarize under provider.options.elevenlabs. Every word in the response then carries a speaker. If you know how many people were in the meeting, pass num_speakers to improve the split.
Each entry in words has word, start, end, confidence, speaker (an integer), and speaker_label (speaker_0, speaker_1, and so on). tag_audio_events adds entries such as (laughter) alongside the words. Group consecutive words by speaker to get turns, then send the turns to a chat model for a summary and action items.
Uploads are capped at 25 MB, which covers about 27 minutes of 128 kbps MP3.
For longer recordings, pass a public URL and ElevenLabs downloads the file directly, so the 25 MB cap doesn’t apply.
Very long files can still hit the 180-second upstream request timeout, so split recordings that run long.
Tips for your first requests
- Pick a voice by name or ID. For voice, pass any of ElevenLabs’ 21 premade voices by name: george, sarah, adam, alice, bella, brian, charlie, daniel, jessica, roger, will and more (full list on each model page). Names aren’t case-sensitive. To use any other voice, pass its ElevenLabs voice ID as voice — copy it from the ElevenLabs voice library. Voices you clone or design live in your own ElevenLabs account, so use those with BYOK.
- Ask for mp3 when you want a file you can play. If you leave out response_format, our speech endpoint returns raw PCM (16-bit little-endian mono at 24 kHz). That suits an audio pipeline, but most players can’t open it. Set "response_format": "mp3" to get a playable 44.1 kHz, 128 kbps file.
- Use Multilingual v2 or Flash for speed control. Multilingual v2 and Flash take speed from 0.7 to 1.2. Eleven v4 and v4 Turbo have no speed control and reject a non-default speed, so leave it out on those models and change the pacing with audio tags instead.
- Split long scripts. Each model has a per-request character limit (see the model table). Audio tags count toward the limit and toward your billed characters. Split on paragraph boundaries as in step 1, and pass previous_text and next_text so the joins sound natural.
- ElevenLabs-specific settings go under provider.options.elevenlabs. Text to Speech accepts seed, previous_text, next_text, language_code, apply_text_normalization, apply_language_text_normalization, pronunciation_dictionary_locators, voice_settings (stability, similarity_boost, style, use_speaker_boost, speed), and output_format (an ElevenLabs format name such as mp3_22050_32 or pcm_16000; it must match your response_format codec). Speech to Text accepts diarize, num_speakers, diarization_threshold, tag_audio_events, no_verbatim, and seed. num_speakers and diarization_threshold need diarize: true, and you can set one or the other, not both. Use the field names exactly as listed. Keys that aren’t on these lists are ignored; a listed key with a bad value returns a 400.
- Scribe returns three-letter language codes. You can send a two-letter language hint (en). The detected language comes back as an ISO 639-3 code (eng).
Getting started
- Create an OpenRouter API key.
- Make your first request with the curl example in Step 1 above.
- For every parameter, see the Text to Speech and Speech to Text guides.
Text to Speech is billed per character of input, counted as Unicode code points, so an emoji or a CJK character counts once. Audio tags count as characters. Scribe is billed per second of audio, and the usage.cost field on every transcription response tells you what that request cost. We pass through ElevenLabs pricing without markup; see each model page for the current rate.
Already have an ElevenLabs account?
Add your key with BYOK to use your own cloned voices, pronunciation dictionaries, and higher-quality formats such as mp3_44100_192.
Create an OpenRouter API key, or try a model first in the Playground. The Text to Speech and Speech to Text guides have the full request reference.
Original source - Oct 5, 2026
- Date parsed from source:Oct 5, 2026
- First seen by Releasebot:Oct 5, 2026
Server-Side Code Execution Tools for AI Agents, Compared
OpenRouter adds beta server-side code execution with openrouter:shell and openrouter:bash, bringing sandboxed command running to the Responses and Messages APIs. The update highlights isolated containers, network controls, file persistence, and usage-based pricing for short agent workflows.
Say you’re building an agent that answers questions about a CSV a customer uploaded. The model needs to run Python to get the answer. Where does that code run?
One option is to run it yourself. That means a sandbox platform such as E2B or Modal, or your own container on Docker, plus the work of keeping it away from your database and the internet, capping its runtime, and patching the image.
A server-side code execution tool is the other option. You add the tool to your API request, the model decides when it needs to run something, and the provider runs the commands in its own sandbox and returns the output to the model inside the same request. A sandbox here means an isolated Linux container with its own filesystem, a time limit, and no network access by default.
This article covers four providers that offer server-side code execution today, what each sandbox can and can’t do, what it costs in latency and money, and the jobs that still need a sandbox you operate yourself.
Tl;dr
- A server-side code execution tool runs the model’s commands in the provider’s sandbox during your API request. You don’t provision, patch, or secure a container.
- OpenAI, Anthropic, and Google each run code for their own models. Our openrouter:shell tool runs commands for any model on the Responses and Messages APIs, and our openrouter:bash tool does the same on the Messages API only. Both tools are in beta.
- Our sandbox is an isolated container scoped to your account and workspace, with outbound network access off by default and per-command limits on runtime and output size. Sandbox time is billed at $0.0001 per second with a 30-second minimum for a new or sleeping container.
- A sandbox platform you operate yourself is still the right choice for a custom base image, GPU work, or a session that runs for hours.
What server-side code execution means
A model never runs anything itself. When it calls a tool, it emits a request naming the tool and the arguments, and something has to carry that out. With a client-side tool, that something is your application code or the agent framework you build on. Your application receives the call, runs it, and sends the result back in a follow-up request. With a server-side tool, the provider runs the call on its own infrastructure and returns the result to the model in the same request, so your application has no handler for it. Server-side code execution is the second kind.
You may already use tools that work this way. Web search lets a model look something up on the live web, and web fetch lets it read the contents of a URL. In both cases you add one entry to the request and the provider does the rest. Code execution applies the same pattern to running commands.
How a tool call becomes a command that runs
These steps apply to any server-side code execution tool. Where a field name appears, it’s the one our shell tool uses.
- You include the tool in the request’s tools array.
- The model decides it needs to run something and emits a call carrying one or more shell commands.
- The provider runs those commands in order inside a sandboxed container.
- Each command’s standard output, standard error, and outcome go back to the model. The outcome is either an exit code or a timeout.
- The model reads the results and either answers you or runs more commands in the same request.
Steps two through five repeat until the model answers. The model runs something, reads the output, decides whether it needs another command, and goes again. That loop is where a code execution tool earns its place, because the model can check its work against real output instead of guessing.
We cap that loop. The max_tool_calls field sets how many server-tool steps one request may take. Our server tools reference puts both the default and the maximum at 30.
How a hosted sandbox differs from one you run yourself
Running your own sandbox means owning the parts the provider would otherwise own. You pick a base image, provision the compute, wire in an SDK to start runs and read output, and manage each run’s lifecycle. You also own the security boundary.
A hosted tool trades that control for one entry in a JSON array. You don’t size the container, patch it, or operate it. We built openrouter:shell for the case where the work is a handful of short commands per request.
Who offers hosted code execution today
This article covers OpenAI, Anthropic, Google, and OpenRouter. Agent SDKs and dedicated sandbox platforms are separate categories, and both come later in the article. What separates the four providers is which models each one runs code for.
OpenAI runs a hosted shell for OpenAI models
OpenAI’s shell tool runs commands in a container OpenAI manages, on the Responses API. OpenAI documents the hosted runtime as Debian 12 with a default working directory of /mnt/data. Commands run without sudo, and interactive TTY sessions aren’t supported. Preinstalled languages listed in the documentation include Python 3.11, Node.js 22.16, Java 17, PHP 8.2, Ruby 3.1, and Go 1.23.
Hosted containers have no outbound network access by default. To enable it, an organization admin configures an allowlist in the OpenAI dashboard and you set network_policy on the container environment in the request. A container can be reused across requests by passing its id in a container_reference environment, and its expiry is set when the container is created. OpenAI also has a separate code interpreter tool for Python.
Anthropic runs Python and Bash for Claude models
Anthropic’s code execution tool runs Python and Bash in a sandbox Anthropic manages, on the Messages API. The documented environment is a Linux x86_64 container with Python 3.11, 5 GiB of RAM, 5 GiB of workspace storage, and one CPU. Internet access is disabled and no outbound connections are permitted, so Claude works with the preinstalled libraries and can’t install a package during a run.
Three tool versions exist, and every supported model accepts all three. code_execution_20250825 supports Bash commands and file operations. code_execution_20260120 adds Python interpreter state that persists between requests, which depends on Anthropic’s programmatic tool calling and isn’t available on Claude Haiku 4.5. Containers expire 30 days after creation. After about 5 minutes of inactivity a container is checkpointed, and a request with its id inside the 30-day window restores it.
Google runs Python for Gemini models
Google’s code execution tool runs Python in a sandbox Google manages, enabled with a code_execution entry in the request’s tools. The documentation states that the model can only generate and execute Python, that the code environment has a maximum runtime of 30 seconds, and that you can’t install your own libraries. Google publishes the list of libraries the environment includes.
We run a hosted shell for any model
The three tools above each work with one company’s models. Ours works with any model on the Responses and Messages APIs, because we run the sandbox at the routing layer rather than inside one model provider.
We ship two code execution tools. openrouter:shell mirrors the shape of OpenAI’s hosted shell tool and works on both the Responses API and the Messages API. openrouter:bash mirrors the shape of Anthropic’s bash tool and works on the Messages API only.
Both tools are in beta, so the API may change. Sandboxed execution runs on the global openrouter.ai endpoint only. The in-region endpoints don’t offer the shell tool, and Chat Completions rejects both tools with a 400 that names the APIs that do support them.
Set engine to openrouter on either tool and the commands run in our sandbox. The default engine is auto. For openrouter:shell, auto keeps a provider’s native hosted shell where one exists and routes to our sandbox otherwise. For openrouter:bash, auto returns the tool call to your application to run client-side, and nothing executes on our servers.
Run a command in our sandbox
Here is a complete request that runs two commands and reads the results back.
[Code example omitted]
We ran this request on September 22, 2026. The model sent both commands in one shell call, and each command came back with its own outcome. The full os-release output runs to several lines and is trimmed to its first two here.
[Output example omitted]
The sandbox reported Ubuntu 22.04.5 LTS with Python 3.11.14 on that date. The runtime image can change, so read the version from the container rather than hard-coding it. The server tools reference covers the remaining parameters.
Agent SDKs that wrap a sandbox for you
If you build on an agent SDK rather than calling an API directly, some SDKs wrap one of these tools.
The OpenAI Agents SDK ships CodeInterpreterTool, which runs code in OpenAI’s sandbox, and ShellTool, which runs either in your local runtime or in an OpenAI-hosted container depending on how you configure its environment. Check which mode you configured before assuming a command ran remotely. On our side, openrouter:shell is an entry in the tools array like any other, so it goes into an OpenRouter Agent SDK loop the same way it goes into a raw request.
What still needs a sandbox of your own
A hosted tool fits short, bounded work such as running a script, transforming a file, or checking a result. Anything that needs a specific base image or a GPU falls outside all four hosted tools and needs a sandbox platform you run yourself.
Comparison
Every hosted-tool cell comes from the vendor’s own documentation linked above, except the OpenRouter runtime cell, which is what the sandbox reported when we ran the request above. The self-managed column describes a sandbox you run yourself rather than any one platform.
[Comparison table omitted]
What our sandbox enforces
The point of a sandbox is that you don’t have to trust the model. A command you never intended can’t reach the network or anyone else’s container, and it stops at a hard limit on how long it runs and how much it prints. Everything in this section describes our sandbox. The table above shows where the other three differ.
The limits that apply to every command
We run each command in an isolated container, separate from the infrastructure serving your request and from your machine, and scoped to your account and workspace. You set your own ceilings with timeout_ms for how long a command may run and max_output_length for how much it may print.
timeout_ms defaults to 120,000 ms and can’t exceed 300,000 ms.
max_output_length defaults to 16,384 characters per stream and can’t exceed 65,536. A shell call with more than 100 commands is rejected.
Outbound network access is off unless you turn it on. We checked this on September 22, 2026 by sending a request with no network_policy and asking the model to fetch https://example.com with curl, printing only the HTTP status code and giving up after 5 seconds. The command printed 000, which is what curl prints when no response arrives, and exited with code 28, a curl timeout.
[Output example omitted]
To open the network, set a network_policy allowlist of up to 50 hostnames or glob patterns. Only ports 80 and 443 are reachable, and the policy is fixed when the container starts.
pip install needs both pypi.org and files.pythonhosted.org in the allowlist.
Prompt injection and what the sandbox limits
Giving a model a shell exposes you to prompt injection. If your agent reads a web page, a support ticket, or a file someone uploaded, an attacker can hide instructions in that text telling the model to ignore your prompt and run something else.
The limits above apply whether the model is following your prompt or an attacker’s. A command run under an injected instruction can’t reach any host outside the network_policy you configured, and has no network access at all when you leave the policy off. It can’t reach another tenant’s container, and it stops at the same timeout. An allowlist widens what an injected command can reach, and allowed_domains: ["*"] permits unrestricted egress, so keep the allowlist to the hosts the job needs.
You can also detect an attempt that arrives in the request itself. Prompt-injection detection in a workspace guardrail checks the user-supplied message content of each incoming request against regex patterns for common injection techniques, before we forward the request to the model. It doesn’t inspect what a server tool fetches after that point, so a page, file, or command output the model reads through a tool needs a control of your own, such as reviewing the sandbox output your application receives. A match does one of three things, depending on the action you configure.
- Flag records the detection and forwards the request unchanged.
- Redact replaces the matched span with [PROMPT_INJECTION] and forwards the sanitized request.
- Block rejects the request with a 403 before it reaches the model.
Where more than one guardrail applies, the strictest action wins, in the order block, redact, flag. The detection isn’t exhaustive and can produce false positives, so measure the match rate against your own traffic in flag mode before you enforce redact or block. You can report a false positive from the Logs page.
What a hosted sandbox costs you in seconds and dollars
A hosted sandbox adds seconds to a request and leaves you with no infrastructure to run. It also gives you a container you can return to.
Files survive between requests
Commands run in /workspace/home, and we save the changed files under that directory after every command. Send a stable session_id, or set a container id in the tool’s environment configuration, and every request with that id reaches the same container and the same files. A session_id must use only letters, digits, _, and -. An id with any other character is ignored, and we pick the container as if you sent no session_id, which means the most recent container_id in the replayed conversation if there is one, and otherwise a new container for that request. When a session_id is longer than 20 characters, we use only the last 20, so two long ids that end the same way share a container. A container_reference id can be 1 to 40 characters from the same set and isn’t truncated, so use it when you need the id to be exact. We confirmed this on September 22, 2026 by writing a file in one request and reading it back in a second request that shared the same session_id.
A container sleeps after 5 minutes idle, and the idle time isn’t configurable. Sleep doesn’t delete the files. When a request with the same id arrives later, a new sandbox starts and loads the saved files first. Open processes, environment variables, and installed system state aren’t restored, so treat a woken container as a fresh machine that has your files on it. Saved files are kept for 30 days after the container was last used. To pull an artifact out, GET /api/v1/containers/{container_id}/files lists what a container produced, and the promote endpoint copies a file into your workspace documents, where it doesn’t expire.
What you can review afterward
Each shell tool result in the response carries the commands the model ran and each command’s stdout, stderr, and outcome, so your application can log them the same way it logs the rest of the response. Input & Output Logging stores your prompts and completions on OpenRouter for review on the Logs page, and guardrail detections appear there too. For production monitoring, Broadcast streams traces to an external observability platform as requests complete.
If you route in-region, the shell tool isn’t available and Input & Output Logging is skipped, even when it’s enabled. Broadcast supports in-region routing, and each destination is configured with the data regions it receives traces from.
What the round trip costs you
A request that runs a sandboxed command takes longer than the same request without one. In a set of single requests we sent on September 22, 2026, a request with no shell tool returned in about 2 seconds, and requests that made one shell call returned in 8 to 21 seconds depending on the model. Those are single samples from one session, not a benchmark. Budget for several seconds of overhead per shell call.
Sandbox time is billed at $0.0001 per second. The clock starts when a request first runs a sandbox command and stops when the response completes. A request that starts a new or sleeping container is billed a minimum of 30 seconds, and later requests that reuse the same warm container pay only their metered time. The request above started a new container, and its usage object reported a server_tool_cost of 0.003, which is the 30-second minimum. A container that is idle between requests isn’t billed.
Change the model without touching your tool code
Swap the model and your tool definition stays the same.
We sent one request body six times on September 22, 2026, changing only the model field, and asked each model to run python3 -c "print(sum(range(1, 101)))" in the sandbox. Each model made one shell call and returned 5050.
All six ran in the same sandbox with the same tool definition, whatever their own provider offers natively, because the sandbox belongs to us and not to the model’s provider. Test the model you plan to use before you build on it, because tool-calling reliability differs between models. Our tool calling guide covers how server tools and your own function tools share one tools array.
When you want a sandbox platform of your own
Choose a dedicated sandbox platform when you need something a hosted tool doesn’t give you.
Modal documents sandboxes built from custom images with a configurable lifetime of up to 24 hours and GPU resources.
Daytona documents sandboxes created from a public container image, including GPU sandboxes.
E2B documents sandboxes that run for up to 24 hours on its Pro plan and 1 hour on its base plan, with pause and resume for longer workloads.
Conclusion
For short, bounded commands inside a model request, use a hosted tool. You add one entry to the tools array and get an isolated container with outbound network access off, and you pay for inference plus the seconds the sandbox runs. Budget several seconds of overhead per shell call and reuse a container where you can.
Move to a sandbox platform you operate when a job needs a custom base image, a GPU, a session that runs for hours, or ownership of the security boundary itself. In either case, check the provider’s current documentation before you commit, because our two tools are in beta and the other three providers’ tools change too.
Frequently asked questions
Is there a hosted sandboxed shell tool that models can call directly during a request?
Yes. Our openrouter:shell server tool gives a model a sandboxed Linux shell that runs on our infrastructure during the request, on both the Responses API and the Messages API. Set engine to openrouter and the commands run in an isolated container, with each command’s stdout, stderr, and exit or timeout outcome returned to the model. OpenAI, Anthropic, and Google each offer a hosted code execution tool for their own models.
Can I give a model a sandboxed shell it can run commands in?
Yes. Add {"type": "openrouter:shell", "parameters": {"engine": "openrouter"}} to the tools array of a Responses or Messages API request. The model can then emit shell calls, and we run the commands in an isolated container and return each command’s output to the model. The container has no outbound network access unless you configure a network_policy allowlist.
What SDKs or platforms provide server-side code execution out of the box?
Our openrouter:shell server tool runs commands for any model on the Responses and Messages APIs, and our openrouter:bash server tool does the same on the Messages API only. OpenAI, Anthropic, and Google each run code for their own models through the Responses API shell tool, the code execution tool, and the Gemini API code execution tool. The OpenAI Agents SDK wraps OpenAI’s hosted tools as CodeInterpreterTool and ShellTool. E2B, Modal, and Daytona are sandbox platforms you integrate and operate yourself rather than tools a provider runs inside the API call.
Which sandbox is best for AI agents?
It depends on how long the work runs and how much control you need over the runtime. For short commands inside a request, a hosted tool such as openrouter:shell means you run no infrastructure. For a custom base image, GPU access, or a session that runs for hours, a sandbox platform you operate, such as Modal or Daytona, gives you those controls.
How do you sandbox an AI agent?
You run the agent’s commands in an environment isolated from your own systems and limit what that environment can reach. With a hosted tool the provider does this. On OpenRouter, containers are isolated from our infrastructure and from your machine, scoped to your account and workspace, outbound network access is off by default, each command is bounded by timeout_ms, and output is capped by max_output_length. Workspace guardrails add prompt-injection detection in front of the model.
What is a sandboxed AI tool?
It’s a tool whose side effects are confined to an isolated environment rather than your production systems. For code execution, the model’s commands run in a container with its own filesystem, restricted network access, and a time limit, and only the command output travels back to the model. Our shell and bash server tools work this way.
References
- Server tools reference
- Shell server tool
- Bash server tool
- Containers
- Guardrails and prompt-injection detection
- Input & Output Logging
- Tool calling guide
- Responses API tool calling
- Model catalog
- Oct 2, 2026
- Date parsed from source:Oct 2, 2026
- First seen by Releasebot:Oct 2, 2026
Model Router Benchmarks
OpenRouter introduces a new Model Router Benchmarks page that compares router options on quality, speed, and cost, with a Router Index to help users choose the best fit. The page also highlights how different routing styles work and invites users to try routers through the API or apps.
Today we’re introducing a new Model Router Benchmarks page for comparing performance across the growing number of router options. Every router was run through a set of benchmarks from varied domains to score them on quality, speed, and cost.
Individual models representing both best-in-class cost efficiency and intelligence are shown alongside routers as a baseline for comparison. Keep an eye on this page over time, as we’ll continually add new routers and update scores as the routers improve.
OpenRouter introduced two of the first model routers with our Auto Router and Free Models Router. They were created so you’d have a dependable option that stays up to date with the latest models, at your preferred level of cost. Since then we’ve continually improved them, including by using the wisdom of the market to inform routing decisions.
In recent months, many routers launched that use the differing strengths across the model landscape to optimize performance.
Cost differences: For example, comparing DeepSeek v4 Flash with GPT-6 Astra, GPT-6 Astra’s average price paid per token is over 48x higher, and it’s 21x more expensive to run an average 10 to 49 turn session in Codex. Routers can switch parts of a task to a lower-cost model to save on cost.
Task diversity: For example, the model that performs best on legal research may not be the same as the model that’s best for coding. Routers can switch between them to leverage each model’s strengths.
Session stage: Different parts of an agentic session may require different levels of intelligence. Routers can switch between models or reasoning efforts to adjust for parts of a session that require complex planning or mundane execution.
In practice, these techniques each have challenges that can sometimes lead to worse performance than using a single model directly:
- Switching between models means requests get more expensive while the input cache is rebuilt.
- Routers often don’t have enough information to assess task complexity by simply looking at the prompt.
- Heuristic signals for session stage may not agree with the model’s next step.
- The more processing you run on the routing decisions, the more latency is introduced.
We offer these Model Router Benchmarks to show which routers overcome these inherent challenges so you can decide when (and if) it’s the right time to put them to use. They’re designed to help you find the router and model combination that matches the performance characteristics you need.
Types of routers
The term “router” is used interchangeably to mean many different things. Let’s break it down.
Provider routing: Models are usually served by several inference providers, so a provider router picks the one that fits your preferences for price, speed, uptime, and data policy, then falls back to another if it fails. This is what OpenRouter has done since day one.
Model routing: Instead of choosing a single model directly, you can send a request to a router such as the Auto Router, and it decides which model should answer. These behave just like models, but may use one or more models to respond to your request.
The model routers we benchmarked take a few different approaches:
Routers that execute a blend of models: Unbiased’s Pareto and Sakana’s Fugu are inference providers that use a blend of models, sometimes with frontier escalation. They don’t disclose the models used or how often switching happens, and they bill at standardized per-token rates.
Routers that select a model: Auto Router and Jev Router select a model for each turn. The model selection is transparent, and you’re billed at the standard rate for whichever model was selected.
Routers that swap between a pre-defined set of models: NVIDIA’s Switchyard pairs a cheaper model with a stronger one and switches between them as an agent works through a task. Several pairs were benchmarked to show which models work best together, but you can run it with any pairing you want.
There are a couple of other styles, such as Pareto Code or the -latest model slugs, that alias to a single model. Pareto Code picks the most cost-optimal model for your desired level of intelligence, and the -latest slugs point to the most recent model within a family. Fusion is another style that runs the same request across a council of models and synthesizes the best answer. These styles weren’t benchmarked because they serve specialized purposes that warrant different comparison methods.
Router Index blends quality, speed, and cost
Benchmarks reveal performance across several dimensions, making it hard to tell which router performed best. The Router Index synthesizes quality, speed, and cost into a 0 to 10 score for each benchmark. By default, it weights quality (benchmark score) at 60%, time per task at 20%, and cost at 20%. Your priorities may differ, so you can drag a slider on the page to adjust the index weights.
Try any of these routers by simply swapping them in for your model
As with any benchmark, our Model Router Benchmarks are only representative of general tasks rather than your own work. All of the routers listed are available on OpenRouter. Swap them in for your model in any app, harness, or through our API.
Original source - Sep 28, 2026
- Date parsed from source:Sep 28, 2026
- First seen by Releasebot:Oct 1, 2026
Manage and de-risk your API keys with new Security Center
OpenRouter introduces Security Center, a new hub for auditing and managing keys across workspaces, spotting risky or unused keys, and taking bulk actions like disable, archive, or cap. It also adds a dedicated IP allowlist tab to lock keys to approved networks.
Dealing with a leaked key is stressful
The fewer old keys you have, the fewer can leak. That’s why we built Security Center. It’s one place to see every key across your workspaces, spot the risky ones, and disable, archive, or cap hundreds at once.
It’s available on all OpenRouter plan types. Try it under Settings > Security.
1,000+ keys across 85 employees
The obvious defense against leaked keys is to have fewer of them. So we audited our own OpenRouter org, and because we build OpenRouter on OpenRouter, there was a lot to audit.
We found over 1,000 active keys for 85 employees. Many had no spend limit and 168 hadn’t been used in months, belonging to employees who had completely forgotten about them.
If a team our size ended up with this much key sprawl, you probably have some too.
What the Security Center shows you
The Security Center has three tabs: Overview, Key safety, and IP allowlist.
The Overview counts your keys in four groups: no spend limit, never expires, unused or idle for 90+ days, and safe to remove. Below the counts, it lists recommendations for what to fix first:
- Remove unused keys. Ask each owner to confirm, then archive.
- Set a spend limit. A limit caps what a leaked key can spend.
- Review keys without expiration. Replace them with expiring keys, or remove the ones no one needs.
- Turn on key spend alerts. Get an email when a key crosses a share of its spend limit.
- Enforce a maximum key lifetime. Requests from keys that never expire, or outlive the limit, get rejected (existing keys included).
If nothing needs attention, the page says so.
Key safety: every key in one list
Key safety lists every key that can still make requests, across every workspace on your account. Until now, keys lived on each workspace’s own page. The list includes MCP and management keys, with owner, last use, spend limit, and expiration side by side. Admins see every key; members see the keys they created.
Each key gets a risk score based on what a leaked copy could do, which comes down to its spend limit and expiration.
Usage sets a separate status label. A key with no recorded usage, or idle for six months with under $1 of lifetime spend, is marked ‘Safe’ to remove. Recent or meaningful usage is ‘In use’. Keys in between get labeled under ‘Review’ meaning they’ve been used, but not much and not lately. For example, $3 of lifetime spend and no requests in five months. Someone probably wired that key into something once, so check who depends on it before you archive.
Clean up in bulk
You can also take bulk actions. Filter by risk or idle time, then select up to 500 keys and disable, archive, or add a spend limit to all of them. Disabling is reversible, archiving isn’t, and adding a limit never overwrites one someone already set.
Admins can also copy a CSV of any recommendation’s keys and owners to hand to a script or an agent.
The Security Center works from key metadata, spend, limits, and expiry. It never reads your prompts or completions.
Lock keys to your own network
The IP allowlist, which used to live in privacy settings, now has its own tab. It controls where a key works. Add the addresses your servers, office network, and CI runners call from, and OpenRouter rejects any request from an address outside that list with a 403 Forbidden.
The list applies to every key in your account or organization, including the ones you created years ago, and changes take effect immediately. Entries can be a single IPv4 or IPv6 address or a CIDR range, each with a label so you remember what it covers.
The IP allowlist is available to organization admins on Enterprise plans.
How we contain our key risk
Since our audit we’ve implemented some best practices to keep our keys in check:
- Clean up on a schedule. Start with Safe to remove keys, confirm with their owners, then archive.
- Check keys when someone leaves. Filter by owner and archive or auto-revoke (via SCIM) the keys no one took over.
- Give every key a limit and an expiration. If a leak does happen, setting a cap and expiration contains the blast radius.
- Pin production keys to known addresses. If you’re on a Pro or Enterprise plan, put your servers and CI runners on the IP allowlist.
- Rotate keys that stay in use. The key rotation guide walks through the order.
Getting started
The Security Center is available on all plan types. You can find it under Settings > Security.
Check out the docs to learn more.
Original source - Sep 28, 2026
- Date parsed from source:Sep 28, 2026
- First seen by Releasebot:Sep 28, 2026
What Is Qwen 3.8
OpenRouter adds Qwen 3.8 models, including hosted Max and Flash plus downloadable 27B and 2.4T A95B variants. The release highlights new license options, long context support, image and video input on select models, and pricing across providers.
Qwen 3.8
Qwen 3.8 is Alibaba’s model generation released in August 2026. Four models share the name, and they differ in ways that matter before you pick one. You can download Qwen3.8 27B under Apache 2.0 and Qwen3.8 2.4T A95B under the Qwen3.8-Max License. Qwen3.8 Flash has no repository of its own, but Qwen3.8-Flash-Next, the model it is based on, is downloadable under the Qwen Community License 1.0. Qwen3.8 Max has no public weights.
Alibaba announced Qwen3.8-Max as the hosted model of the generation. The QwenLM/Qwen3.8 release notes record the Qwen3.8-2.4T-A95B weights arriving on Hugging Face on 12 August 2026 and the 27B weights on 14 August 2026. The 2.4T model card describes this as the first open release of a Qwen-Max-class model.
The model you can download is not the same as the model you can call. Alibaba’s model card describes Qwen3.8-Max as the hosted version of Qwen3.8-2.4T-A95B with added features, including vision input, non-thinking mode, a 1,000,000-token default context, and built-in tools. The same relationship holds for Flash. Alibaba describes Qwen3.8-Flash as the hosted version of Qwen3.8-Flash-Next with a 1,000,000-token default context and built-in tools.
We route all four. This post covers what each model is, which ones you can download, what the licenses require, and what each one costs to run.
The four Qwen 3.8 models
Prices are US dollars per million tokens, prompt then completion, from our model catalog on 11 September 2026. The 27B price is a range because 14 providers serve it at different rates. Six of the seven 2.4T providers charge $2 / $6, and Venice charges $2.50 / $7.50.
Model Weights License Input Context, native / largest hosted Price qwen/qwen3.8-max-0902 API only Proprietary Text, image, video Not published / 1,000,000 $2 / $6 qwen/qwen3.8-2.4t-a95b Hugging Face Qwen3.8-Max License Text 262,144 / 1,048,576 $2 / $6 qwen/qwen3.8-27b Hugging Face Apache 2.0 Text, image, video 262,144 / 1,000,000 $0.15 to $0.45 / $2.00 to $3.20 qwen/qwen3.8-flash Hugging Face, as Qwen3.8-Flash-Next Qwen Community License 1.0, on Qwen3.8-Flash-Next Text, image, video 262,144 on Qwen3.8-Flash-Next / 1,000,000 $0.15 / $0.47The model ID qwen/qwen3.8-max is an alias. It currently resolves to qwen/qwen3.8-max-0902, the snapshot dated 2 September 2026. Use the dated ID if you want the request to keep hitting the same snapshot after Alibaba publishes a new one.
The context column shows two numbers because they measure different things. The first is the window the model was trained on, which Alibaba publishes for the open-weight models and does not publish for Max. The second is the largest window any provider in our catalog offers, and it is larger because the window can be extended past the trained length. The Qwen3.8-27B model card describes extending the 27B to 1,000,000 tokens with YaRN, a RoPE scaling technique, and notes that static YaRN can reduce performance on shorter inputs. Whether a provider extends the window, and how, is that provider’s decision, so the ceiling you get depends on where we route your request.
If you use prompt caching, the cache rates differ by model and provider. Max charges $0.25 per million tokens to read from the cache and $2.50 to write to it. Flash charges $0.016 to read and, on Alibaba, $0.20 to write. The 2.4T charges $0.25 to read on most providers and lists a write rate only on Alibaba, at $2.50. The 27B cache read rate ranges from $0.032 to $0.18 across the providers that offer it, and only Alibaba lists a write rate, at $0.53.
Is Qwen 3.8 open source?
Partly, and the answer depends on which model you mean.
You cannot download Max. It has no Hugging Face repository. Max runs on Alibaba’s servers and you reach it through an API.
You can download the 2.4T, and its license adds conditions at scale. Qwen/Qwen3.8-2.4T-A95B is the instruction-tuned model with 2.4 trillion total parameters and 95 billion active per token. It does not use Apache 2.0. Qwen wrote the Qwen3.8-Max License for it. The Hugging Face metadata records the license as "other" with the name "qwen3.8-max".
The license grants the rights to use, copy, modify, distribute, sublicense, sell, deploy, host, fine-tune, and create derivative works, subject to two conditions:
- Attribution: If a commercial product or service built on the model has more than 100,000,000 monthly active users or more than US$20,000,000 in monthly revenue, the model name must be prominently displayed in its user interface.
- Separate license for large model-as-a-service businesses: If you or your affiliates run a Model as a Service or AI Work Assistant business, and your aggregate revenue exceeds US$50,000,000 in any consecutive twelve months, you need a separate license from Qwen before any commercial use. This condition does not apply to internal use that does not make the model, its outputs, or its capabilities available to a third party.
The license defines Model as a Service as giving a third party access to model inference or fine-tuning in a way that lets them control the inputs, parameters, or training data. It excludes relaying requests to models hosted by others. It defines AI Work Assistant as an independent product primarily designed for AI-assisted coding or office productivity.
You can download the 27B under Apache 2.0. Qwen/Qwen3.8-27B records apache-2.0 in its Hugging Face metadata. Apache 2.0 is on the Open Source Initiative approved list and carries no revenue or user-count conditions.
Flash has open weights under a different name and a third license. There is no repository for Qwen3.8 Flash. There is one for Qwen3.8-Flash-Next, which Alibaba describes as an experimental preview of the architecture that will underpin Qwen4. Its license is the Qwen Community License 1.0. It has the same attribution condition as the Qwen3.8-Max License, and it requires a separate license from Qwen for any Model as a Service or AI Work Assistant business before commercial use, with no revenue threshold.
Two of the three open-weight models therefore ship under licenses that Qwen wrote and that are not OSI-approved. Open weights means you can download and inspect the checkpoint. It does not mean the license is open source.
Qwen 3 is an earlier generation
Qwen 3 is not the version before Qwen 3.8. Qwen 3 was released in April 2025, and Qwen 3.5, Qwen 3.6, and Qwen 3.7 shipped between the two. Qwen 3.8 follows Qwen 3.7. A license term that applied to a Qwen 3 model does not tell you anything about the four models in this post.
Can you run Qwen 3.8 locally?
You can run the 27B on your own hardware. The 2.4T requires multi-GPU infrastructure.
The 2.4T is a mixture-of-experts model. Only 95 billion parameters are active on any one token, but all 2.4 trillion parameters have to be loaded, because the model selects a different set of experts for each token. The number your hardware has to hold is 2.4 trillion. The README in the QwenLM/Qwen3.8 repository shows serving commands for the 27B only.
The 27B is a dense model with 27 billion parameters. At bf16, two bytes per parameter, the weights occupy about 54 GB, and about half that at fp8. Alibaba’s serving examples run it across four GPUs at the full 262,144-token native window using SGLang, vLLM, or TokenSpeed.
Serving it at 1,000,000 tokens requires the YaRN override described in the model card, and the model card advises changing the RoPE parameters only when you need the longer context.
The open weights of the large model only read text. The hosted Max accepts images and video, and so does the open-weight 27B. The open-weight 2.4T does not. When we sent an image to qwen/qwen3.8-2.4t-a95b on 11 September 2026, the request failed with HTTP 404 and the message "No endpoints found that support image input". The same request to qwen/qwen3.8-27b and qwen/qwen3.8-flash succeeded.
On text, the open weights score close to Max.
These scores come from Artificial Analysis, an independent benchmarking organization, and we publish them on each model’s page. We retrieved them on 11 September 2026. Artificial Analysis measures a dated snapshot of each model, so the Max row is the 2 September 2026 snapshot and the 27B row was measured at xhigh reasoning effort. The scores will move if Artificial Analysis remeasures a model or if you run the model at a different reasoning setting.
The 2.4T is 0.3 points behind Max on the Intelligence Index, 0.1 ahead on the Coding Index, and 0.8 ahead on the Agentic Index. The 27B is behind Max by 6.4, 3.7, and 3.1 points respectively.
If you want Max-class weights to self-host a workload that reads screenshots, the 27B is the model that reads images.
Choosing a model
Use these facts to narrow the choice.
- If you need image or video input and want to hold the weights, the 27B is the only open-weight Qwen 3.8 model in our catalog that accepts them. It is Apache 2.0.
- If you need image or video input and want the highest Artificial Analysis scores in the family, Max scores highest on the Intelligence Index.
- If you want the lowest per-token price, Flash is $0.15 per million prompt tokens and $0.47 per million completion tokens, and it accepts images and video. You cannot download Qwen3.8 Flash itself, only Qwen3.8-Flash-Next.
- If you work with text and want to hold the weights, the 2.4T is the open-weight variant of Max. Check the license thresholds above against your own numbers.
- If you work with text and do not want to host anything, Max and the 2.4T cost the same through us on six of the 2.4T’s seven providers, so the difference is whether you need image input.
How to call the Qwen 3.8 models
Change the model ID and the rest of the request stays the same. This example uses the TypeScript SDK.
To send an image, pass an array of content parts instead of a string.
The same request to qwen/qwen3.8-2.4t-a95b fails, because none of its providers accept image input.
What affects the cost
Two things change your bill beyond the listed rates. The models reason before they answer, and you pay for the reasoning tokens. The provider we route you to sets the price.
Reasoning is on by default
All four models reason before answering by default. Reasoning tokens are billed at the completion rate, which is the higher of the two rates. See reasoning tokens for how the reasoning parameter works.
The share of your output that is reasoning can be large. We asked the 27B through Alibaba, three times, to explain in two sentences why fp8 quantization changes a model’s output. Reasoning tokens were 74% of the completion tokens on each run, at 128 of 174, 171 of 231, and 181 of 243. On an image description request to the same model, 87 of 121 completion tokens were reasoning.
Whether you can turn reasoning off depends on the model and the endpoint. On 11 September 2026 we sent reasoning: { effort: 'none' } to each model.
Model Result of effort: 'none' qwen/qwen3.8-max-0902 HTTP 400, Reasoning is mandatory for this endpoint and cannot be disabled. qwen/qwen3.8-2.4t-a95b HTTP 400, same message qwen/qwen3.8-27b HTTP 200, zero reasoning tokens qwen/qwen3.8-flash HTTP 200, zero reasoning tokensAlibaba’s model card lists non-thinking mode as a feature of the hosted Max, but the Alibaba endpoint we route to rejects the request. The 27B result covers the routes we tested, which were Alibaba and Chutes. The Flash result covers Makora. Other providers can behave differently, so check the response usage field when you rely on reasoning being off.
To disable reasoning on the 27B, add one field.
We ran the fp8 question three times with reasoning on and three times with it off, both through Alibaba. With reasoning on, the runs averaged 216 completion tokens and $0.00058 per call. With it off, they averaged 61 completion tokens and $0.00017 per call. That is roughly 70% less, whether you count tokens or dollars.
Max and the 2.4T still accept the other effort values. Requests with effort set to max, high, and minimal returned HTTP 200 on all four models in the same test run, so you can control how much they reason. You cannot stop them on the current endpoints.
Provider pricing and context limits
Max has one provider in our catalog, Alibaba. Flash has two, Alibaba and Makora. The 2.4T has seven. The 27B has 14, and they do not charge the same. On 11 September 2026, 27B prompt prices ran from $0.15 to $0.45 per million tokens and completion prices from $2.00 to $3.20. The current list is on the model page, and it changes, so treat the figures here as a snapshot.
The 27B providers do not all serve the same context either. Two of the 14 offer the 1,000,000-token window, one stops at 65,536, and the rest stop at 262,144. A request carrying 400,000 tokens of input has to be routed to a provider that accepts it. Providers also quantize differently. Most of the 14 list fp8, one lists fp4, and several list their quantization as unknown. The weights behind one model ID are not identical from provider to provider, and the Artificial Analysis scores above describe the model as measured by Artificial Analysis, not any particular provider’s copy.
No single figure describes what the 27B costs. Pin a provider if the number matters to you. You can pick a provider with the order field and switch off fallbacks. Provider routing has the full set of controls.
Reasoning tokens are not itemized everywhere. In our test on 11 September 2026, Chutes returned the model’s reasoning text but reported zero reasoning tokens in usage, three runs out of three. Alibaba, CoreWeave, and Novita reported non-zero reasoning token counts on every run. You pay for those tokens either way, so a dashboard that sums reasoning_tokens across providers will undercount.
Going direct to the 27B providers would mean 14 accounts and 14 integrations. Through us it is one model ID in the request, and when a provider slows down or returns an error, we route the request to another one.
FAQ
Is Qwen 3.8 open source?
Partly. Qwen3.8 27B is published under Apache 2.0. Qwen3.8 2.4T A95B is published under the Qwen3.8-Max License, which Qwen wrote and which adds conditions at scale. Qwen3.8 Flash has no repository of its own, but the model it is based on, Qwen3.8-Flash-Next, is published under the Qwen Community License 1.0. Alibaba describes the -Next model as an experimental preview of the architecture planned for Qwen4, and Qwen3.8 Flash as its hosted version, so the suffix marks a preview release rather than a second Flash model. Qwen3.8 Max has no public weights.
Is Qwen 3.8 free to use?
You can download Qwen3.8 27B, Qwen3.8 2.4T A95B, and Qwen3.8-Flash-Next from Hugging Face and run them on your own hardware without a per-token fee. Qwen3.8 Max is available only through an API. Calling any of the four through OpenRouter is billed per token.
Can I use Qwen 3.8 commercially?
Qwen3.8 27B is Apache 2.0. Qwen3.8 2.4T A95B allows commercial use with two conditions. If your product exceeds 100,000,000 monthly active users or US$20,000,000 in monthly revenue, you must display the model name in its interface. If you or your affiliates run a Model as a Service or AI Work Assistant business with aggregate revenue over US$50,000,000 in any consecutive twelve months, you need a separate license from Qwen before commercial use. The Qwen Community License 1.0 on Qwen3.8-Flash-Next has the same attribution condition and requires the separate license for any Model as a Service or AI Work Assistant business, with no revenue threshold. The conditions are set out in the Qwen3.8-Max License and the Qwen Community License 1.0 files.
Do the open Qwen 3.8 weights accept images?
Qwen3.8 27B accepts text, images, and video. Qwen3.8-Flash-Next is a causal language model with a vision encoder. Qwen3.8 2.4T A95B is text only. On OpenRouter, an image request to qwen/qwen3.8-2.4t-a95b returns a 404 with the message "No endpoints found that support image input".
Was Qwen 3 the release before Qwen 3.8?
No. Qwen 3 was released in April 2025. Qwen 3.5, Qwen 3.6, and Qwen 3.7 were released between Qwen 3 and Qwen 3.8. Qwen 3.8 follows Qwen 3.7.
Can I turn off reasoning on Qwen 3.8?
It depends on the model and endpoint. On OpenRouter, qwen/qwen3.8-max-0902 and qwen/qwen3.8-2.4t-a95b rejected reasoning: { effort: 'none' } with a 400 error stating that reasoning is mandatory for the endpoint. qwen/qwen3.8-27b and qwen/qwen3.8-flash accepted it on the routes we tested and returned zero reasoning tokens. In our test, disabling reasoning on the 27B cut the cost of the same prompt by roughly 70%.
References
- Qwen, Qwen3.8-Max announcement.
- Hugging Face, Qwen/Qwen3.8-2.4T-A95B and its LICENSE.
- Hugging Face, Qwen/Qwen3.8-27B.
- Hugging Face, Qwen/Qwen3.8-Flash-Next and its LICENSE.
- GitHub, QwenLM/Qwen3.8.
- OpenRouter, Qwen3.8 Max, Qwen3.8 2.4T A95B, Qwen3.8 27B, and Qwen3.8 Flash model pages.
- OpenRouter, Reasoning tokens, Provider routing, Prompt caching, and Image inputs.
- Artificial Analysis, independent model benchmarks, retrieved 11 September 2026.
- Sep 22, 2026
- Date parsed from source:Sep 22, 2026
- First seen by Releasebot:Sep 22, 2026
Batch API: half-price inference by bundling requests
OpenRouter adds a new Batch API for asynchronous large-scale workloads, letting users submit jobs for up to 24-hour completion windows at lower per-token prices. It supports 70+ models, chat, responses, messages, and embeddings, with per-request results and logging built in.
How the Batch API works
For large batches of work or requests that don’t need to be completed immediately, you can now use the new batch API. When submitting a batch, a provider gets to choose when during a 24 hour window they will complete the request, and in exchange they generally charge 50% (and sometimes less) of their normal per-token price.
It works today on more than 70 models. Learn how to use it in the Batch API docs.
In practice, we’ve observed you rarely wait anywhere near 24 hours. Across 230k+ batches that completed over our two week beta period, the median finished in 7 minutes and 90% finished within an hour.
Batch is an asynchronous API for workloads where you can accept highly variable response times, such as labeling a corpus, back-filling embeddings, scoring an eval set, summarizing a backlog of tickets, or running the same prompt across a few thousand rows overnight.
Call api/v1/batches with your list of requests and specify what endpoint shape to use. Chat completions, responses, messages, and embeddings are all supported. For example:
curl https://openrouter.ai/api/v1/batches \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $OPENROUTER_API_KEY" \ -d '{ "endpoint": "/v1/chat/completions", "model": "google/gemini-3.8-flash", "requests": [ { "custom_id": "ticket-0001", "body": { "messages": [{ "role": "user", "content": "Summarize this ticket in one sentence." }] } }, { "custom_id": "ticket-0002", "body": { "messages": [{ "role": "user", "content": "Summarize this ticket in one sentence." }] } } ] }'After the request, begin polling GET /api/v1/batches/:id until the status is completed, failed, expired, or cancelled. Completed batches return their results inline in the same response.
Most batches finish in minutes
We looked at the batches that completed during our two week beta period and measured the time from acceptance to finished results. The median was 7 minutes, the 90th percentile was 1.0 hour, and the 99th percentile was 10.3 hours. We also found that the time of day you submit matters more than how many requests you send.
Batches submitted between 5am and noon Pacific are significantly slower than other times of day. The slowest tenth take 2 to 4.5 hours. Submit at any other hour and the 90th percentile drops under 1.1 hours, and after 6pm Pacific it’s under 50 minutes.
A single-request batch finishes in 5 to 11 minutes depending on the hour, and a batch of 1,000 or more requests finishes in 12 to 21 minutes. Large batches do take longer to process. The slowest tenth of batches with more than 100 requests submitted between midnight and noon Pacific took as long as 6.8 hours.
What’s supported with batches
- Request shapes: any text request body shape you already send to OpenRouter will be supported, including chat completions, responses, messages, and embeddings.
- Routing: Each batch is executed on a single provider. By default we choose the cheapest batch endpoint for the model after your provider allowlist, data policy, and BYOK settings are applied.
- BYOK: with a provider key configured, batches on providers that support it route through your key and you pay only the BYOK fee.
- Per-request results: every result returns independently, so a few bad rows never fail the rest of the job.
- Retention: inputs and results are kept for 30 days, or until you DELETE the batch.
- Logging: every batch shows up in the Batches tab of your logs with model, provider, status, and cost.
- Pricing: the discount applies to per-token pricing and varies by model. Web search calls bill at standard rates.
- Inputs: images and files must be public URLs. Audio, video, and OpenRouter’s own web search plugin aren’t available in batch (see the limitations section of the docs).
Get started
Pick a batch-capable model, grab an API key, and post your first batch to https://openrouter.ai/api/v1/batches. The Quickstart has the full request and response shapes.
Tell us what you’re batching in #feedback on Discord.
Original source
Curated by the Releasebot team
Releasebot is an aggregator of official release notes from hundreds of software vendors and thousands of sources.
Our editorial process involves the manual review and audit of release notes procured with the help of automated systems.