Skip to content

feat(store,panel,server): price GPT-6 Astra, Fable 5.1 and Mythos 5.1 - #338

Merged
upsetbit merged 2 commits into
masterfrom
feat/price-gpt-6-astra
Sep 9, 2026
Merged

upsetbit merged 2 commits into
masterfrom
feat/price-gpt-6-astra

Conversation

@upsetbit

@upsetbit upsetbit commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

What

Prices three newly released models and fixes the panel label for Anthropic's
5.1 generation.

Model Before After
gpt-6-astra unpriced, no key reached it $10/$50 per MTok, $1 cache read, $12.50 cache write
claude-fable-5-1 prefix fallback onto claude-fable-5 own key, $0.25/MTok cache read
claude-mythos-5-1 prefix fallback onto claude-mythos-5 own key, shares the Fable 5.1 slice
grok-4.6 already correct unchanged

Grok 4.6 needed no work. Its rates already match xAI's published tariff and it
already has a row in the known-models table.

Why the 5.1 keys matter

The Fable and Mythos fallback resolved, so nothing looked broken. But the 5.1
generation kept the $10/$50 tariff and cut the cache read from $1 to $0.25 per
MTok. Cache reads dominate agent sessions, so every 5.1 session was estimated
about four times too high on the cached portion.

Both ids share one rate slice, following the gpt56SolPeriods precedent, so
the pair cannot drift. Anthropic left the $0.25 read unconfirmed for Mythos 5.1
at launch and the shared slice records that assumption in one place.

The dot forms claude-fable-5.1 and claude-mythos-5.1 go in the alias table.
The prefix fallback requires a key- separator, so a dotted minor version can
never reach the canonical key on its own.

What is not modelled

GPT-6 Astra reprices the entire request at 2x input and 1.5x output above 272K
input tokens, and Fast mode doubles the tariff under the same model id. Neither
is derivable from a session total, so both are noted in the table comment. Same
documented approximation already applied to the Gemini context tiers, the Grok
200K surcharge and Opus 5 fast mode.

Panel label

displayModel only recognised opus, sonnet and haiku as Claude tier words, so
claude-fable-5-1 rendered as "Fable 5 1". Adding fable and mythos to the tier
switch gives "Fable 5.1" and "Mythos 5.1"; the 5.0 ids are unaffected.

Verification

just ci passes end to end: tidy-check, gen-check, vet, lint, race tests,
integration tests, build, clean tree. just quality and commitlint pass.

Against the maintainer's local store, prosa analytics usage_by_model now
prices the 25 claude-fable-5-1 sessions instead of overstating them.

🤖 Generated with Claude Code

https://claude.ai/code/session_015UmSUq3v73JA3ZJr4nFhm9

upsetbit and others added 2 commits September 9, 2026 15:42
Adds gpt-6-astra, claude-fable-5-1 and claude-mythos-5-1. Sessions on all
three were reporting tokens with no cost attached, or with an overstated one.

gpt-6-astra bills $10/$50 per MTok with cache reads at $1 and cache writes at
$12.50. Prompts over 272K input reprice the entire request at 2x input and
1.5x output, and Fast mode doubles the tariff under the same model id; neither
is modelled, because a session total carries no per-request prompt length. Same
documented approximation the table already applies to the Gemini context tiers,
the Grok 200K surcharge and Opus 5 fast mode.

The 5.1 Claude generation is the subtle one. It keeps Fable 5's $10/$50 tariff
but cuts the cache read from $1 to $0.25 per MTok, so the prefix fallback onto
claude-fable-5 resolves without looking broken while overstating every cache
read by 4x. Both ids get their own key, sharing one rate slice so the pair
cannot drift; Anthropic left the $0.25 read unconfirmed for Mythos 5.1 at
launch, and the shared slice records that assumption in one place.

The dot forms claude-fable-5.1 and claude-mythos-5.1 go in the alias table:
the prefix fallback requires a "key-" separator, so a dotted minor version can
never reach the canonical key on its own.

Sources: openai.com/index/gpt-6-astra and OpenAI's model reference page;
Anthropic's model pricing table.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015UmSUq3v73JA3ZJr4nFhm9
displayModel only recognised opus, sonnet and haiku as Claude tier words, so
anything else fell through to the title-cased fallback and lost the dot in the
version: claude-fable-5-1 rendered as "Fable 5 1".

Adding fable and mythos to the tier switch gives "Fable 5.1" and "Mythos 5.1".
The 5.0 ids are unaffected — claude-fable-5 and claude-mythos-5 have a single
version segment and still render "Fable 5" and "Mythos 5".

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015UmSUq3v73JA3ZJr4nFhm9
@upsetbit
upsetbit merged commit b61d89f into master Sep 9, 2026
5 checks passed
@upsetbit
upsetbit deleted the feat/price-gpt-6-astra branch September 9, 2026 18:54
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.

1 participant