| ▲ | simonw 5 hours ago |
| It took me quite a while to come round to OpenRouter. Originally I didn't understand why anyone would put a proxy between them and an LLM, but it actually adds some quite significant value: 1. By far the lowest friction way to support and try out all the models. 2. They offer billing caps! Most model providers still don't do this [EDIT: maybe they do, see reply comment], but if you're going to run anything in public it's very useful to have hard limits so it doesn't cost you $1m overnight because someone started abusing it. 3. Their rankings are one of the more interesting signals for which models are popular, despite their flaws (most OpenAI and Anthropic users don't go via OpenRouter, it's currently not possible to tell the difference between many users switching v.s. one "whale" changing their preferred model) Given how API costs are becoming meaningful for a lot of companies now, having a provider like OpenRouter to help measure your spend and easily experiment with and switch providers feels like a valuable service. |
|
| ▲ | GodelNumbering 4 hours ago | parent | next [-] |
| Another neat thing is, they publish hourly caching states for ALL model/provider combinations. I did some research on it to come up with a provider tiers list and found a bunch of open-source 3rd party hosts are simply trash tier https://dirac.run/posts/cache-hit-rates-agents |
| |
| ▲ | kflansburg 2 hours ago | parent | next [-] | | I would recommend tracking this data over time. I work on Cloudflare's KV cache for Kimi K2.6, and while there are periods where our cache rate is low, we are frequently in the 80-90% range. OpenRouter shows us at 87.3% at the time of this post. We observe cache rates change quite a bit from hour to hour. | | |
| ▲ | GodelNumbering an hour ago | parent [-] | | True for Kimi, but the results I published are average across the models (CF has over 10 models on openrouter). Your current Kimi K2.6 is over 80% but Gemma 4 26B A4B is 0%. https://openrouter.ai/google/gemma-4-26b-a4b-it This is also the reason providers like Anthropic scored lower because while Opus 4.7 is close to 90%, Opus 4.5 is 45% |
| |
| ▲ | rkagerer 2 hours ago | parent | prev | next [-] | | Agents push the full conversation history into context every turn Why? Maybe this is a dumb question, but why wouldn't an agent "keep the conversation going", like I do when interacting with an LLM through a web page? (I understand how it's impractical for long-running tasks where the agent has to wait days for the next input, but assume that's not the majority of use cases) | | |
| ▲ | sosodev 2 hours ago | parent | next [-] | | I’m not sure I understand your question. Every interaction you have with a model in a web page does the same thing in the backend. It feeds the whole conversation history, perhaps with a bit of processing, into the model so it can process the next generation. Filling the context window is how these models retain coherence. | |
| ▲ | eknkc an hour ago | parent | prev | next [-] | | BTW, the openai responses api has a store parameter and a thread id input. Makes it possible to send a thread id and append a new message, ask for completion. So it feels like keeping the conversation going. Technically it does retrieve the entire history and reevaulate it since the LLM is stateless. Just more ergonomic for the developer. And prompt caching helps cut the costs down when a conversation drags on. | |
| ▲ | isbvhodnvemrwvn 2 hours ago | parent | prev | next [-] | | LLMs are stateless, to predict next tokens they need the history. When you write your own agents you will be very selective and might trim context and heavily segment different tasks, but generic ones don't do that (at best they spawn subjects to handle smaller tasks) | | |
| ▲ | lxgr 6 minutes ago | parent [-] | | That said, the KV cache is very much not stateless, so internally inference APIs will be highly incentivized to route requests to instances with as much a shared prefix cached as possible. |
| |
| ▲ | BoredPositron 2 hours ago | parent | prev [-] | | The "web page" does the same you just don't see it. |
| |
| ▲ | gnulinux 4 hours ago | parent | prev [-] | | Thank you so much for this! I've been working on exactly this problem this week (which OpenRouter providers have the highest cache rate on average) because cache cost is sometimes half your cost: I'd much rather use a provider with more input caching with a more expensive/better LLM. Your results and lists seem more comprehensive than what I've done so far. Very helpful! |
|
|
| ▲ | Aurornis 5 hours ago | parent | prev | next [-] |
| Good points. The easy experimentation factor is helpful for development, though I would gently encourage everyone to migrate to the 1st party APIs for pricing at scale. OpenRouter is also a good place to find free LLM access with a catch: You should expect that any inputs and outputs are going into someone's training database. Clearly anyone who can pay should be using paid models with privacy protections, but the free models have been great for learning and experimenting. Especially for younger people learning API programming and LLMs who may not have access to a credit card or funds. |
| |
| ▲ | derefr 4 hours ago | parent | next [-] | | > You should expect that any inputs and outputs are going into someone's training database. True enough, in theory; but what exactly are you imagining would be a useful-enough signal in the OpenRouter request+response stream, that any company would want their data as training material? Even a single OpenRouter-API-key-identified subscriber's traffic, may consist of an mixture of traffic from multiple different sessions, under potentially multiple different end-users. (Where, if the subscriber is doing security correctly, then their OpenRouter key lives on a gateway rather than in a frontend app; and so the only IP address / UA / etc OpenRouter sees is that of the gateway itself.) And the traffic stream may also invoke multiple models, and provide multiple different system prompts for those models; which, while marked in the traffic (i.e. conveyed as part of each request), makes the resulting data much less useful in aggregate, than if it were all training data for one model with one system prompt. Plus, there are no RLHF signals in OpenRouter data. Even if OpenRouter wanted to build a general model-neutral framework for collecting RLHF-type data, it can't force subscriber apps to do the UI-level stuff necessary to collect it (i.e. the things ChatGPT/Claude do, with "thumbs-down" buttons, A/B tested responses, etc.) Analysis would have to rely on pure transcript-level user sentiment extraction. | | |
| ▲ | reed1234 2 hours ago | parent | next [-] | | You get a 1% discount if you give OpenRouter your traces so at least they think there's some (a lot) of value. | |
| ▲ | gbro3n 4 hours ago | parent | prev | next [-] | | I've wondered this too - exactly how are our inputs and outputs useful as training data? So I asked Gemini. Apparently using negative sentiment in user or llm responses can serve as RLHF, and the human prompts can also serve as useful data for what problems the llms need to be able to solve. There's also that smaller models can train on and improve from data from larger models but that's less relevant when not switching models in context. | |
| ▲ | mannanj 37 minutes ago | parent | prev | next [-] | | How about protection of intellectual property? Doesn’t have to be patented to be valuable. | |
| ▲ | dghlsakjg 4 hours ago | parent | prev [-] | | [dead] |
| |
| ▲ | bix6 4 hours ago | parent | prev | next [-] | | It’s interesting all the focus on opt-out from training. Sometimes I worry there is an intentional focus on that so people don’t think about the other ways the company might be profiting off our data. Like I pay for Anthropic and they don’t train on that but are they selling my “anonymized” usage data in some other way? | | |
| ▲ | derefr 4 hours ago | parent [-] | | From what I recall, these companies don't offer any option to opt out of your session transcript data being used (and sold!) for "regular" adtech targeting purposes. |
| |
| ▲ | tasuki 3 hours ago | parent | prev | next [-] | | > Clearly anyone who can pay should be using paid models with privacy protections Clearly, anyone who needs privacy should be using models with privacy protections. Some people build open source and the models will get the code anyway. | |
| ▲ | derac 4 hours ago | parent | prev [-] | | I recommend nvidia nim for completely free dev access for young people. | | |
| ▲ | acka 3 hours ago | parent [-] | | It's free, but not unlimited. Besides rate limits, new sign-ups get 1000 credits (requests), and once those are gone, they're gone for good. Only business accounts might get a couple of free refills. |
|
|
|
| ▲ | alecco 4 hours ago | parent | prev | next [-] |
| At the moment for DeepSeek V4 it messes up caching and that's a key pricing feature for V4. https://news.ycombinator.com/item?id=48319827 |
|
| ▲ | zorked 4 hours ago | parent | prev | next [-] |
| The way how you manage the caps in OpenRouter is how every metered API provider should do it: keys have limits, and you can change the limits, and you set the limits to refill periodically, and you can create as many keys as you want. |
|
| ▲ | arw0n 3 hours ago | parent | prev | next [-] |
| I love their product and use them myself. But where's the value proposition for investors? Unless they get purchased by one of the large cloud providers, they will get pushed out of the market sooner or later. What's the value proposition for the typical AWS startup to go with openrouter, if Amazon offers similar rates with direct integration into all their other offerings? The only reason OpenRouter can exist at the moment is because we are in the wild-west phase of this technology, and lots of people and companies are exploring. In 5 years they will have to have transformed their business fundamentally, or go the way of the dinosaurs. |
| |
| ▲ | sowbug an hour ago | parent | next [-] | | If you believe there will be lots of LLM providers in the future, then OpenRouter could be a DoorDash play. Established restaurants didn't need DoorDash because they were already on everyone's speed dial. But new or small restaurants couldn't afford to advertise or maintain a team of delivery people. DoorDash created a two-sided marketplace that made it a lot easier for new entrants to bootstrap. Today even the established restaurants have to pay them their tithe because hungry people have learned to start with the DoorDash app. A bit of a prisoner's dilemma. If OpenRouter plays its cards right and gets very lucky, a large number of people will configure their hungry LLM clients to start with OpenRouter, and then LLM providers will have to join the marketplace or else miss out on all those customers. | |
| ▲ | pizzly an hour ago | parent | prev | next [-] | | AWS does not provide nearly as many different models as OpenRouter. Perhaps they have an incentive to not do that, move slower as a big company or more legal risks to consider. If AI model outputs becomes commoditized then having one place where you can switch effortlessly from one to the next based on price might just justify OpenRouter. It could become a commodity marketplace/exchange. | |
| ▲ | rat9988 3 hours ago | parent | prev | next [-] | | They never claimed it was technically hard. Brand recognition is their forte. They found out there is a need, developped a product around it. | |
| ▲ | rsalus 3 hours ago | parent | prev | next [-] | | functionally they operate as a marketplace for cloud providers. I feel like there is value there, especially as API costs rise and companies explore cost-saving/efficiency. IMO, this is a particularly attractive value prop in the SMB space, where it is common to interoperate between multiple SaaS/software stacks. | |
| ▲ | brianwawok 3 hours ago | parent | prev [-] | | Yah I don’t think they have a long term play without a pivot |
|
|
| ▲ | MillionOClock 3 hours ago | parent | prev | next [-] |
| Billing caps are underrated! I don't understand why they aren't present everywhere. As an indie dev there are some services I'm really hesitant on trying by fear of getting an enormous bill for a mistake, this is even more true with vibe coding IMO. |
|
| ▲ | brianwawok 3 hours ago | parent | prev | next [-] |
| I’m just not sure they have a moat or a long term play? I put $20 in and tried a few models. Then I went right to the model provider to put in $1000 and avoid the middleman tax. Now imagine a big corp spending millions on AI. That’s a lot of middleman tax. |
| |
| ▲ | TurdF3rguson an hour ago | parent | next [-] | | The top model / prices are changing all the time though. Lately I've been auditioning 4-5 models before a big ingest and I wouldn't be able to do that easily without OR. | |
| ▲ | brianjking 3 hours ago | parent | prev | next [-] | | I tend to agree, but there's also a lot of tax to build and maintain the different provider abstractions that OpenRouter eliminates. Everything has a cost of some sort. It's just who you're going to pay and what the currency is. | |
| ▲ | polski-g an hour ago | parent | prev | next [-] | | And what do you do when Fireworks is down? If you stuck with Openrouter, when Fireworks is down it would auto route you to Friendli. What if Fireworks stops offering your preferred model? | |
| ▲ | BoredPositron 2 hours ago | parent | prev [-] | | There are enough services that don't want the model provider to know who they are. |
|
|
| ▲ | a13n 5 hours ago | parent | prev | next [-] |
| Both OpenAI and Anthropic have billing caps… who doesn’t? |
| |
|
| ▲ | JumpCrisscross 2 hours ago | parent | prev | next [-] |
| > By far the lowest friction way to support and try out all the models Check out Kagi Ultimate. |
| |
| ▲ | MicrosoftShill 2 hours ago | parent [-] | | Would you recommend Kagi Ultimate over OpenRouter? I'm already a customer of Kagi and would rather give them my money, but only if I'm not really compromising. | | |
| ▲ | JumpCrisscross 8 minutes ago | parent [-] | | > Would you recommend Kagi Ultimate over OpenRouter? For personal use, yes. The all-in pricing model encourages experimentation. And the privacy pitch seems tighter. |
|
|
|
| ▲ | fontain 5 hours ago | parent | prev | next [-] |
| Out of interest, why OpenRouter over a free option like Cloudflare’s AI gateway or another paid option like Vercel’s — any specific benefit to OpenRouter you’ve found, or just first you used that’s good enough? |
| |
| ▲ | simonw 5 hours ago | parent | next [-] | | I'll be honest, I hadn't clocked that Cloudflare and Vercel were offering equivalent products. Looks like Vercel even have their own leaderboard: https://vercel.com/ai-gateway/leaderboards/models Surprising that they have Opus 4.8 and 4.6 listed on the leaderboard but not Opus 4.7. | | |
| ▲ | c-hendricks 4 hours ago | parent [-] | | Huh, Claude Opus 4.8 is number 4 in number of tokens at 10%, not even in the top 10 in terms of requests, yet is #1 in costs at a whopping 43%! |
| |
| ▲ | zenoprax 4 hours ago | parent | prev | next [-] | | I didn't know about these options either. I am using Cline: Cloudflare isn't an option but Vercel is. My spending is pretty low overall now that I'm using local models much more but good to know that there are cheaper alternatives to try or at least suggest to others. Other features I've just noticed:
- configurable prompt injection protection using OWASP regex (https://cheatsheetseries.owasp.org/cheatsheets/LLM_Prompt_In...)
- configurable PIM protection for outbound prompts
- input/output logging
- "JSON healing" to auto-correct minor hallucinations Lots of other stuff too. The business model seems pretty simple and the value-add features don't look particularly expensive or difficult to copy. | |
| ▲ | js4ever 2 hours ago | parent | prev | next [-] | | Separation, I don't want to have my domains blocked the day AI bill go Brrr | | | |
| ▲ | 4 hours ago | parent | prev [-] | | [deleted] |
|
|
| ▲ | maxloh 5 hours ago | parent | prev | next [-] |
| OpenRouter is merely only a proxy. They also host some open-weight models |
| |
|
| ▲ | stymaar 4 hours ago | parent | prev | next [-] |
| And what is their business model? |
| |
| ▲ | MangoCoffee 4 hours ago | parent | next [-] | | middle man? Model providers/hyperscalers -> OpenRouter -> consumers? coffee farmers -> middle man -> you | |
| ▲ | minimaxir 4 hours ago | parent | prev | next [-] | | Credit is prepaid at a 5% surcharge. | |
| ▲ | behnamoh 4 hours ago | parent | prev [-] | | Commission on API calls extracted from you when you charge your account. |
|
|
| ▲ | SilverElfin 5 hours ago | parent | prev [-] |
| The biggest benefit is that it creates competition among models. If more people use open weight models or models from other providers, it’ll be harder to ban them. Which is what OpenAI and Anthropic will try to accomplish. OpenAI by lobbying the Trump administration for favorable treatment (see Brockman’s MAGA PAC donations), Anthropic by using religious leaders and nonprofits to push “safety” justifications for difficult regulations. |