Point Anthropic's Claude Code terminal agent at AI Reserve without touching a terminal. Pick your .claude folder once, and the key is created, managed, and written into settings.json for you. Nothing to copy, nothing technical.
curl -fsSL https://get.aireserve.com/install.sh | sh -s -- --router
Your browser opens to approve the connection — no key to copy.
This installs the aireserve CLI and configures Claude Code and Codexfor the AI Reserve router: every gateway model appears in the agent's native model picker with real names, context windows, and reasoning-effort options. Your previous settings are recorded and fully restored by aireserve router unconfigure.
curl -fsSL https://claude.ai/install.sh | bash
Then run claude once (other platforms and npm). That creates the .claude settings folder the next step updates. Already installed? Skip ahead — your existing settings are kept.
CLAUDE-CODE-MANAGED-KEY in your API keys — revoke it there any time) and the env block of ~/.claude/settings.json gains the AI Reserve gateway variables (ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN, and an empty ANTHROPIC_API_KEY); the previous file is backed up beside it. If you haven't picked a model yourself, it also pins claude-sonnet-4-6[1m] — the [1m]gives Claude Code the same full 1M-token context window it has first-party (your own model choice is never overwritten). Three parity defaults ride along when you haven't set them: ENABLE_PROMPT_CACHING_1H=1 (the 1-hour prompt-cache lifetime first-party sessions get, so the cache survives coffee-length breaks instead of expiring after 5 minutes — cost tradeoff in the docs), ENABLE_TOOL_SEARCH=true (keeps MCP tool definitions out of the cached prompt prefix, exactly as first-party), and a ANTHROPIC_DEFAULT_HAIKU_MODELpin for background tasks. Settings-file variables apply to every new Claude Code session and take precedence over shell exports. Usage is billed to your organization's AI Reserve wallet. Rerun this page whenever you want to rotate the key or repair the config.Prefer the manual environment-variable setup? It lives in the Claude Code developer docs. Trouble connecting? Ask your administrator to confirm your account is active, or use the manual setup from your profile's API Keys section.