Last active
April 20, 2026 05:53
-
-
Save Cretezy/8212fb5a489cde8d81da846e06f0a383 to your computer and use it in GitHub Desktop.
My current model configuration to use Claude Code with OpenRouter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function claude-open | |
| env ANTHROPIC_BASE_URL="https://openrouter.ai/api" \ | |
| ANTHROPIC_AUTH_TOKEN="$OPENROUTER_API_KEY" \ | |
| ANTHROPIC_API_KEY="" \ | |
| CLAUDE_CODE_DISABLE_1M_CONTEXT=1 \ | |
| ANTHROPIC_DEFAULT_HAIKU_MODEL="google/gemma-4-31b-it" \ | |
| ANTHROPIC_DEFAULT_SONNET_MODEL="qwen/qwen3.6-plus" \ | |
| ANTHROPIC_DEFAULT_OPUS_MODEL="z-ai/glm-5.1" \ | |
| claude $argv | |
| end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment