Summary
The claude-sonnet-4-20250514 entry in model_list.json has an incorrect context window. It is set to 1,000,000 tokens but should be 200,000 tokens per the Anthropic documentation.
The same issue applies to the aliased entry claude-4-sonnet-20250514 if present.
Current vs correct values
| Field |
Current Value |
Correct Value |
max_input_tokens |
1000000 |
200000 |
Verification
- Source 1: Anthropic models page (https://docs.anthropic.com/en/docs/about-claude/models) — the legacy models table shows Claude Sonnet 4 (deprecated) with a 200K token context window (~150k words, ~680k unicode characters)
- Source 2: The same page shows that only Claude Opus 4.6+ and Claude Sonnet 4.6 have 1M context windows. All earlier models (Sonnet 4.5, Opus 4.5, Opus 4.1, Sonnet 4, Opus 4) have 200K.
- ID format:
claude-sonnet-4-20250514 is the correct dated snapshot ID per Anthropic docs
- Recent commits: No recent commits correcting this value
Additional context
This model is deprecated (retirement date: June 15, 2026), but the context window should still be correct while it remains in the catalog. The catalog already correctly has deprecation_date set.
Summary
The
claude-sonnet-4-20250514entry inmodel_list.jsonhas an incorrect context window. It is set to 1,000,000 tokens but should be 200,000 tokens per the Anthropic documentation.The same issue applies to the aliased entry
claude-4-sonnet-20250514if present.Current vs correct values
max_input_tokensVerification
claude-sonnet-4-20250514is the correct dated snapshot ID per Anthropic docsAdditional context
This model is deprecated (retirement date: June 15, 2026), but the context window should still be correct while it remains in the catalog. The catalog already correctly has
deprecation_dateset.