New API
  • Home
  • Docs
  • Console
  • AgentAgentHotHot
  • Partners
Sign in
AI 资讯

LLM Gateway for Dev Teams: An OpenRouter Alternative (2026)

OpenLux Team · Published 2026-11-27

On 27 November 2026, OpenLux's public pricing endpoint lists 320 models behind one base URL. Take one month of a busy team's traffic, 100 million input tokens and 20 million output tokens on Claude Sonnet 5.5. At Anthropic's list price of $2 and $10 per million tokens, that month is $400. Through OpenLux the same requests bill anywhere from $70.59 to $440.00, depending on which of seven general-purpose groups the API key is allowed to use. One key, one model, a 6.2x spread. For a high-volume team, the useful question about an LLM gateway is not how many models it lists. It is who decides which key may use which group, model and IP address, and whether you can see afterwards what each key spent.

A gateway is one endpoint; the team problem is twenty keys

An LLM gateway sits between your code and the model vendors. Your services call one endpoint with one key format, and the gateway handles provider accounts, request formats and billing. An LLM router is the narrower piece that picks a model or provider for each request. Most products sold under either name now do both, which is why "llm gateway" and "llm router" return overlapping results.

There are three ways teams usually get one. A self-hosted proxy such as LiteLLM keeps everything inside your own network, and your team runs it. A pass-through service charges the vendor's token price plus a fee: OpenRouter's FAQ says it passes provider pricing through "without any markup" and charges a 5.5% fee, $0.80 minimum, when you buy credits. On the $400 Sonnet month above, that fee is $22. The third kind, where OpenLux sits, is a managed gateway with a prepaid balance, where each model's base price is multiplied by a group ratio you choose per key. We compared fees in detail in an earlier piece on OpenRouter alternatives for Claude Code and GPT; this one is about running a team on it.

The pain at 1 developer is different from the pain at 20. One person can keep a single key in a shell profile. Twenty people, three CI pipelines and two production services cannot, because one leaked or runaway key then spends the whole account. Anthropic's Claude Code gateway guide puts the same point from the client side: a gateway lets an organization keep provider credentials server-side and track usage in one place, while developers hold gateway keys instead.

One base URL covers the three request formats your tools already use

Of the 320 models on the pricing endpoint, 188 are tagged for the OpenAI chat format, 44 for the OpenAI Responses format, 29 for Anthropic's native Messages format and 27 for Gemini's native format. A model can carry more than one tag. In practice this means an OpenAI SDK, Claude Code and a Gemini client can all point at the same host with an OpenLux key, and moving a service over is a change to the base URL and the key, not a rewrite.

Claude Code is the common case for development teams. It reads ANTHROPIC_BASE_URL, so the switch is two environment variables per machine. The setup steps for Claude Code and other clients are on the relay setup page. Model names stay the vendor's names, for example claude-sonnet-5-5 or gpt-6.1-sol, so prompts, evals and dashboards keyed on model names keep working.

The 6.2x spread comes from the group, not the model

Every OpenLux price is a base price times a group ratio. For Claude Sonnet 5.5 the base is $2 per million input tokens and $10 per million output, the same numbers as Anthropic's list price, with cache reads at $0.10. The group ratio then scales all three. Sonnet 5.5 is offered in nine groups. Here are the seven general-purpose ones, with each group's own description from the pricing page. The pricing page lists two more: Kiro-Claude-1 is cheaper (ratio 0.08824) but does not support parameters such as max_tokens, so we leave it out of a team budget, and one more group is priced at 1.1, the same as the bottom row.

Group Ratio Input $/MTok Output $/MTok 100M in + 20M out Group description (first two items)
Claude-Code-1 0.17647 0.353 1.765 $70.59 Maximum discount, may queue at peak hours
Claude-Code-2 0.29412 0.588 2.941 $117.65 Moderate discount, moderate operational stability
Azure-Claude-1 0.44118 0.882 4.412 $176.47 Attractive discount, excellent operational stability
Claude-Code-3 0.45 0.900 4.500 $180.00 Minor discount, excellent operational stability
AWS-Bedrock-2 0.58824 1.176 5.882 $235.30 Minor discount, high-priority dedicated resource pool
AWS-Claude-2 0.88236 1.765 8.824 $352.94 Moderate discount, moderate operational stability
AWS-Claude-3 1.1 2.200 11.000 $440.00 excellent operational stability, full-featured dedicated channel

Prices read from /api/pricing on 27 November 2026, Beijing time. The monthly column is 100 × input price + 20 × output price.

The lowest ratio is not automatically the right one. Its own description says it may queue at peak hours, which is fine for a nightly refactoring job and wrong for a customer-facing chat. The point for a team is that this choice can be made per key. A CI pipeline that runs code review at 3 a.m. can sit on Claude-Code-1 at $70.59 a month for this volume, while the production service that cannot wait sits on Claude-Code-3 or AWS-Bedrock-2 at $180.00 or $235.30.

The same pattern holds outside Anthropic's models. GPT-6.1 Sol and Gemini 4 Argon also have a $2 and $10 base on the pricing endpoint. Across their groups, the same 100M-plus-20M month ranges from $14.71 to $360.00 for GPT-6.1 Sol and from $60.00 to $382.36 for Gemini 4 Argon. One detail changes the maths for long prompts: GPT-6.1 Sol requests above 272,000 input tokens bill input at 2x and output at 1.5x, up to 1,000,000 tokens. A team that stuffs whole repositories into context should check its prompt sizes before using the table above as a budget.

Four limits live on each key, not on the account

Cost control on a gateway only works if it is enforced before the request reaches a model. On OpenLux each API key carries its own settings, and the gateway checks them on every call:

  • Spending limit. A key can have a fixed quota or be unlimited. Once a capped key has used its quota, its requests are refused, and the rest of the account keeps working.
  • Expiry date. A key can expire on a set date or never. Contractor and hackathon keys can be set to die on their own.
  • Model allowlist. With model limits on, a key can only call the models listed on it. A key meant for Claude Sonnet 5.5 cannot quietly start calling Claude Opus 5.5, which has a $4 and $20 base, twice Sonnet's.
  • IP allowlist. A key can be locked to a list of client IP addresses, one per line. A request from any other address gets HTTP 403, so a key copied out of a server config is useless elsewhere.

On top of these four, each key chooses which groups it may use, which is how the per-workload pricing in the previous section is set up. A practical layout for a 20-person team is one key per service and per pipeline, each with a model allowlist, a monthly cap sized to its budget and, for servers, an IP allowlist. Personal developer keys get a cap and an expiry date but no IP lock, since laptops move.

What these limits do not give you is a budget hierarchy with departments and approvals. The cap sits on the key. If you need spend rolled up by team, name keys by team and add them up from the log, which is the next point.

What the per-request log shows after the month closes

Every request through the gateway lands in the usage log of the console. Each entry records the key name, the model, input and output tokens, the charge, the client IP, the request ID and the time taken. You can filter by key name, by model and by group, which is enough to answer the three questions a team lead actually asks at month end: which key spent the most, on which model, and from where.

The request ID matters more than it looks. When a developer reports a bad answer or a failed call, the ID ties their report to one line in the log, with the group and model that served it. And because the charge on each line is computed from the same ratio table shown above, you can reproduce any line by hand: tokens times base price times group ratio.

The log is built for spend and for tracing a single request by its ID. If your team also needs evaluation or prompt-quality tooling, that is a separate tool to run alongside the gateway, not something the usage log replaces.

Stablecoins settle the balance; nothing else changes

OpenLux runs on a prepaid balance. You top up, and every request draws it down at the rates above. Top-ups accept bank cards, Apple Pay, Google Pay and stablecoins. For teams that already hold stablecoins, this removes a conversion step without changing anything else: the same keys, limits and log apply however the balance was funded.

Two gaps are worth knowing before you plan around them. There is no Batch API, so jobs that rely on a vendor's half-price batch mode keep that cost advantage only on the vendor's own platform. And prices are set per group, so the table above can change when groups are added or ratios move. The pricing page and /api/pricing always show the live numbers.

Where OpenRouter or a self-hosted proxy is the better pick

If your team wants vendor token prices with no group choice at all, OpenRouter's model is simpler: one price per model and a 5.5% fee on credit purchases. If you need the gateway inside your own network, or want to use provider accounts you already hold, a self-hosted proxy such as LiteLLM fits better, at the cost of running it yourselves.

OpenLux fits a narrower but common case: a team spending hundreds or thousands of dollars a month across Claude, GPT and Gemini, that wants to put cheap batch-style work and latency-sensitive production traffic on different price tiers, and needs per-key caps, model allowlists and IP locks to keep 20 keys from becoming 20 risks. The deciding number is your monthly token volume. At 120 million tokens a month on Sonnet 5.5, the gap between the lowest and highest group in the table is $369.41; at a tenth of that volume it is $36.94, and simplicity may be worth more.

Before moving a team over, test these three things

First, create one key per workload, with a model allowlist and a cap of a few dollars, and point one non-critical pipeline at it for a week. Second, read the usage log at the end of that week and check the charge on a handful of lines against tokens times base price times ratio. Third, if any workload sends prompts above 272,000 tokens to GPT-6.1 Sol, price that workload separately with the 2x input step before committing a budget.

If those three hold, move the remaining keys one service at a time, changing only the base URL and the key. You can create an account and your first keys at openlux.ai/register.

By the OpenLux Team. Prices read on 27 November 2026 (Beijing time) and subject to change; see /pricing for live rates.

New API

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot
  • Careers

Legal

  • Terms
  • Privacy
  • Usage
  • Disclaimer
  • Refunds
  • DPA
  • Compliance
  • Imprint

Docs

  • API
  • AI News
  • From OpenRouter
  • Announcements

More

  • Agent

One API for mainstream AI models

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

New API

One API for mainstream AI models

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot
  • Careers

Docs

  • API
  • AI News
  • From OpenRouter
  • Announcements

More

  • Agent

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

Privacy | Terms | Usage | Disclaimer | Refunds | DPA | Compliance | Imprint |