Configuration
Set the following environment variables or use a configuration tool like cc-switch:Base URL
API Key
Get your API key from the OmniaKey Console.Quick Setup
Using cc-switch
cc-switch is a community tool that makes it easy to switch between different API providers for Claude Code.cc-switch on GitHub
A simple CLI tool to manage Claude Code API configurations
Supported Models
When using Claude Code with OmniaKey, you have access to:| Model | Description |
|---|---|
claude-sonnet-4-20250514 | Latest Claude 4 Sonnet |
claude-3-5-sonnet-20241022 | Claude 3.5 Sonnet |
claude-3-5-haiku-20241022 | Claude 3.5 Haiku |
claude-3-opus-20240229 | Claude 3 Opus |
Model availability may vary. Check the Console for the latest available models.
Troubleshooting
If you encounter connection issues:- Verify your API key - Make sure your key is active in the Console
- Check your balance - Ensure you have sufficient credits
- Verify environment variables - Run
echo $ANTHROPIC_BASE_URLto confirm the settings