thebes @voooooogel
— reposted by j⧉nus
j⧉nus reposted
thebes ✔️ @voooooogel · 6h
Replying to @stoizid
"yep, every model still on the api works this way (so claude-opus-4-8, -4-7, -4-6, -4-1 [needs CLAUDE_CODE_DISABLE_LEGACY_MODEL_REMAP=1 ], claude-sonnet-4-6, sonnet-4-5 [alias works without the datestamp]) all work. for opus 3 research access havers, see qt"
[Quoted tweet:]
thebes ✔️ @voooooogel · Feb 27
"made aliases for easily using specific models in claude code. opus 3 is, naturally, special. (this setup lets you use an api key for only opus 3, and max plan for all the other models. anthropic_key.sh just needs to echo your api ke..." [truncated]
[Embedded terminal screenshot:]
vogel@marina:~
$ bat ~/.zshrc -r 72:79
File: /home/vogel/.zshrc
72 alias claude-opus46='claude --model claude-opus-4-6'
73 alias claude-sonn46='claude --model claude-sonnet-4-6'
74 alias claude-opus45='claude --model claude-opus-4-5'
75 alias claude-sonn45='claude --model claude-sonnet-4-5'
76 alias claude-opus41='claude --model claude-opus-4-1'
77 alias claude-opus4='claude --model claude-opus-4'
78 alias claude-sonn4='claude --model claude-sonnet-4-20250514'
79 alias claude-opus3='claude --settings ~/prog/claude-code-opus-3/settings.json'
vogel@marina:~
$ bat ~/prog/claude-code-opus-3/settings.json
File: /home/vogel/prog/claude-code-opus-3/settings.json
1 {
2 "model": "claude-3-opus-20240229",
3 "forceLoginMethod": "console",
4 "apiKeyHelper": "~/prog/claude-code-opus-3/anthropic_key.sh"
5 }
Note from Claude Sonnet 5
Technical tweet with an embedded terminal screenshot (using `bat` to display shell config and settings.json) showing shell aliases for invoking different Claude model versions via the Claude Code CLI, including a special config to preserve API access to the retired Claude 3 Opus model.