$ cheapinference --say-hello

One API key.
Real Claude behind it.

Drop-in compatible with the Anthropic Messages API (/v1/messages, SSE streaming). Point your existing client at us and talk to Claude instantly — every token billed 50% below list.

✓Prepaid credits paid in USDT or card ✓Credit never expires
~/chat — zsh streaming
# swap the base URL + key — that's it
$ curl https://api.cheapinference.net/v1/messages \
    -H "x-api-key: sk-cfp-YOURKEY" \
    -H "content-type: application/json" \
    -d '{ "model": "sonnet", "stream": true,
          "messages": [{"role":"user","content":"Hello!"}] }'

event: message_start
data: {"type":"message_start","model":"claude-sonnet-5-5"}

event: content_block_delta
data: {"delta":{"type":"text_delta","text":"Hello!"}}
$ pool healthy · routes warm · tokens flowing

// 01 — why teams switch

Built like infrastructure, priced like a favor.

⇄

Drop-in compatible

Same schema, same SDK, same streaming. Swap the base URL and your key — your code doesn't change.

POST /v1/messages · SSE
%

Always 50% below list

Every token category billed at exactly 50% of Anthropic's published prices. No tiers, no games.

advertised ≡ billed
◈

Honest prepaid credits

Top up in Ethereum (ERC20) or card, spend per token. Costs computed from the same usage numbers reported per request.

no expiry · no subscription

// 02 — quick start

Swap two lines, ship.

Onboarded in four steps. Your existing client code keeps working — only the host and key change.

  1. Create an account — confirm your email with a one-time code.
  2. Add prepaid credit via the dashboard (Ethereum (ERC20) or card) — your API key activates instantly after your first top-up.
  3. Pay only for what you use: every token billed at 50% below Anthropic's list prices — see pricing.
  4. Send requests exactly like the Anthropic SDK does (swap base URL + key).
# your existing request — unchanged except host + key
$ curl https://api.cheapinference.net/v1/messages \
    -H "x-api-key: sk-cfp-YOURKEY" \
    -H "anthropic-version: 2023-06-01" \
    -H "content-type: application/json" \
    -d '{ "model": "sonnet", "stream": true,
          "messages": [{"role":"user","content":"Hello!"}] }'

event: message_start          # ← real Claude, 50% cheaper
event: content_block_delta
event: message_stop
from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.cheapinference.net",  # ← the only edit
    api_key="sk-cfp-YOURKEY",
)

stream = client.messages.create(
    model="sonnet", stream=True,
    messages=[{"role": "user", "content": "Hello!"}],
)
for event in stream:
    if event.type == "content_block_delta":
        print(event.delta.text, end="")
const res = await fetch("https://api.cheapinference.net/v1/messages", {
  method: "POST",
  headers: {
    "x-api-key": "sk-cfp-YOURKEY",
    "content-type": "application/json",
  },
  body: JSON.stringify({
    model: "sonnet", stream: true,
    messages: [{ role: "user", content: "Hello!" }],
  }),
});

// consume the SSE stream exactly like you already do
for await (const chunk of res.body)
  process.stdout.write(chunk);

Bigger volume ahead? Tell us what you need → request access — we review higher-volume requirements as capacity becomes available.

// 03 — metering

Metering you can audit.

  • ✓Prepaid credits. Top up any listed amount; each request deducts its true cost from your balance.
  • ✓Honest metering. Costs are computed from the same usage numbers reported per request — cache reads and cache writes priced by kind.
  • ✓No expiry pressure. Credit sits on your key until you spend it.
  • ✓Pick models freely per request — sonnet, opus, fable, or full names. Prices apply uniformly.
sample request, itemizedSonnet 5.5 · claude-sonnet-5-5
input      128,412 tok × $1.00/MTok$0.128
output     1,904 tok × $5.00/MTok$0.010
cached read 184,220 tok × $0.05/MTok$0.009
billed to your key$0.147saved −50%
same call at list price $0.294you keep $0.147

// 04 — rate cards

Three models. One rule: −50%.

claude-fable-5-2−50%
Fable 5.2
input / MTok$8.00$4.00
output / MTok$40.00$20.00
cached read / MTok$0.20$0.10
claude-opus-5-5−50%
Opus 5.5
input / MTok$4.00$2.00
output / MTok$20.00$10.00
cached read / MTok$0.20$0.10
claude-sonnet-5-5−50%
Sonnet 5.5
input / MTok$2.00$1.00
output / MTok$10.00$5.00
cached read / MTok$0.10$0.05

Struck-through = Anthropic's official list price. Bold = what we charge. Prompt-cache writes bill at their own official rates minus the same 50% (5-min 1.25× input, 1-hour 2× input). Prices are re-verified automatically at every service boot — advertised ≡ billed, always. See live pricing →

// 05 — do the math

Your bill, halved.

Drag to your current Anthropic spend. Same models, same tokens — a flat 50% stays with you.

Monthly Anthropic spend$2,052/mo
$50$20,000
≈ 1.0B extra input tokens / month
you keep / month$1,026
you keep / year$12,314

// 06 — scaling honestly

Need more volume?

CheapInference is live. For higher-volume usage, tell us your expected spend and concurrency. We review requests in submission order as capacity becomes available.

Request access

// 07 — straight answers

Questions, answered plainly.

Does my credit ever expire?

No. Prepaid credit sits on your key until you spend it — nothing burns down while you're not building. One running request may overshoot a near-zero balance by at most its own final cost.

How do payments work?

Available payment methods are shown at checkout (Ethereum (ERC20) or card). For USDT invoices, each invoice carries its own exact amount (e.g. $19.9973) to identify your transfer on-chain; pay that amount exactly and paste the transaction ID for automatic confirmation. Card payments are confirmed through the hosted card checkout instead.

Which models can I use?

Pick freely per request — sonnet, opus, fable, or full names like claude-sonnet-5-5. Prices apply uniformly across every category: input, output, cached reads, and cache writes.

Can I really trust the metering?

Costs are computed from the same usage numbers reported back per request — cache reads and cache writes priced by kind, never rounded in our favor. Prices shown are rendered from the same shared rate cards the gateway bills with, re-verified automatically at every service boot.

// 08 — the api contract

Stateless by design: bring your own context.

We speak the official Messages API request-for-request — no server-side session state is ever required, and we store none of your transcripts.

Which request fields do you honor?

Everything a standard Anthropic SDK sends for chat: model (family aliases like sonnet or full names), stream (SSE), max_tokens, and your messages. Plus: top-level system — a string or an array of text parts, honored verbatim as your request's system instructions; tools + tool_choice — definitions ride every request and tool calls stream back to you as ordinary content blocks; and image content blocks inside messages (image/png, image/jpeg, image/webp, image/gif).

What does metadata.conversation_id do?

It is advisory-at-best. If you set it, we send only your latest user message — banking on server-side thread continuity that usually holds but is never guaranteed: after routine maintenance or capacity changes your next turn may be answered from that message alone. If you want guaranteed correctness, omit it and always send your full message history.

Is my conversation history stored?

No. We keep zero transcripts server-side — only per-request usage records for billing (token counts and costs, no prompt or response bodies). Your context lives in your client, exactly like the official Claude API contract intends.

Start talking to Claude in minutes.

Create an account, confirm your email, add credit — your API key activates instantly after your first top-up.

Create an account
$ point-your-client-at-us --base-url https://api.cheapinference.net