v0.2.2 · pricing table 2026-10-26 · BYOK · $0 compute on our side

Change one line.
Pay less for the same model.

TokenZero sits between your code and OpenAI, Anthropic or Gemini. Your API key passes straight through — we never hold it and never spend it. On the way we make your prompts cache-friendly, serve exact repeats from the edge in under 10 ms, and hand you a signed receipt for every dollar saved.

from openai import OpenAI

client = OpenAI(
    base_url="https://tokenzero.sh/v1",   # ← the only change
    api_key=os.environ["OPENAI_API_KEY"],         # your key, passed straight through
)
r = client.chat.completions.create(model="gpt-6.1-sol", messages=[...])
$0.00verified savings, all time
0%of baseline spend removed
3requests proxied
3workspaces

Four engines, zero trust required

Everything below is deterministic and inspectable. Nothing is on by default that could change what your model sees.

1 · Prompt-cache formatter on by default

Providers discount input tokens they can match as a prefix of an earlier request — Anthropic needs explicit cache_control breakpoints, OpenAI's older models a stable prompt_cache_key. Most code never sets them. We add them to the static part of the request (tools → system) without changing a single token. Cache reads are 75–97% cheaper than fresh input depending on model.

2 · Exact & semantic edge cache exact on by default

Byte-identical, deterministic requests (temperature: 0 or a seed) are served from our cache at $0 and <10 ms. Responses with tool calls are never cached. Near-duplicate matching (SimHash on the dynamic part of the prompt, same system/tools) is opt-in with X-TokenZero-Semantic-Cache: true.

3 · Cascade router opt-in

A deterministic classifier scores how simple each request is (extraction, classification, JSON formatting, short summaries). By default it only tells you — X-TokenZero-Cascade-Recommendation on the response. With X-TokenZero-Cascade: auto it routes confident cases to the model's cheaper sibling. Nothing about output parity is promised; an opt-in shadow monitor that measures it on your own traffic is coming.

4 · Signed savings ledger always

Every request logs the list-price baseline for the model you asked for and the actual cost from the provider's own usage report. The difference is signed with Ed25519; the public key is at /.well-known/tokenzero.json, so anyone can verify a badge. Streams are measured from the stream's own usage events.

Simulator

Paste a system prompt and a typical user message, or start from a preset. Same tokenizer, pricing table and classifier as the live gateway.

Results appear here. Try a 1,500-token system prompt with a classification-style user message to see all three engines engage.

Pricing

You cannot lose money on this: every paid plan is a share of savings the signed ledger proves, with a 3x-ROI-or-$0 rule, and two of them have a hard ceiling. Plans can be chosen today; nothing is charged until billing goes live.

Free

$0. Up to $500/month of routed LLM spend, all four engines, signed receipts, badge, CLI, MCP, GitHub Action. No card.

Performance

15% of verified savings above the free tier, $0 base. If a month's savings are not at least 3x the fee, the fee is $0. Saved $4,700? You pay $705 and keep $3,995.

Pro Cap

15% of verified savings, never more than $199/month, for up to $25k/month of routed spend. Annual prepay $1,790 (25% off). Saved $4,000? You pay $199.

Scale Cap

15% of verified savings, never more than $999/month, for up to $150k/month of routed spend; SSO/SAML, custom SLA, consolidated receipts. Annual prepay $8,990 (25% off).

LLM FinOps leaderboard

Workspaces by verified savings over the last 30 days. Anonymous workspaces are listed by suffix.

#WorkspaceRequestsBaselineSaved%
Loading…

Badge

Add it to a README. It reads live from the ledger and links to the verification page.

[![LLM spend verified by TokenZero](https://tokenzero.sh/v1/badge/<workspace_id>.svg)](https://tokenzero.sh/v1/ledger/stats?workspace=<workspace_id>)

Open-source tools

Find token waste before it ships. Apache-2.0, run on your machine or CI runner, no account, and your code is never uploaded. github.com/tokenzero-ai/tokenzero

CLI

npx -y @tokenzero/cli audit .

Scans for uncached static prompts, frontier models on simple tasks and LLM calls in loops. --fail-over 30 turns it into a CI gate.

MCP server

claude mcp add tokenzero -- npx -y @tokenzero/mcp

Lets your coding agent audit the repo it is working in and price model choices before writing the call.

GitHub Action

- uses: tokenzero-ai/tokenzero/action@v0

Keeps one cost-check comment up to date on each pull request. Setup

Fast by measurement

+1.52 ms median overhead when the request goes to the model; cache hits answered in 1.08 ms instead of a model call.

Method and full results

Audit a public repo

Static analysis of prompt and SDK patterns — no account, no key, read-only.