OpenRouter Now Powers Inference on Hugging Face
Chat models on Hugging Face Inference Providers now run through OpenRouter's routing, and OpenRouter can send your traces to a Hugging Face Storage Bucket.
58 stories
Chat models on Hugging Face Inference Providers now run through OpenRouter's routing, and OpenRouter can send your traces to a Hugging Face Storage Bucket.
When a RAG (Retrieval-Augmented Generation) app gives wrong answers even though the right information is in your documents, retrieval is often the cause.
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.
OpenRouter now speaks 8 languages. Here is the translation pipeline behind it, what it costs, and how reader reports become fixes.
An AI agent gets stuck in an infinite loop when a model keeps calling a tool that fails, usually with the same arguments, because nothing in the agent loop tells it to stop.
Choose models using evidence from your application’s inputs and output formats. Run identical tasks through OpenRouter and compare graded accuracy, billed cost, and request time.
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.
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.
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 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.
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.
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.
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.
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…
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,…
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…
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.
Showing 18 of 58 stories
Load more storiesGet the top AI news and tools straight to your inbox every week.
Weekly · AI news
Join 15,000+ AI enthusiasts