2Get OpenRouter API Key
Sign up at openrouter.ai and get your API key
3Configure
Add these to your shell config (~/.bashrc
or ~/.zshrc
):
export ANTHROPIC_BASE_URL="https://cc.yovy.app"
export ANTHROPIC_API_KEY="your-openrouter-api-key"
export ANTHROPIC_API_KEY="your-openrouter-api-key"
Optional: Configure specific models (browse at openrouter.ai/models):
export ANTHROPIC_MODEL="deepseek/deepseek-chat-v3-0324"
export ANTHROPIC_SMALL_FAST_MODEL="google/gemini-2.5-flash"
export ANTHROPIC_SMALL_FAST_MODEL="google/gemini-2.5-flash"
Then reload your shell:
source ~/.bashrc
🎉 Ready to go!
Run claude
in your terminal and enjoy access to Claude models
For data privacy: Consider self-deploying y-router to Cloudflare Workers instead of using this shared instance.