AtmoRouter 以較低按 token 費率提供 OpenRouter 替代方案
AtmoRouter: A Cheaper OpenRouter Alternative (OpenAI-Compatible, Pay-Per-Token)
AtmoRouter 提供兼容 OpenAI 的 API 閘道,以按 token 計費連接多種模型,並主打多款模型的費率低於官方標價,毋須訂閲。
OpenRouter made a great idea mainstream: one API, many models. Subscription coding tools like Command Code bundle model credits into monthly plans. Both are solid options. But if your main goal is paying less per token for frontier models without signing up for a plan, there's another option worth benchmarking.
AtmoRouter is an OpenAI-compatible API gateway. You get one ar- key and one base URL, pay per million tokens, and requests are routed to healthy capacity. Moving existing OpenRouter code over takes two lines.
Why look for an OpenRouter alternative?
OpenRouter is transparent about how it charges. Per its FAQ, it passes provider pricing through without markup and makes money from a 5.5% fee (minimum $0.80) on credit purchases, or a 5% fee for crypto payments. That's fair, but it also means you pay roughly the official list price for every model.
Command Code takes a different approach. It sells monthly plans (for example Go at $1/mo, GOAT at $10/mo, Pro at $20/mo, Max 10× at $100/mo, all plus a processing fee) that include a pool of credits. Those credits have rolling 5-hour and weekly usage caps, and per-model allowances on the lower tiers. Pay-as-you-go API access through its Provider plan costs $15/mo.
AtmoRouter takes a third approach: no subscription, no seats, no minimum, and per-token rates listed below official pricing for many models.
Price comparison: AtmoRouter vs OpenRouter (checked October 16, 2026)
All prices are in USD per 1M tokens. They were pulled from each service's public /models API on Oct 16, 2026. Prices change, so check the live lists before you decide.
| Model | OpenRouter (input / output) | AtmoRouter model ID | AtmoRouter (input / output) |
|---|---|---|---|
| Claude Sonnet 5.5 | $2.00 / $10.00 | cc/claude-sonnet-5-5 |
$0.50 / $2.50 |
| Claude Sonnet 4.6 | $3.00 / $15.00 | cc/claude-sonnet-4-6 |
$0.75 / $3.75 |
| Claude Opus 4.6 | $5.00 / $25.00 | cc/claude-opus-4-6 |
$1.25 / $6.25 |
| GPT-6 Astra | $10.00 / $50.00 | cx/gpt-6-astra |
$0.10 / $0.50 |
| GPT-6 Sol | $2.00 / $10.00 | cx/gpt-6-sol |
$0.045 / $0.225 |
Notes:
- OpenRouter's numbers are its pass-through list prices. Its 5.5% credit-purchase fee comes on top.
- AtmoRouter often lists the same model under several upstream families (for example
ag/,cc/, andcx/prefixes), each with its own price, context window, and capacity. The table shows one option per model. Check/v1/modelsfor every variant. - Command Code isn't in the table because it's mainly priced as subscription bundles, not one public per-token rate per model.
What you get with AtmoRouter
- One key, all models. It's a drop-in replacement for OpenAI: change the base URL and keep your SDK. Anthropic-compatible clients work too.
- Routing to healthy capacity. Exhausted or degraded sources are skipped automatically.
- Exact per-token metering. Input and output are priced separately, based on the upstream usage report.
- Real streaming. Full SSE passthrough in OpenAI's format, with usage on the final frame. Stop the stream, stop paying.
- Keys with guardrails. Create unlimited keys with per-key rate limits and model allowlists.
- Auditable usage. Every request is logged with tokens, latency, and cost, and you can export it.
-
Failed upstream requests are never billed. Every response also includes an
X-Atmorouter-Costheader showing the exact amount deducted.
Migrating from OpenRouter in two lines
If you use the OpenAI SDK with OpenRouter, change the base URL and the key:
from openai import OpenAI
client = OpenAI(
# base_url="https://openrouter.ai/api/v1", # before
base_url="https://atmorouter.dev/v1", # after
api_key="ar-xxxxxxxxxxxx", # your AtmoRouter key
)
res = client.chat.completions.create(
model="cc/claude-sonnet-5-5", # use an AtmoRouter model ID
messages=[{"role": "user", "content": "Explain PKCE."}],
)
print(res.choices[0].message.content)
Node.js works the same way:
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://atmorouter.dev/v1", // was https://openrouter.ai/api/v1
apiKey: process.env.ATMOROUTER_API_KEY,
});
For CLIs and coding agents, environment variables are enough:
export OPENAI_BASE_URL="https://atmorouter.dev/v1"
export OPENAI_API_KEY="ar-xxxxxxxxxxxx"
# List every model (with pricing) you can call:
curl $OPENAI_BASE_URL/models -H "Authorization: Bearer $OPENAI_API_KEY"
Model IDs differ between the two services (OpenRouter uses
anthropic/claude-sonnet-5.5, AtmoRouter usescc/claude-sonnet-5-5), so update your model strings when you switch.
How AtmoRouter billing works
- Deposit USDC on Solana or pay with QRIS. No card on file, no recurring charge.
- Input and output tokens are counted separately. Cached input bills at 10% of the input rate.
- The cost formula is public:
cost = ((in − cached) × input_price + cached × input_price × 0.10 + out × output_price) / 1M
- Your balance is deducted when a request settles. An empty balance blocks new calls and never overdraws.
OpenRouter vs Command Code vs AtmoRouter at a glance
| OpenRouter | Command Code | AtmoRouter | |
|---|---|---|---|
| Pricing model | Pass-through provider pricing + 5.5% credit fee | Monthly plans with included credits; $15/mo Provider API plan | Pay-per-token, no subscription |
| Usage caps | Provider rate limits | 5-hour and weekly caps on plan credits | Per-key rate limits you set |
| OpenAI-compatible | Yes | Yes (Provider plan) | Yes |
| Payment | Cards, AliPay, USDC | Subscription + top-ups | USDC on Solana, QRIS |
Is AtmoRouter right for you?
If you want the widest catalog and provider-level routing controls, OpenRouter is excellent. If you want a coding agent with bundled credits, Command Code fits. If you want frontier models at per-token rates below list price, no monthly plan, and a migration measured in lines of code, give AtmoRouter a try:
- Create an account (email only).
- Top up with USDC on Solana or QRIS.
- Generate an
ar-key. - Point your existing client at
https://atmorouter.dev/v1.
👉 Try AtmoRouter at atmorouter.dev
Questions or model requests? Join the AtmoRouter Discord, linked from the site.
Pricing sources, checked Oct 16, 2026: openrouter.ai/docs/faq, openrouter.ai/api/v1/models, commandcode.ai/pricing, commandcode.ai/docs/resources/usage-limits, atmorouter.dev/v1/models.
來源:DEV Community · dev.to