opencheap.si
鸣谢

OpenCheap vs OpenRouter for cheapest pricing and failover

更新于2026年11月27日

For agents that should spend as little as possible, OpenCheap sends every request to the cheapest provider of the model by default and bills that provider's price; OpenRouter by default spreads requests across providers weighted by price, speed and reliability, and goes cheapest-first only when you ask (sort: "price" or :floor). Both fail over to another provider before the answer starts, and neither switches providers once tokens are streaming. OpenCheap also has daily spend limits per key and lets an agent pay per call in USDC with no account; OpenRouter has bring-your-own-key and lower card fees. The canonical comparison is OpenCheap vs OpenRouter. The wider set of options is on OpenRouter 的替代方案.

174 of 320
paid models both sell are cheaper per token on OpenCheap today
55 %
median saving on those, against OpenRouter's list
71
models where OpenCheap is dearer: shown below, not hidden

For agents, side by side

OpenCheap from its router; OpenRouter from its own docs, as of November 17, 2026.

OpenCheapOpenRouter
Who gets a requestThe cheapest provider of the model, ranked by what its calls really costWeighted by each provider's price, throughput, latency and reliability; each request picks one at random by those weights
Cheapest every timeThe defaultSet provider.sort to "price", or add :floor to the model id
Price per tokenThe serving provider's price, no fee per requestThe provider's list price, no markup on inference
Fee on adding credit10 % + $0.30 by card, 5.5 % by crypto or agent wallet, added when you top up5.5 % (Standard plan), 8 % (Business)
Failover before the answer startsYes: errors, timeouts and error bodies go to the next provider; failed tries are not billedYes, on by default (allow_fallbacks)
Failure after tokens were sentNo switch; the stream ends without [DONE]No switch stated; a last chunk carries the error and finish_reason "error"
Choose providersprovider.only, ignore, order, max_price, speed floorsprovider.only, ignore, order, max_price, sort
Spend limit per keyDaily, weekly, monthly or lifetime, plus one per account; email alertsA credit limit per key
Bring your own provider keysNoYes: free up to $25,000 of list-price use a month, then 5 %
Free models10 requests a minute and 200 a day per key20 requests a minute, 50 a day (1,000 after $10 of credits)

How the cheapest price is found

Popular models, per million input and output tokens, as of 2026-12-04 11:15 UTC. OpenRouter's column is its list price before its credit fee; the difference is on a 1 : 3 input : output blend.

型号OpenCheap / 1M in · outOpenRouter / 1M in · out区别
克劳德·索内特 5$1.10 · $5.50$2.00 · $10.00−45 %
克劳德 作品5.5$2.16 · $10.80$4.00 · $20.00−46 %
GPT 5.5$2.00 · $12.00$5.00 · $30.00−60 %
Gemini 3.5 Flash$1.50 · $9.00$1.50 · $9.00同上
deepseek-v4-flash$0.073 · $0.147$0.090 · $0.180−18 %
基米 K3$1.57 · $0.945$0.192 · $16.00−91 %
gpt-oss-120b$0.0049 · $0.021$0.030 · $0.187−89 %
GLM 5.3 Flash$0.006433 · $0.022$0.150 · $0.500−96 %
meta-llama/Llama-3.3-70B-Instruct$0.015 · $0.047$0.590 · $0.790−95 %
Grok 4.7$1.26 · $5.03$2.00 · $6.00−18 %

OpenCheap lists each model at its cheapest provider's price and sends requests there first. When that provider cannot take a request, the next one serves it at its own price, and the answer says so (x-price-basis: fallover). To refuse that, send max_price or set provider.allow_price_fallover to false. Every paid answer names the 提供商 that served it and carries 使用成本, what that request was charged (on a stream, in the usage chunk you ask for with stream_options.include_usage).

OpenRouter's default can send a request to a provider that is not the cheapest, for speed or reliability; sort: "price" or :floor makes it cheapest-first, and max_price refuses a request when no price fits. Each model's page here lists every provider's price: all models.

What happens when a provider fails

The moment that matters is the first token: before it, a request can move; after it, it cannot.

WhenOpenCheap does
The provider answers with an error, or an error inside a 200The next provider gets the same request. Not billed.
The provider sends nothing in timeSkipped after about 30 seconds on a streamed request (more for very long prompts), or 5 minutes on a non-streamed one. Not billed.
Every provider within the price failsUp to three dearer providers are tried, at their own price, unless you set max_price or allow_price_fallover: false. If none answers: 502 or 503.
The provider keeps failingIt is benched for that model: seconds to a minute after server errors, its Retry-After after a 429, 15 minutes when it no longer serves the model.
The stream breaks after tokens reached youNo switch: the stream ends without [DONE], so your client can tell it was cut. You are billed what the provider reports, or an estimate when it reports nothing.
A non-streamed answer breaks before it reached youNothing was sent to you yet, so the next provider gets the request. Not billed.

For an agent this means: stream long answers, treat a stream that ends without [DONE] as cut and send the request again, and retry 502 and 503 after the Retry-After. The full list of codes is in the errors docs.

Latency and reliability

OpenCheap ranks on price, not speed. Providers that answer slowly or are full right now move to the end of the line, and a conversation stays on the provider that holds its prompt cache, so cached input stays cheap. When speed matters more than price, ask for it per request: provider.sort set to "throughput" or "latency", :nitro on the model id, or a floor with min_throughput and max_latency (see 速度). Every provider's speed and uptime are on each model's page.

OpenRouter weighs throughput, latency and reliability into its default choice, which can trade a higher price for speed without you asking.

Which one, by use case

If you needPick
The lowest price per token, with no routing settingsOpenCheap
A coding agent that must stop at a daily dollar limit on its own keyOpenCheap
The cost and the provider of every request in the answer itselfOpenCheap
To use your own provider keys (BYOK)OpenRouter
Frequent small card top-ups at the lowest feeOpenRouter
A tool that only has a built-in OpenRouter optionOpenRouter
Default balancing across providers for speed and uptime over priceOpenRouter

Both speak the OpenAI API, so trying one costs a base URL and a key: https://api.opencheap.si/v1 for OpenCheap. OpenRouter-style ids like anthropic/claude-sonnet-5 work here too.

问题与解答

Is OpenCheap or OpenRouter cheaper?

Per token, OpenCheap is cheaper on 174 of the 320 paid models both sell (a median 55 % under OpenRouter's list price), the same on 75 and dearer on 71, from today's prices. OpenCheap sends each request to the cheapest provider by default; OpenRouter does when you set provider.sort to "price" or add :floor to the model id. Fees on adding credit differ: OpenRouter charges 5.5 % on its Standard plan; OpenCheap 10 % + $0.30 by card and 5.5 % by crypto.

What happens when a provider fails in the middle of a request?

On OpenCheap, a provider that errors, times out or answers with an error before the answer starts is skipped and the next provider gets the same request; failed tries are not billed. Once tokens have reached you, neither OpenCheap nor OpenRouter switches providers mid-answer: OpenCheap ends the stream without [DONE], OpenRouter sends a final chunk with an error and finish_reason "error". Your agent should retry that request.

Which is better for coding agents?

OpenCheap if the agent should pay the lowest price per token without configuration or needs a daily spend limit on its own key. OpenRouter if you bring your own provider keys, top up by card often, or use a tool that only has a built-in OpenRouter option.

Can I switch from OpenRouter to OpenCheap without changing code?

Usually yes. Both speak the OpenAI API: change the base URL to https://api.opencheap.si/v1 and the key. OpenRouter-style ids such as anthropic/claude-sonnet-5 work on OpenCheap as aliases, and so do provider.only, provider.ignore, provider.order and max_price.

Does OpenCheap support bring-your-own-key?

No. OpenCheap buys the tokens from each provider and bills you that provider's price from one balance. OpenRouter supports your own provider keys, free up to $25,000 of list-price use a month, then 5 %.

More guides

最便宜的LLM API
最便宜的 LLM API(实时价格,每日更新)

热门模型的实时报价(按100万代币计价),由系统自动路由至最便宜且运行正常的提供商。一个兼容OpenAI的密钥。按需付费,无月费。

最便宜的 DeepSeek API
更实惠的 DeepSeek API,附官方价格对比表

Official DeepSeek API prices next to live OpenCheap rates for V4.1 Flash, V4 Pro and other DeepSeek models. One OpenAI-compatible key. Prices move; the tables are dated.

Cheapest-provider routing
An LLM router that sends each request to the cheapest provider

OpenCheap routes each request to the cheapest healthy provider of your model, fails over before the first byte, and bills that provider's price.

One API key for all AI models
One API key for all AI models

One OpenCheap key calls Anthropic, Google, OpenAI, DeepSeek, Moonshot, Qwen and more through the OpenAI SDK: change the base URL and the key.

Pay per call in USDC
Pay for LLM API calls with USDC, without an account or an API key

An AI agent can pay OpenCheap for one completion in USDC on Base with x402: call with no key, read the 402 price, sign, and get the answer in the same request.

Spend limits per key
Set a daily spend limit on each API key your agents use

Give each OpenCheap key a daily, weekly, monthly or lifetime spend limit, so an agent left running overnight can't spend more than you allow.

Cursor, LiteLLM, OpenAI SDK
Connect Cursor, LiteLLM or the OpenAI SDK with the base URL

Connect Cursor, LiteLLM and the OpenAI SDK to OpenCheap with a base URL, a key and a model id. Steps, env variables, code and common errors.

Cheapest Claude API
一款价格低廉的Claude API,附官方价格对比

Anthropic's list prices next to live OpenCheap rates for Claude. One OpenAI-compatible key. Prices move; both tables are dated.

最便宜的GPT API
GPT API 的定价,以及调用它的最便宜方式

GPT API pricing per 1M tokens: OpenAI's list rates for GPT-6, GPT-5 and GPT-4 models next to live OpenCheap prices, on one OpenAI-compatible key.

Cheapest Gemini API
The cheapest way to use Gemini through an API

Gemini chat models on OpenCheap, with today's price per million input and output tokens from the same book as the pricing page.

最便宜的 Qwen API
最便宜的 Qwen API,附官方价格对比

Qwen API pricing per 1M tokens: Alibaba Cloud's list rates next to live OpenCheap prices for Qwen4 Max, Qwen3 Coder and more. One OpenAI-compatible key.

最便宜的 Llama API
最便宜的 Llama API,实时报价

Llama 4 Maverick、Scout、3.3 70B 和 3.1 8B 的 Llama API 定价(按 100 万个令牌计),来自最便宜且服务稳定的提供商。包含一个与 OpenAI 兼容的密钥。

最便宜的Kimi API
The cheapest Kimi API, with official prices side by side

Kimi API pricing per 1M tokens: Moonshot's list rates next to live OpenCheap prices for Kimi K3.1 Pro, K3 and K2.6. One OpenAI-compatible key.

Claude Code for less
Run Claude Code for less

Point Claude Code at OpenCheap and pick a model per task: Claude at the provider's price, or open models for a fraction, on one key with a spend limit.

每款主要车型,仅需一把钥匙。