Available models
The proxy supports all current Claude model families. Here’s the complete mapping from the proxy source:- Claude Opus 4.6
- Claude Sonnet 4.5
- Claude Sonnet 4
- Claude Opus 4.5
- Claude Opus 4.1
- Claude Haiku 4.5
The latest and most capable Opus model.Supported aliases:
claude-opus-4-6claude-opus-4-6-20260214claude-opus-4-6-latest
claude-opus-4.6All three aliases map to the same underlying model. Use whichever naming convention you prefer.
Model mapping implementation
The proxy uses a comprehensive mapping table to translate model names:Intelligent fallback mapping
For unknown model names, the proxy uses pattern matching:This intelligent mapping means you can use almost any Claude model name format, and the proxy will find the best match.
Switching models
- Using /model command
- Command-line argument
- Configuration file
Within Claude Code, use the This changes the model for the current session without restarting.
/model command to switch models interactively:Checking available models
Query the proxy’s/models endpoint to see all available models:
Model selection strategies
For complex reasoning
Use: Claude Opus 4.6Best for:
- Complex code refactoring
- Architecture decisions
- Debugging difficult issues
- Writing comprehensive documentation
For balanced performance
Use: Claude Sonnet 4.5Best for:
- General development tasks
- Code reviews
- Writing tests
- Day-to-day coding assistance
For quick tasks
Use: Claude Haiku 4.5Best for:
- Simple code generation
- Quick questions
- Syntax help
- Fast iterations
For specific capabilities
Use: Sonnet 4.5 or Opus 4.5Best for:
- Testing model variations
- Comparing outputs
- Fallback options
Request logging
The proxy logs every model mapping for transparency:- Left side: Model name from Claude Code
- Arrow: Indicates mapping
- Right side: Actual model sent to GitHub Copilot
- Additional info: Streaming mode and message count
Legacy model support
The proxy maintains backward compatibility with Claude 3 naming conventions:Claude 3 Opus
Claude 3 Opus
Claude 3.5 Sonnet
Claude 3.5 Sonnet
Claude 3.5 Haiku
Claude 3.5 Haiku
Using legacy model names ensures existing scripts and configurations continue to work without modification.
Troubleshooting
Model not recognized
Model not recognized
If you use an unknown model name, the proxy will:
- Check the MODEL_MAP
- Try pattern matching
- Pass the name through as-is
Model errors from Copilot
Model errors from Copilot
If Copilot rejects the model name:This means GitHub Copilot doesn’t support that model. Try a different model from the available list.
Inconsistent model behavior
Inconsistent model behavior
Remember that models are served by GitHub Copilot, not Anthropic. Behavior may differ slightly from the official Anthropic API.If you notice issues:
- Try a different model variant
- Check GitHub Copilot’s status page
- Verify your Copilot subscription is active
Performance comparison
Different models have different characteristics:| Model | Speed | Quality | Best for |
|---|---|---|---|
| Claude Opus 4.6 | Slower | Highest | Complex reasoning, architecture |
| Claude Sonnet 4.5 | Fast | High | General development tasks |
| Claude Sonnet 4 | Fast | High | Daily coding work |
| Claude Opus 4.5 | Medium | Very High | Advanced tasks |
| Claude Haiku 4.5 | Fastest | Good | Simple tasks, quick questions |
Next steps
Web search
Enable web search for any model
Launching Claude
Learn different launch methods