Home / Jobs / One API for many models

One API for many models

The best LLM gateway for switching between model providers with one API is OpenRouter because it scores highest on our published formula (90.7/100): A hosted API that gives one key access to many models, with free models available.

The job: “I want to switch between model providers without rewriting code.” · Last checked

Pick

OpenRouter

A hosted API that gives one key access to many models, with free models available.

Not for: Teams that must keep all traffic on their own infrastructure.

Pricing: Free tier with 25+ free models; pay-as-you-go for paid models. source, checked 2026-10-19

Security note (): OpenRouter says security researchers (a Dragos report) found that some inference providers on its platform had data compromised or were not honoring their data policies. OpenRouter says it was not breached itself. It off-boarded three providers, removed 125 endpoints from Zero Data Retention (ZDR) eligibility, and notified potentially affected customers; providers that have posted so far include Atlas Cloud, Novita, Phala and Together (prompt leakage in June and July 2026). If you rely on ZDR or send sensitive prompts, check which providers your requests route to, pin trusted providers in your provider settings, and watch for OpenRouter's customer notice.Source

All security and upgrade notes for tools we rank

Visit OpenRouter ↗
90.7
/ 100
Runner-up

LiteLLM

Open-source proxy and SDK you run yourself in front of any provider.

Not for: People who don't want to operate a service.

Pricing: Open source proxy/SDK; enterprise tier available. source

Security note (): A new batch of LiteLLM proxy advisories landed Nov 23-24. Trend Micro's Zero Day Initiative published six from Pwn2Own (CVE-2026-136535 to CVE-2026-136540); two are high (CVSS 7.2) and allow code execution on the proxy host, one via MCP command injection and one via pass_through_endpoints (that one needs an admin-level login). LiteLLM also published GHSA-w5h5-479w-p5hx (high, 7.6): if your identity provider lets users set their own email, a JWT or SSO sign-in could be resolved to another user and get their role, keys and teams; fixed in 1.111.0. Upgrade the proxy to 1.111.0 or later, keep it off the public internet, and give admin access only to people you trust.Source

Security note (): SANS Internet Storm Center reports honeypot scans since the weekend for POST /mcp-rest/test/tools/list, trying to chain LiteLLM CVE-2026-42271 (stdio MCP test endpoints run a supplied command on the proxy host; affects 1.74.2 to before 1.83.7) with Starlette CVE-2026-48710 (Host header 'BadHost' bypass, fixed in Starlette 1.0.1) for remote code execution without authentication. These bugs are not new, but attackers are retrying them with new Host header tricks. Upgrade LiteLLM to 1.83.7 or later and make sure Starlette resolves to 1.0.1 or later; if you can't yet, block POST /mcp-rest/test/connection and /mcp-rest/test/tools/list at your reverse proxy, and don't expose the proxy to the internet.Source

Security note (): LiteLLM published a critical advisory (GHSA-w4c7-34wj-hqm8, CVSS 10.0): on proxies running with an Enterprise license, one unauthenticated request to any LLM route could make the proxy read a local file such as /proc/self/environ and send it to an attacker's URL, exposing LITELLM_MASTER_KEY and provider API keys (full proxy admin, and in some setups code execution as root). Open-source deployments without a license are not affected. Fixed in 1.103.10, 1.104.8, 1.105.6 and 1.106.5 (out Oct 27 after a private-registry embargo for enterprise customers since Oct 6). If you run a licensed proxy, upgrade, rotate the master key and provider keys, and limit the proxy's outbound traffic to your LLM providers. No exploitation has been reported.Source

Security note (): LiteLLM's release pipeline was compromised and a malicious v1.107.0 containing credential-stealing malware was published. Affected: litellm 1.107.0 on PyPI (live about 11:39 to 13:23 UTC on Oct 21) and the Docker/GHCR tags v1.107.0, latest, main-latest and main-stable (until about 14:20 UTC). The bad release has been pulled and LiteLLM says earlier versions are safe; pin 1.106.2. If you installed or ran an affected artifact, treat that machine as compromised and rotate its credentials.Source · Full explainer: am I affected, what to do

All security and upgrade notes for tools we rank

79.7
/ 100

Score breakdown

ToolFit (editorial) ×0.4Adoption (GitHub stars) ×0.25Momentum (release freshness) ×0.2Attention (HN, 30d) ×0.15Score
OpenRouter 5/5 → 1 n/a (closed source) n/a 315 pts → 0.659 90.7
LiteLLM 4/5 → 0.75 64.4k★ → 0.897 Dec 3, 2026 → 0.992 73 pts → 0.493 79.7

Missing signals are dropped and the remaining weights re-normalized. See methodology. Signals fetched Dec 4, 2026.

Think this pick is wrong? Suggest a correction with a source. How corrections work.

FAQ

What is the best LLM gateway for switching between model providers with one API?

The best LLM gateway for switching between model providers with one API is OpenRouter because it scores highest on our published formula (90.7/100): A hosted API that gives one key access to many models, with free models available.

What is the best alternative to OpenRouter?

Our runner-up is LiteLLM (79.7/100). Open-source proxy and SDK you run yourself in front of any provider. Not for: People who don't want to operate a service.

Who should not use OpenRouter?

Teams that must keep all traffic on their own infrastructure.

How much does OpenRouter cost?

Free tier with 25+ free models; pay-as-you-go for paid models. (checked 2026-10-19, source: https://openrouter.ai/pricing)

Are there current security warnings for OpenRouter?

Yes. Latest (Nov 22, 2026): OpenRouter says security researchers (a Dragos report) found that some inference providers on its platform had data compromised or were not honoring their data policies. Source: https://openrouter.ai/blog/announcements/data-processing-incidents-on-inference-providers/. Security notes never change scores.

Are there current security warnings for LiteLLM?

Yes. Latest (Nov 24, 2026): A new batch of LiteLLM proxy advisories landed Nov 23-24. Source: https://github.com/BerriAI/litellm/security/advisories/GHSA-w5h5-479w-p5hx. 3 older notes are on the LiteLLM page. Security notes never change scores.

Related jobs

The weekly pick sheet

Once a week: what shipped, which picks changed, and why. Free.

  • Pick changes, with the scores behind them
  • The week's notable releases, each linked to its source
  • No paid placement. Unsubscribe in one click.