mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:18:55 +00:00
fix: keep Sonnet 5 intro pricing over duplicate standard-rate entry
PR #55848 and #60410 both added an (anthropic, claude-sonnet-5) pricing key; the later duplicate (/$15 standard rate) would silently win in the dict literal. Keep the intro pricing entry ($2/$10 through 2026-08-31 per Anthropic docs) which carries the reversion note.
This commit is contained in:
parent
f44074df7f
commit
f6abfc05be
1 changed files with 0 additions and 12 deletions
|
|
@ -249,18 +249,6 @@ _OFFICIAL_DOCS_PRICING: Dict[tuple[str, str], PricingEntry] = {
|
|||
source_url="https://platform.claude.com/docs/en/about-claude/pricing",
|
||||
pricing_version="anthropic-pricing-2026-05",
|
||||
),
|
||||
(
|
||||
"anthropic",
|
||||
"claude-sonnet-5",
|
||||
): PricingEntry(
|
||||
input_cost_per_million=Decimal("3.00"),
|
||||
output_cost_per_million=Decimal("15.00"),
|
||||
cache_read_cost_per_million=Decimal("0.30"),
|
||||
cache_write_cost_per_million=Decimal("3.75"),
|
||||
source="official_docs_snapshot",
|
||||
source_url="https://platform.claude.com/docs/en/about-claude/pricing",
|
||||
pricing_version="anthropic-pricing-2026-06",
|
||||
),
|
||||
(
|
||||
"anthropic",
|
||||
"claude-sonnet-4-6",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue