Skip to content

docs(models): decoder inference prices, and align the catalog with the post-sunset surviving set - #65

Open
kfastino wants to merge 7 commits into
mainfrom
kelton/add-decoder-inference-prices
Open

docs(models): decoder inference prices, and align the catalog with the post-sunset surviving set#65
kfastino wants to merge 7 commits into
mainfrom
kelton/add-decoder-inference-prices

Conversation

@kfastino

@kfastino kfastino commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

Brings concepts/models.mdx (and its cn/de/es/fr copies) in line with the
actual model catalog. Every row here was checked against a live API rather
than against the previous version of the page.

1. Decoder inference prices

The five inference family tables listed model IDs and labels only. They now
carry input, output, cached-input and context columns, sourced from
GET /base-models.

2. claude-haiku-5 does not exist

The page advertised claude-haiku-5. Four independent checks say it has never
existed: POST /v1/chat/completions returns model_not_found, there is no
model_prices row, no reference anywhere in the backend, and zero rows in
inferences ever. The live model is claude-haiku-4-5 (250,984 production
requests). Replaced across 13 files — including the curl example in
api-reference/authentication.mdx and its four translations, which was the
first request a new user copies and was failing for every one of them.

3. Catalog alignment with the post-sunset surviving set

GET /base-models on dev already serves the post-sunset catalogue that
#6232 will bring to production. Diffing the page against it:

Change Detail
Added claude-opus-5-fast, claude-fable-5 Both survive and serve in production today
Added Moonshot AI section — moonshotai/Kimi-K3, Kimi-K3-Fast Both survive and serve today; the page's closing note claimed they were unsupported
Removed zai-org/GLM-5.2-Fast Does not survive the sunset
Repriced GLM 5.2 $1.40 / $4.40, cache read $0.26. The old $1.50 cached figure was the NULL cache_read_per_million fallback rendering the input rate — ~5.8x the real one
Repointed DeepSeek Canonical deepseek-ai/DeepSeek-V4-Flash, cache read $0.05 (was $0.028); -0731 documented as a still-working alias
Filled Nemotron cached input + context $0.50 and 8,192, previously dashes

Verification

Every documented ID was called against production /v1/chat/completions, and
the finished tables were diffed programmatically against dev's catalog:

docs decoder rows: 16   dev decoder models: 16
ALL MATCH          (id, input, output, cache-read — no extras, nothing missing)

The same check passes for all four translations (16/16, no extras, no missing).

Merge ordering — please read

This page now describes the post-sunset catalog, which is live on dev but
not yet in production (prod still returns 106 inference models; dev returns
26). Two rows are therefore ahead of production:

  • deepseek-ai/DeepSeek-V4-Flash — the canonical ID currently returns a 500 in
    production; only the -0731 pin resolves there. The alias note added below
    the table keeps a reader on a working ID either way, but the canonical ID is
    the one that will be correct after the deploy.
  • nvidia/NVIDIA-Nemotron-3.5-Lightning-* — not in production's catalog at all
    yet (prod has Nemotron 3 Nano/Super/Ultra). This is pre-existing on
    main, not introduced here.

Recommend merging this after #6232 lands and deploys to production.
Everything else on the page is already correct against production today.

The serverless-inference tables listed model IDs and labels only, so the
catalog page carried encoder and training prices but no decoder inference
rates -- the numbers customers most often look for.

Adds Input / Output / Cached input / Context columns to all five family
tables, sourced from GET /base-models where the public catalog exposes the
model and from model_prices for the rollout-gated Nemotron 3.5 Lightning
family. Adds a note on what Cached input means and why some cells are a dash.

Also corrects the DeepSeek row: the catalog serves
deepseek-ai/DeepSeek-V4-Flash-0731, while the page listed the unversioned
deepseek-ai/DeepSeek-V4-Flash, which /base-models does not return.

Two data gaps this surfaced, both left as-is because they are backend issues
rather than docs ones:

* claude-haiku-5 is a documented inference target with no row in
  model_prices at all, so it has no rate to publish.
* zai-org/GLM-5.2 advertises a $1.50 cached-input rate identical to its
  input rate. That is an artefact: the nebius row carries the highest input
  and a NULL cache_read, and the catalog's max-across-providers display
  falls back to the input rate for NULLs. Four of the five supply rows price
  cache reads at $0.14-0.26. #6282 resolves this by collapsing to a single
  precedence-ranked row and carrying missing rates forward.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
pioneer 🟢 Ready View Preview Aug 18, 2026, 6:16 PM

…-4-5

claude-haiku-5 was documented across 13 pages as a supported inference
target. It is not live and appears never to have been:

* POST /v1/chat/completions returns model_not_found for it.
* No row in model_prices, so there was no rate to publish.
* No reference anywhere in the Pioneer codebase.
* Zero requests in the inferences table, ever.

claude-haiku-4-5 is the live Anthropic haiku on the platform -- 250,984
production requests and still serving -- at $1.00 / $5.00 with $0.10
cached input and a 200,000-token context.

Corrects the catalog row (with its rates, which the previous entry could not
have) plus prose in introduction.mdx, faq.mdx, concepts/router.mdx and
guides/fine-tune-llm.mdx, and the auth curl example in api-reference and its
cn/de/es/fr translations -- that example is the first request a new user
sends and it failed with model_not_found. Verified the corrected example
returns a completion against production.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@kfastino kfastino changed the title docs(models): add prices to the decoder inference tables docs(models): add decoder inference prices; fix claude-haiku-5 (does not exist) Aug 18, 2026
The inference tables were a hand-maintained list that had drifted from the
catalog. Checked every row against the live `GET /base-models` on dev, which
already serves the post-sunset catalogue (26 models) that #6232 brings to
production:

* Add the surviving models the page omitted entirely: `claude-opus-5-fast`,
  `claude-fable-5`, and a Moonshot AI section for `moonshotai/Kimi-K3` and
  `moonshotai/Kimi-K3-Fast`. All four serve in production today, so the
  page's "not supported inference targets" note was actively wrong about them.
* Drop `zai-org/GLM-5.2-Fast`, which does not survive the sunset.
* Reprice GLM 5.2 to \$1.40/\$4.40 with a \$0.26 cache read. The old \$1.50
  cached-input figure was the NULL `cache_read_per_million` fallback showing
  the input rate — ~5.8x the real rate.
* Repoint DeepSeek at the canonical `deepseek-ai/DeepSeek-V4-Flash` and
  correct its cache read to \$0.05, noting the `-0731` pin stays a working
  alias.
* Fill in Nemotron's cached-input and context columns (\$0.50, 8,192) instead
  of leaving them as dashes.

The same model-set corrections are applied to the cn/de/es/fr copies, which
carry the ID tables without the price columns.

All 16 decoder rows now match dev's catalog on id, input, output and cache-read
rate with no extras and nothing missing, in all five languages.
@kfastino kfastino changed the title docs(models): add decoder inference prices; fix claude-haiku-5 (does not exist) docs(models): decoder inference prices, and align the catalog with the post-sunset surviving set Aug 18, 2026
The $0.05 came from dev's `/base-models`, but production bills against the
`vercel_ai_gateway` + `deepseek-ai/DeepSeek-V4-Flash-0731` price row, which is
$0.028/M — 42,574 of the last 43k DSV4-Flash requests resolve to exactly that
(provider, model) key. `supabase/seed.sql` on `development` agrees at $0.028
for the canonical id too, so $0.028 is the right figure both today and after
the canonical cutover.
…context tier

Both found by checking `model_prices` in production rather than dev:

* GLM 5.2 cached input is \$0.14 on `vercel_ai_gateway`, which serves 2,140 of
  the last 2,314 GLM-5.2 requests. The \$0.26 figure is what the modal,
  openrouter and pioneer rows carry; it is not what production bills.
* Every GPT-5 model has a second `context_tier` row that kicks in above
  272,000 prompt tokens at roughly double the standard rate. The page
  documented only the standard tier, so a caller sending a 300k prompt was
  quoted half of what they are actually charged.
The sell-sheet re-key drops every non-standard `context_tier` row from
`model_prices`, so once it ships a GPT-5 request bills at the standard rate
whatever its prompt length. The tier is real today and the rates stand until
then, but a reader planning around it should know it is going away.
Drops the line predicting the tier's retirement. Whether the sell sheet keeps
a context dimension is an open decision on the pricing re-key, so the page
should describe what customers are charged now and nothing more.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants