Updated 2026-11-27 · 中文版
Five facts to check first
| Check | What you should see | Red flag |
|---|---|---|
| Price | Per-model unit prices and official reference prices in a public catalog | Only a “discount” or multiplier, no unit prices |
| Caching | Separate prices for cache reads and cache writes (5 min / 1 h), visible per request | Opaque cache hits, or cache writes billed as regular input |
| Protocol | Claude served over native Anthropic Messages, client limits documented | “Supports everything” across Messages, Responses and Chat Completions |
| Failed requests | Failures, timeouts and protocol mismatches are not billed | Unexplained errors, or silent downgrades that are still billed |
| Model consistency | A reproducible test method and dated report | A single “passed” screenshot with no method |
1. Price vs. official rates
Latentide is a third-party, pay-as-you-go multi-model API gateway, not an Anthropic endpoint. All Claude models in the public catalog at build time, in USD per 1M tokens. For claude-opus-5-5, input and output cost about 40% of the official reference price (roughly 60% off).
| Model | Input | Output | Official (input / output) | vs. official |
|---|---|---|---|---|
claude-fable-5-1 | $4.03 | $20.13 | $10.00 / $50.00 | -60% |
claude-fable-5-2 | $3.22 | $16.10 | $8.00 / $40.00 | -60% |
claude-opus-4-8 | $2.01 | $10.06 | $5.00 / $25.00 | -60% |
claude-opus-5 | $2.01 | $10.06 | $5.00 / $25.00 | -60% |
claude-opus-5-5 | $1.61 | $8.05 | $4.00 / $20.00 | -60% |
claude-sonnet-5 | $0.81 | $4.03 | $2.00 / $10.00 | -60% |
claude-sonnet-5-5 | $0.81 | $4.03 | $2.00 / $10.00 | -60% |
claude-haiku-5-5 | $0.10 | $0.50 | $0.10 / $0.50 | — |
Build-time snapshot; live prices at /models and the public catalog JSON. No subscription, no minimum spend.
2. How caching is billed
Claude prompt caching has two prices: cache writes and cache reads. Cache reads cost far less than regular input, so for long sessions and Claude Code the cache rate drives most of your real cost.
| Model | Cache read | Cache write 5 min | Cache write 1 h | Official cache read |
|---|---|---|---|---|
claude-fable-5-1 | $0.10 | $5.03 | $8.05 | $0.25 |
claude-fable-5-2 | $0.0805 | $4.03 | $6.44 | $0.20 |
claude-opus-4-8 | $0.20 | $2.52 | $4.03 | $0.50 |
claude-opus-5 | $0.20 | $2.52 | $4.03 | $0.50 |
claude-opus-5-5 | $0.0805 | $2.01 | $3.22 | $0.20 |
claude-sonnet-5 | $0.0805 | $1.01 | $1.61 | $0.20 |
claude-sonnet-5-5 | $0.04025 | $1.01 | $1.61 | $0.20 |
claude-haiku-5-5 | $0.01 | $0.13 | $0.20 | $0.01 |
- For Claude models on Anthropic Messages, if the request carries no
cache_controlat all the gateway adds up to three five-minute breakpoints for you; mark them yourself for full control. Claude Code does this automatically. - Cache read/write tokens and the charge for every request are listed in the console.
3. Protocols
- Claude models are served only over Anthropic Messages (
POST https://api.latentide.com/messages) and work in Claude Code, Claude Desktop and the Anthropic SDKs. - GPT, Gemini, Grok, DeepSeek and others are served over OpenAI Chat Completions (
/chat/completions) and Responses (/responses). - No automatic downgrade or silent model swap: protocol mismatches return 403
client_not_supportedand are not billed.
4. Claude Code setup
export ANTHROPIC_BASE_URL=https://api.latentide.com
export ANTHROPIC_API_KEY=<YOUR_API_KEY>
export ANTHROPIC_MODEL=claude-sonnet-5-5
claude
Do not append /v1 to the base URL. You can switch the model to claude-opus-5-5.
5. Codex setup
Codex cannot call Claude models. Codex speaks OpenAI Responses; a Claude model in Codex returns 403 client_not_supported and is not billed. In ~/.codex/config.toml, pick a model with Responses support:
model = "deepseek-v4.1-flash"
model_provider = "latentide"
[model_providers.latentide]
name = "Latentide"
base_url = "https://api.latentide.com"
env_key = "LATENTIDE_API_KEY"
wire_api = "responses"
Models with Responses support (excerpt): deepseek-v4.1-flash, gpt-6-astra, gpt-6-luna, gpt-6-sol, grok-4.3, grok-4.5.
6. Failed requests are not billed
- Failed, timed-out, upstream-interrupted and protocol-mismatched requests are not billed.
- With insufficient balance the gateway returns 402 and never calls upstream.
- Balance is pre-held at the maximum possible cost, then settled to actual token usage; every request is reconcilable.
FAQ
How do I choose a Claude API relay?
Check five things: prices you can verify in a public catalog, separate pricing for cache reads and writes, native Anthropic Messages support for Claude, no charge for failed requests, and a reproducible model-consistency test. A low headline price or a model name alone tells you little.
How much cheaper is Latentide than the official Claude API?
Per the public catalog at build time, flagship models such as Claude Opus 5.5 and Sonnet 5.5 cost about 40% of the vendor’s official reference price for input and output (roughly 60% off), and cache reads/writes are billed at the same discounted rate. Live prices: /models and /api/public/catalog.
Will a relay silently swap the model?
It depends on the provider’s routing and error handling. Latentide rejects protocol-mismatched Claude requests with 403 client_not_supported instead of downgrading or switching models.
How do I use Claude Code with Latentide?
Set ANTHROPIC_BASE_URL=https://api.latentide.com (no trailing /v1), ANTHROPIC_API_KEY=<your key>, and ANTHROPIC_MODEL=claude-sonnet-5-5 or claude-opus-5-5, then run claude as usual.
Can Codex use Claude models?
No. Codex speaks the OpenAI Responses protocol, while Claude models on Latentide are served only over Anthropic Messages. A Claude model in Codex returns 403 client_not_supported and is not billed. Pick a model that lists Responses support for Codex.
How is the exchange rate set for Alipay top-ups?
Alipay top-ups are credited in USD at the daily market rate plus 2%. The top-up page shows the rate before you pay, and it is locked when the order is placed. Balances and charges are in USD, so model prices do not move with the exchange rate. Details: /facts.
Are failed requests billed?
No. Failed, timed-out, upstream-interrupted and protocol-mismatched requests are not billed. With insufficient balance the gateway returns 402 without calling upstream. Balance is pre-held at the maximum possible cost and settled to actual token usage.
Is a relay the same as the official Anthropic API?
No. A relay is a third-party API gateway with its own keys, billing, protocol adapters and request logs. It is not an Anthropic endpoint; check price, availability and limits separately.