Skip to content

chore(models): add deprecation_date to claude-mythos-preview from the Anthropic deprecations page - #42845

Merged
kerry-berri merged 1 commit into
mainfrom
litellm_sync_anthropic
Sep 24, 2026
Merged

kerry-berri merged 1 commit into
mainfrom
litellm_sync_anthropic

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

TLDR

Problem this solves:

  • Anthropic marked claude-mythos-preview deprecated, the catalog row did not say so

How it solves it:

  • Adds deprecation_date: 2026-06-09 to claude-mythos-preview in both cost map files

Rows changed

claude-mythos-preview (anthropic), kind page: deprecation_date set to 2026-06-09. Source, fetched raw from https://platform.claude.com/docs/en/about-claude/model-deprecations.md, model status table row: | claude-mythos-preview | Deprecated | June 9, 2026 | To be announced |. The retirement date is "To be announced", so only the deprecation date is written. Prices, limits and flags on the row are unchanged. The anthropic.claude-mythos-preview Bedrock row is left to the bedrock sync

Delisted by the provider

The list API (https://api.anthropic.com/v1/models) no longer returns claude-haiku-4-5, claude-opus-4-5 and claude-sonnet-4-5. These are alias keys for claude-haiku-4-5-20251001, claude-opus-4-5-20251101 and claude-sonnet-4-5-20250929, which the API still lists and the deprecations page marks Active ("Not sooner than October 15, 2026", "Not sooner than November 24, 2026", "Not sooner than September 29, 2026"), so this is a naming mismatch and no key is removed or dated

claude-mythos-5 and claude-mythos-5-1 are also absent from the list API, but the deprecations page shows both as Active (| claude-mythos-5 | Active | N/A | Not sooner than June 9, 2027 |, | claude-mythos-5-1 | Active | N/A | Not sooner than September 1, 2027 |), so they are treated as a list coverage gap (access gated ids), not a delisting, and left as is for a human to confirm

Pre-Submission checklist

  • The handful of test files covering my change pass locally: python3 -m pytest tests/test_litellm/test_model_prices_schema.py tests/test_litellm/test_cost_map_guard.py -q (85 passed)
  • My PR passes all required CI/CD checks
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • I have received a Greptile Confidence Score of at least 4/5 before requesting a maintainer review

Type

Data update (cost map)

Link to Devin session: https://app.devin.ai/sessions/acded3f2ee2a4c0cbac1f50b519f596b
Open in Devin Desktop: https://app.devin.ai/desktop/session/acded3f2ee2a4c0cbac1f50b519f596b?variant=devin
Requested by: @kerry-berri


Note

Low Risk
Catalog metadata only in the cost map JSON files, with no runtime logic changes in this PR.

Overview
Records Anthropic’s deprecated status for claude-mythos-preview by adding deprecation_date: "2026-06-09" to that model’s entry in model_prices_and_context_window.json and the matching backup catalog file.

Pricing, token limits, and capability flags on the row are unchanged; no other model keys are added, removed, or dated in this diff.

Reviewed by Cursor Bugbot for commit 3590b55. Bugbot is set up for automated code reviews on this repo. Configure here.

… Anthropic deprecations page

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@CLAassistant

CLAassistant commented Sep 24, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@kerry-berri

Copy link
Copy Markdown
Contributor

@greptileai

@kerry-berri

Copy link
Copy Markdown
Contributor

bugbot run

@greptile-apps

greptile-apps Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge because the metadata is valid, correctly provider-scoped, and synchronized across both cost maps

Summary

This PR adds Anthropic's June 9, 2026 deprecation date to the direct claude-mythos-preview catalog entry

  • Updates both required cost-map copies with identical metadata
  • Preserves the separate Bedrock entry and all existing pricing, limits, and capability flags
  • The date conforms to the catalog schema and existing runtime deprecation semantics

Reviews (1) · Last reviewed commit: "chore(models): add deprecation_date to c..."

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 3590b55. Configure here.

@codspeed

codspeed Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 31 untouched benchmarks


Comparing litellm_sync_anthropic (3590b55) with main (8e74bb0)

Open in CodSpeed

@codecov

codecov Bot commented Sep 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kerry-berri kerry-berri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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