Skip to content

Update deprecated Claude model IDs to current versions#152

Open
whoiskjl wants to merge 1 commit intoanthropics:masterfrom
whoiskjl:fix/update-deprecated-model-ids
Open

Update deprecated Claude model IDs to current versions#152
whoiskjl wants to merge 1 commit intoanthropics:masterfrom
whoiskjl:fix/update-deprecated-model-ids

Conversation

@whoiskjl
Copy link
Copy Markdown

@whoiskjl whoiskjl commented Apr 9, 2026

Summary

  • Replace all deprecated Claude model IDs across 36 course files (notebooks, YAML configs, Python scripts)
  • claude-3-haiku-20240307claude-haiku-4-5-20251001
  • claude-3-opus-20240229claude-opus-4-6
  • claude-3-sonnet-20240229claude-sonnet-4-6
  • claude-3-5-sonnet-*claude-sonnet-4-6
  • claude-3-5-haiku-*claude-haiku-4-5-20251001

Motivation

The deprecated model IDs now return 404 not_found_error responses, making it impossible for learners to run the course notebooks as-is.

Scope

Only source cells in notebooks and config/script files were modified. Notebook output cells were intentionally left untouched to preserve the original upstream outputs.

Affected courses

  • anthropic_api_fundamentals (6 files)
  • prompt_evaluations (11 files)
  • tool_use (6 files)
  • prompt_engineering_interactive_tutorial (6 files)
  • real_world_prompting (3 files)
  • Python and YAML config files (4 files)

Test plan

  • Verify notebooks run successfully with updated model IDs
  • Confirm no output cells were modified (git diff shows 158 insertions / 158 deletions, all in source)

🤖 Generated with Claude Code

All course notebooks and config files referenced deprecated model IDs
that now return 404 errors. Updated to current model identifiers:

- claude-3-haiku-20240307 → claude-haiku-4-5-20251001
- claude-3-opus-20240229 → claude-opus-4-6
- claude-3-sonnet-20240229 → claude-sonnet-4-6
- claude-3-5-sonnet-* → claude-sonnet-4-6
- claude-3-5-haiku-* → claude-haiku-4-5-20251001

Only source cells and config files were modified; notebook output
cells were left untouched.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant