How We Built a Self-Correcting Localization System for OpenRouter
OpenRouter now speaks 8 languages. Here is the translation pipeline behind it, what it costs, and how reader reports become fixes.
Folge OpenRouter, um die Release Notes in deinen Feed zu holen.
OpenRouter now speaks 8 languages. Here is the translation pipeline behind it, what it costs, and how reader reports become fixes.
If you pay an API bill for an open-weight model, you may wonder whether your own GPU would cost less. GPU rent is charged every hour, busy or idle, while an API charges only for the tokens you use.
A 429 Too Many Requests error means you sent more requests or tokens than your limit allows in the current time window. OpenAI, Anthropic and OpenRouter all return it, and it usually shows up the first time an app runs under real load or a batch job fans out across several workers.
When you call an open-weight model through an API, several providers may serve it at different precisions, such as 16-bit bf16, 8-bit fp8 or 4-bit fp4. The precision can affect both the answers and the price. LLM quantization creates these versions by storing a model's weights in fewer bits, so the model needs less memory and hardware, at some cost in accuracy.
Every tool you give an agent sends its definition to the model on every request, and you pay for it as input tokens. A Model Context Protocol (MCP) server can add tens of thousands of tokens to the context window. The usual alternatives are a command-line tool (CLI) or a skill.
We made eight scanned pages from text we wrote, ran them through 15 vision models, Mistral OCR and Tesseract, and checked every value. Claude Opus 5.5 was the most accurate and Mistral OCR the best value.
A voice agent needs to do more than generate a good answer. It must understand what someone said, decide what to do, call any needed tools, and start speaking again before the pause gets awkward.
A new API for pulling typed fields out of documents and images: name the fields, get values, spans and confidence back. Three models serve it at launch; on Cloudflare's Clairic the same request reads text and images and returns numbers, dates, lists, estimates and forecasts.
When your code reads fields from a model's reply, like an order ID or a refund amount, it expects clean JSON every time. Most of the time, it gets it. But now and then the model wraps the JSON in a code fence, adds a field you didn't ask for, or sends a number as text, and your code breaks. If you use several models, one fix won't cover them all, because each model and provider handles structured output in its own way.
The next generation of Auto Router, rebuilt on a new technical foundation, plus Auto Code, a new router specialized for coding work. Both weigh eleven factors per request against live pricing, provider health, benchmarks, and cache state to pick a model and reasoning effort from the model pool your governance policies allow.
Code reviewers that only read a Git diff have to guess whether a change breaks anything, and their fixes come back as prose you apply by hand. This guide builds a Python reviewer on the OpenRouter Responses API that uploads your changed files into a Linux sandbox, runs checks to confirm each bug, and returns validated patches. A review takes one to four minutes and costs $0.015 to $0.045.
An always-on AI agent wakes up on a schedule, checks something with tools, and reports or acts without you asking. This tutorial builds one in TypeScript with the OpenRouter Agent SDK that watches Hacker News, remembers what it has seen across restarts, stops any run at five cents, and waits for your approval before it posts.
An open-weight model publishes its trained weights, so anyone can run, fine-tune or serve it. A closed-weight model is only available from its maker. We used a year of OpenRouter usage data, our price catalog and benchmark scores to show what that difference changes for cost, providers and quality.
Claude Code is free to install, and what you pay for is the model it calls. We publish the median cost of real Claude Code sessions on OpenRouter by model and session length. This post shows those costs, why the first request costs the most, what a month of use comes to, and how to lower the bill.
Use Claude Sonnet 5.5 as your default, Haiku 5.5 for high-volume and sub-agent work, and Opus 5.5 for long tasks where a mistake is costly. We compared the three on price, benchmarks, 11 coding tasks with hidden tests and a Claude Code bug fix. All three passed everything, so the difference was cost.
Admins can now set organization-wide limits, give people different budgets and model access within them, and change each policy on its own. Existing guardrails keep working.
Send a PDF to a model that reads files, with a strict JSON schema for one row, and you get typed rows back, even from scans and tables that run across pages. We tested five routes on five PDFs and found two failures that return a normal response with no error, and the checks that catch them.
If your app has a model read documents, emails or web pages, anyone who writes in them can try to give it instructions. We ran 25 attacks against four current models with each defense on and off. Labels cut attack emails, but only checking every tool call with Armor stopped all of them.
A 529 overloaded_error from Claude means Anthropic's API is out of capacity for the model you asked for, not that your key or plan is wrong. This guide shows how to retry with backoff, send the same Claude model to another provider through OpenRouter, add a fallback model, and stop the error in Claude Code.
When Claude Code hits your plan's five-hour or weekly limit, you can keep working by pointing it at an OpenRouter API key. You pay per token for the same Claude models, with no usage window. This guide sets it up as a separate command, checks the cost, and switches back when your plan resets.