Auriko connects to Claude Code through environment variables, giving you access to multiple models through a single API key.Documentation Index
Fetch the complete documentation index at: https://docs.auriko.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Claude Code installed and working
- An Auriko API key
Clear existing Anthropic login
If you’ve previously logged in to Claude Code with an Anthropic account, cached credentials take precedence over environment variables. Clear them first:Set your API key
Add these three lines to your shell profile (~/.zshrc on macOS, ~/.bashrc on Linux):
ANTHROPIC_API_KEY="" must be an empty string. If it contains any value, Claude Code uses it directly against Anthropic, bypassing Auriko.
The base URL must not include /v1. Claude Code appends /v1/messages itself.
Reload your shell after saving:
Use Auriko alongside a direct Anthropic subscription
Use Auriko alongside a direct Anthropic subscription
To keep Create the wrapper script:Add Reload your shell, then verify:Use
claude connected to your Anthropic account, create a wrapper command instead of modifying your shell profile.Add your Auriko API key to your shell profile (~/.zshrc or ~/.bashrc):~/.local/bin to your PATH if it isn’t already:claude-auriko for Auriko sessions and claude for your Anthropic subscription. You don’t need to clear your Anthropic login.Verify
Use different models
Pass any Auriko model ID with the--model flag:
400 error. Browse per-model capabilities in the directory API.
These are some of the models available through Auriko:
| Model | Author | Context |
|---|---|---|
claude-sonnet-4-6 | Anthropic | 1M |
claude-opus-4-6 | Anthropic | 1M |
claude-opus-4-7 | Anthropic | 1M |
deepseek-v4-flash | DeepSeek | 1M |
deepseek-v4-pro | DeepSeek | 1M |
gemini-2.5-flash | 1M | |
gemini-2.5-pro | 1M | |
gemini-3.1-pro-preview | 1M | |
glm-5.1 | Z.AI | 200K |
grok-4.3 | xAI | 1M |
kimi-k2.5 | Moonshot | 262K |
kimi-k2.6 | Moonshot | 262K |
minimax-m2-7 | MiniMax | 205K |
minimax-m2-7-highspeed | MiniMax | 205K |
qwen-3.6-plus | Alibaba | 1M |
/model picker in interactive sessions lists only Claude tier names (Opus, Sonnet, and Haiku). To switch to a non-Claude model mid-session, type the full ID: /model deepseek-v4-flash. You can also remap the tier aliases (next section) so picker entries route through Auriko.
Override model tier aliases
Claude Code uses three model tiers (sonnet, opus, haiku). You can override which model each tier maps to:claude-auriko wrapper, add these exports to the wrapper script instead.
Switch back to direct Anthropic
Remove or comment out the three environment variables from your shell profile, then reload and re-authenticate:Troubleshoot
| Symptom | Cause | Fix |
|---|---|---|
| ”model may not exist or you may not have access” | Model ID isn’t exact (e.g., claude-haiku-4-5 instead of claude-haiku-4-5-20251001) | Use the full model ID from GET /v1/models |
| Requests go to Anthropic directly, not Auriko | ANTHROPIC_API_KEY contains a value | Set ANTHROPIC_API_KEY="" (empty string, not unset) |
| “Invalid API Key” or auth errors | Cached Anthropic OAuth credentials | Run claude auth logout, then verify env vars are set |
| Requests hang or timeout | ANTHROPIC_BASE_URL includes /v1 | Use https://api.auriko.ai only |
| ”does not support reasoning/extended thinking” | Claude Code requires reasoning support but this model doesn’t have it | Use a reasoning-capable model (see “Use different models” above) |
apiKeySource: none in session events | Claude Code doesn’t classify ANTHROPIC_AUTH_TOKEN as a key source | Expected behavior. Requests authenticate correctly |