OpenRouter Alternatives (2026): Cheaper or Self-Hosted
The best OpenRouter alternatives, hosted routers and gateways you run yourself, picked from developers who switched and reviewers who measured them. Each one still gives you one API for many AI models.
LiteLLM
The usual answer when someone asks for an OpenRouter they can run themselves. It is an open-source proxy that puts more than 100 providers behind one OpenAI-style API, with virtual keys, budgets and fallbacks, and it takes no cut of your tokens. Sebastian Tekieli of WebsiteInit spells out what you pay instead: a production setup means two replicas, PostgreSQL and Redis that your own team patches and watches.
- Pricing
- Free to self-host; Enterprise is an annual quote
- Gateway fee
- None; Enterprise is priced by request capacity, never per token
- Models
- 100+ providers
- Bring your own keys
- Yes; keys stay on your own infrastructure
- Self-hosted
- Yes, self-hosted only; air-gapped on Enterprise
- Open source
- MIT, except the enterprise/ folder; 61,005 GitHub stars
Vercel AI Gateway
Zack Proser, who runs agents on both services, treats this as the default for apps hosted on Vercel because it charges provider list price with no markup, even on your own keys. OpenRouter still wins on breadth: in Proser's August 2026 count it had 17 hosts for gpt-oss-120b against 8 here, and that model was cheaper on OpenRouter despite the fee. The $5 of free monthly credit ends once you buy credits.
- Pricing
- Pay as you go at provider list price
- Gateway fee
- 0% on tokens; card processing fees may apply
- Free tier
- $5 of credit a month on some models, until you buy credits
- Models
- 408 in the public model list
- Bring your own keys
- Yes, no fee; needs purchased credits
Cloudflare AI Gateway
A gateway with two modes. Bring your own provider keys and the core features, analytics, caching and rate limiting, cost nothing. Or load Cloudflare credits to get one bill across providers and pay a 5% fee on each purchase, close to what OpenRouter charges. José Manuel Ortega calls it nearer to an observability layer than a model marketplace, and a natural fit if you already build on Workers.
- Pricing
- Core features free on all plans
- Gateway fee
- 5% on credits bought through Unified Billing; none with your own keys
- Free tier
- Analytics, caching and rate limiting are free
- Models
- Workers AI plus providers such as OpenAI, Anthropic and Google AI Studio
- Bring your own keys
- Yes; stored keys are used before Unified Billing
Bifrost
An open-source gateway written in Go, from Maxim AI, that you run yourself. People who moved to it from LiteLLM cite speed: one Hacker News user who ran both for months says LiteLLM added a lot of latency and that Maxim's published benchmark matched what they saw. The "50x faster than LiteLLM" headline is still the maker's own number. Clustering, single sign-on and guardrails sit in the paid Enterprise tier.
- Pricing
- Open-source version free forever; Enterprise is custom
- Models
- 23+ providers
- Bring your own keys
- Yes; virtual keys with budgets and rate limits
- Self-hosted
- Yes: Docker, Kubernetes or a Go binary
- Open source
- Apache-2.0; 8,712 GitHub stars
Portkey
José Manuel Ortega's guide sends teams with formal requirements here, for its detailed logs, guardrails and per-team keys. It bills by logged requests, not a cut of your tokens, and its MIT-licensed gateway can be self-hosted. In Markaicode's test that gateway added about 4 ms per request against LiteLLM's 9 ms. Palo Alto Networks bought Portkey in May 2026 and is folding it into Prisma AIRS, and the open-source gateway has had no release since January.
- Pricing
- Production plan $49 a month, +$9 per extra 100k requests
- Free tier
- 10k logged requests a month; not meant for production
- Models
- 1,600+ LLMs
- Bring your own keys
- Yes; virtual keys with budgets
- Self-hosted
- Yes, the open-source gateway; private cloud on Enterprise
- Open source
- Gateway is MIT; 13,171 stars; last release January 12, 2026
Cortecs
A Vienna-based router that adds a flat 5% to provider prices and bills in euros. One Hacker News user switched to it from OpenRouter and limited the account to EU servers, giving up most US frontier models but keeping the Chinese open ones under GDPR. Another compared a DeepSeek model and found more than double OpenRouter's price with higher latency, so check your own model's page before you move.
- Pricing
- Pay as you go in EUR, by card or invoice
- Gateway fee
- Flat 5% on top of provider token rates
- Models
- 150+ models from 10+ EU providers
- Bring your own keys
- Yes
OpenCode Zen
A short list of models the OpenCode team has tested with coding agents, sold at cost through one key. It exists because one model can behave very differently from host to host, the problem Mo Moustafa documented across OpenRouter's providers. It works with other coding agents, not only OpenCode. The catalog is small by design, and card fees of 4.4% plus $0.30 are passed on with every top-up.
- Pricing
- Pay as you go per request, from prepaid credits
- Gateway fee
- Sold at cost; card fee of 4.4% + $0.30 per top-up passed on
- Free tier
- Some models free for a limited time; their data may be used
- Models
- Curated list: GPT, Claude, Gemini, Grok, Qwen and others
- Bring your own keys
- Yes, for OpenAI and Anthropic keys
Fireworks AI
Not a router but a single host for open models, which is what several developers suggest once an app is in production: one company and one set of quirks. A Hacker News user who ran open models here for a long time calls it a great provider that still had the odd issue. Mo Moustafa notes that on one DeepSeek model its tool-calling score fell to 46% in July 2026, so test your own workload.
Requesty
A hosted router close to OpenRouter in shape: one key, more than 600 models and a flat 5% on model cost. EU data residency comes on every plan, where OpenRouter keeps EU routing for its 8% Business plan. A Hacker News user says it let them pin providers and write their own routing policy. Independent accounts are still few, so run real traffic through the free tier before you commit.
- Pricing
- Pay as you go; no seats, no minimum spend
- Gateway fee
- 5% markup on model cost
- Free tier
- Free models only, 200 requests a day, no card
- Models
- 600+ models from 20+ providers
- Bring your own keys
- Yes, on pay as you go
Groq
Pick it when speed is the product. Markaicode's comparison, built on Artificial Analysis measurements, has it at roughly 473 tokens a second on GPT-OSS 120B against 142 for Together AI at the same price. The catalog is tiny and getting smaller, with four models cut in a year. The same review flags Nvidia's December 2025 licensing deal, which took Groq's founder and senior engineers, as a risk for anything load-bearing.
Together AI
A host with a wide catalog of open models plus fine-tuning, for when you want one supplier that carries most of what you used on OpenRouter. Markaicode counts more than 200 models. It is slower than Groq on the model both sell, and Mo Moustafa caught it returning empty replies on one DeepSeek checkpoint. There is no free trial: your first credit purchase must be at least $15.
EUrouter
An Amsterdam router that keeps your data in the EU and looks the most like OpenRouter of the European options. Two Hacker News users say they route their requests through it and that it works well. Price is the complaint: the free plan adds 15% to every token, and the markup only falls to 3% on the €99 a month plan. Two others in the same threads passed on it over cost.
How to choose
Match the pick to your reason for leaving. If it is the 5.5% fee on credits, Vercel AI Gateway charges no markup, and Cloudflare AI Gateway is free when you bring your own provider keys. If you want no middleman at all, self-host LiteLLM, or Bifrost if LiteLLM's latency bothers you. If your data must stay in Europe, look at Cortecs or Requesty. If you are tired of one model behaving differently from host to host, buy from a single host such as Fireworks AI, Together AI or Groq, or use OpenCode Zen's short tested list.
This market changed fast in 2026, so older guides are wrong in places. Stripe announced in August that it is buying OpenRouter. Palo Alto Networks bought Portkey in May. Helicone has been in maintenance mode since Mintlify bought it in March, and TensorZero's repository is archived, which is why neither is here. LiteLLM had two poisoned releases on PyPI in March (1.82.7 and 1.82.8), so pin your version. Self-hosting takes the gateway company out of the path, but your prompts still go to whichever model provider you call. And OpenRouter's fee is charged when you buy credits, with an $0.80 minimum, so small top-ups cost more than 5.5%.
The list is ordered by how many independent developers and reviewers recommend each option, then by adoption, then by price.
Prices checked October 11, 2026.
More guides like this
Best Local LLMs for Coding (2026)
The best local LLM for coding depends on how much memory your machine has. This list ranks open-weight models you can run yourself, by independent benchmark runs and by developers who use them in coding agents. With 24 to 32 GB, start with Qwen3.8-27B. Its 17 GB 4-bit file matched the full model on Terminal-Bench 2.1 in Quesma's test. With 128 GB of unified memory, Qwen3.8-Flash-Next posted the top score in WonderRico's benchmark. With 16 GB, gpt-oss-20b fits whole on the card, and one developer reports useful work from a 2-bit Qwen3.8-27B. With 8 GB, try Qwen3.5-9B and keep the jobs small. At 64 GB, run the 27B models at 8-bit, a 29 GB file, with a longer context. The step above that needs about 100 GB. A coding agent only works if the model emits tool calls your server can parse. Gemma 4 shipped with broken tool calling that was fixed later, and Qwen chat templates have needed community fixes, so update Ollama, LM Studio or llama.cpp before blaming the model. Agents also need room: LM Studio loads models with an 8,192-token context unless you raise it. Scores on a model card are the maker's own. A mixture-of-experts model computes with a few billion parameters per token but still has to hold all of them in memory, and context takes memory on top of the file. Qwen3.8 thinks at its highest effort by default, which is slow on home hardware. Qwen3.8-Flash-Next is not Apache licensed. Older guides still recommend Qwen2.5-Coder, Qwen3-Coder and Devstral, which general-purpose models beat in the hands-on tests cited here. The list is ordered by how many independent testers and developers recommend each model for coding, then by downloads. Numbers checked October 11, 2026.
Best OpenCode Alternatives (2026)
The best OpenCode alternatives are the terminal coding agents developers say they moved to in blog posts and Hacker News threads, checked against independent hands-on reviews. If OpenCode feels bloated, get Pi, or oh-my-pi if you want Pi with the tools already built in. If you want one vendor's best models at a flat monthly price, get Claude Code or Codex CLI. Codex is the one that sandboxes commands by default. If you want open source with any model and no single company in charge, get Goose. If you want the nicest terminal interface, get Crush. If you already pay for GitHub Copilot, its CLI is included. A few things the makers' pages won't tell you. OpenCode 2 has a new plugin API, so OpenCode 1 plugins don't run on it, and that is a reason recent switchers give on Hacker News. Crush grew out of an older Go project that was also called OpenCode, and its license is source-available, not open source. Gemini CLI stopped serving personal accounts on June 18, 2026, and Antigravity CLI replaced it. Aider has had no commits since May 22, 2026. Kilo CLI is built on OpenCode, so switching to it changes little. A free agent still needs a model: you pay a provider per token or run one on your own hardware. The list is ordered by how many independent developers and reviewers recommend each agent, then by GitHub stars, then by price. Prices checked October 11, 2026.
OpenClaw Alternatives (2026): Safer and Easier to Run
The best OpenClaw alternatives are other personal AI agents you message from a chat app, self-hosted or hosted. These picks rest on write-ups by people who switched and on what developers on Hacker News say they run now. People leave OpenClaw for four reasons: updates that break things, token bills, the work of running it, and security. If it kept breaking, most switchers land on Hermes Agent, which imports your OpenClaw memory and skills. If you want code you can read and agents locked in containers, pick NanoClaw. For a small VPS, a Raspberry Pi or a $10 board, look at ZeroClaw or PicoClaw. If you never want to run a server again, Claude Cowork, Grok Bot and Manus do the hosting for a monthly fee. A few things the makers' pages won't tell you. None of the open-source agents is free to run: you still pay a model provider, and switchers report $10 to $20 a month on cheap models and far more on top ones. People who moved to Claude's own tools say Anthropic stopped Claude subscriptions from covering OpenClaw in April 2026. NemoClaw is a sandbox that runs OpenClaw or Hermes inside it, not a replacement. QwenPaw was called CoPaw until April 2026. Perplexity's Computer and Personal Computer are different products. Hosted agents bill in credits or weekly allowances that are hard to predict. And a smaller codebase is easier to audit, but any agent holding your logins can still be tricked by a hostile web page or message. Ordered by how many independent users and reviewers recommend each one, then by GitHub stars, then by price. Prices checked October 11, 2026.
Best Small Models for Text Classification on a Laptop (2026)
Small models for text classification you can run on a laptop: spam, intent, routing and moderation with no API bill, picked from independent tests by Red Hat's AI safety team, Oliver Borchers and the BTZSC benchmark. It started with a build on Made with Jev: a developer swapped Jev, TypeSafe's hosted decision model, for a DeBERTa large classifier on a base M1 Mac to decide, inside a Claude Code hook, whether a message was just a question, and found it just as fast and just as good for that job. Jev is the yardstick here. In Borchers' field test on 400 fresh arXiv papers it scored 86.3% with no training, for about $0.04 per million input tokens. How to choose comes down to labels. With none, try Clef-flash on a 16 GB Mac with a Pro or Max chip, or GLiClass on anything else. With a few dozen examples per label, embed the text and train a logistic regression on top. With a few hundred, fine-tune DeBERTa-v3 or ModernBERT. No labels yet? Have Jev or a large LLM label a few hundred of your own examples, then train the small model on those. Skip facebook/bart-large-mnli, still the default in Hugging Face's zero-shot pipeline: it dates from 2019, runs a full pass for every label, and trails newer models in both the 28-task zero-shot benchmark and BTZSC. The list is ordered by how well each model did in those tests for the work it takes to set up, with the specialists for PII, prompt injection and secrets after the general-purpose models. Numbers checked October 5, 2026.








