Repository navigation
docs(config): state why Claude's rows have no long tiers, and stop implying a pending gap - #418
Merged
Merged
Conversation
…plying a pending gap The catalogue comment listed the models whose long-context tiers are deliberately empty and said, in one breath, that every unfilled row is a "vendor has not published the number" case still waiting to be filled. Two parts of that are wrong: - Claude is not an unpublished number. Its pricing page has a "Long context pricing" section stating that Claude 4.6 and later (except Haiku 5.5) include the full 1M context window at standard pricing, and that a 900k-token request costs the same per token as a 9k one. So claude-opus-5 and claude-sonnet-5.5 correctly have no tiers at all -- reading the old note as "go find the numbers" invites someone to invent tiers that the vendor never charges for. - The "一律" universal does not hold: the reasons differ per family. For qwen3.7-flash the tier table simply has no cache-hit column, so adding tiers would zero that price; for the OpenAI rows the short/long split exists but its boundary is not pinned down. The comment now keeps the filled roster, gives each unfilled family its own reason, and records the rule that applies if Claude Haiku 5.5 is ever added (tiers start at prompt > 100,000 tokens, i.e. 100001). Comment-only change: 1 file, +9/-3, no behaviour difference.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The catalogue comment that explains why some models have no
[[models.tiers]]said, in one sentence, that every unfilled row is a "the vendor has not published the number" case that is still pending ("未填的一律是「官网没给这个数」… 待补"). Two parts of that do not hold today.Claude is not an unpublished number. Its pricing page has a Long context pricing section, and it states the rule rather than omitting it:
Both rows in this catalogue (
claude-opus-5,claude-sonnet-5.5) are "4.6 and later" and neither is Haiku, so leaving them without tiers is the correct call — but the reason in the comment was "the pricing page has no long-context section" (「价格页无长档一段」), which is false. That matters because the note is the contract a future maintainer reads: as written it says "go find Claude's long-context numbers and fill them", inviting tiers the vendor never charges for.The universal does not hold either. The unfilled families each have their own reason: the qwen3.7-flash tier table publishes only input/output columns, so adding tiers would drop its cache-hit price to zero (an undercharge); the OpenAI rows do have a short/long split but its boundary token count is not pinned down.
Changes
config/config.example.toml— comment only (+9 / −3):from_tokens = 100001.No behaviour, data or configuration-value change: the file parses to the same
[[models]]set, and the affected lines are comments.Tests
cargo test— 579 passed / 0 failed (same count as before: comment-only)cargo fmt --check— cleanChecklist
docs/)Source
The finding was measured on 2026-10-18 while auditing whether the reasons this catalogue gives for its own empty tiers still hold. The vendor rule above was re-fetched verbatim from
https://platform.claude.com/llms-full.txt(which mirrorsdocs/en/about-claude/pricing) for this PR.