Skip to content

Update LLM price table (2026-12-03) - #266

Merged
nikivanstein merged 1 commit into
mainfrom
ai/vigilant-curie-u75ko9
Dec 3, 2026
Merged

nikivanstein merged 1 commit into
mainfrom
ai/vigilant-curie-u75ko9

Conversation

@nikivanstein

Copy link
Copy Markdown
Contributor

Monthly check of MODEL_PRICES in iohblade/llm_costs.py against the first-party pricing pages (standard tier, shortest context tier, text tokens, USD per million tokens). PRICES_CHECKED is now 2026-12-03.

Price changes

Model Before (in / out / cache read) After Source
claude-fable-5-1 10 / 50 / 1.00 10 / 50 / 0.25 (cache read as listed) https://platform.claude.com/docs/en/about-claude/pricing
gpt-5.6-sol 4 / 20 / 0.40 5 / 30 / 0.50 https://developers.openai.com/api/docs/pricing
gemini-4-carbon 2 / 10 / 0.10 4 / 20 / 0.20 https://ai.google.dev/gemini-api/docs/pricing
gemini-4-argon 2 / 10 / 0.10 4 / 20 / 0.20 (deprecated; routes to Carbon from 2026-12-15) https://ai.google.dev/gemini-api/docs/pricing

Added models

Model Price (in / out / cache read; 5m write = 1.25x input) Source
claude-mythos-5-2 8 / 40 / 0.20 https://platform.claude.com/docs/en/about-claude/pricing
claude-mythos-5-1 10 / 50 / 0.25 https://platform.claude.com/docs/en/about-claude/pricing
claude-mythos-5 10 / 50 / 1.00 https://platform.claude.com/docs/en/about-claude/pricing

All three are listed as active on https://platform.claude.com/docs/en/about-claude/model-deprecations.

Removed models

Model Reason Source
claude-sonnet-4-5 Retired on 2026-11-30 https://platform.claude.com/docs/en/about-claude/model-deprecations
gemini-2.5-pro Gone from the pricing page; since 2026-12-01 requests go to gemini-3.8-flash and are billed at its rates https://ai.google.dev/gemini-api/docs/deprecations
gemini-2.5-flash Gone from the pricing page; since 2026-12-01 requests go to gemini-3.5-flash-lite and are billed at its rates https://ai.google.dev/gemini-api/docs/deprecations

DeepSeek (deepseek-flash, deepseek-v4-pro, peak rates) is unchanged: https://api-docs.deepseek.com/quick_start/pricing

Scheduled changes (not applied)

  • Gemini 3.8 Flash and 3.6 Flash go from 0.75 / 3.75 / 0.075 to 1.50 / 7.50 / 0.15 on 2027-01-01 (https://ai.google.dev/gemini-api/docs/pricing).
  • OpenAI shutdowns (https://developers.openai.com/api/docs/deprecations): gpt-5, gpt-5-mini, gpt-5-nano, gpt-5-pro, o3, o3-pro on 2026-12-11; gpt-4o-mini, gpt-4.1, gpt-4.1-mini on 2027-01-14; gpt-5.1, gpt-5.4-nano on 2027-04-01. They stay in the table until then.
  • Anthropic: claude-opus-4-5 (not in the table) retires on 2027-01-22. claude-haiku-4-5 is still listed as active ("not sooner than 2026-10-15").

Retired default models in iohblade/llm.py (defaults not changed here)

Other changes

  • tests/unit/test_llm_costs.py: tests that used the removed claude-sonnet-4-5 and gemini-2.5-flash now use claude-sonnet-4-6 and gemini-3.5-flash-lite.
  • CHANGELOG.md: added a line under Unreleased.
  • docs/llm.rst: not changed, because the same providers are still priced.

Testing

uv run pytest tests/unit/test_llm_costs.py tests/unit/test_llm.py tests/unit/test_llm_layer.py: 130 passed. I ran isort and black; they changed nothing.


Generated by Claude Code

Checked MODEL_PRICES against the Anthropic, OpenAI, Gemini and DeepSeek
pricing pages: add Claude Mythos 5.2/5.1/5, reprice Claude Fable 5.1
cache reads, GPT-5.6 Sol and Gemini 4 Carbon/Argon, and remove the
retired claude-sonnet-4-5, gemini-2.5-pro and gemini-2.5-flash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HiY2gsw7w61FN1TXfoygQ6
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T02:25:14.565137Z 1d1950a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov

codecov Bot commented Dec 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@nikivanstein
nikivanstein merged commit 5cf6653 into main Dec 3, 2026
11 checks passed
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.

2 participants