Claude Code + Gatewayz

    Use Claude Code with Gatewayz: one API key and one credit balance.

    Setup

    1. Create a Gatewayz API key from your dashboard.
    2. Set ANTHROPIC_BASE_URL to https://api.gatewayz.ai (no /v1 — Claude Code adds the path itself).
    3. Set ANTHROPIC_AUTH_TOKEN to your Gatewayz key.
    4. Run claude as usual. Requests now go through Gatewayz.

    Environment configuration

    export ANTHROPIC_BASE_URL="https://api.gatewayz.ai"
    export ANTHROPIC_AUTH_TOKEN="YOUR_GATEWAYZ_KEY"
    
    claude

    FAQ

    Does this change Claude Code's behavior?

    No. Gatewayz is a drop-in proxy that speaks the same Anthropic-compatible API, so Claude Code works unmodified.

    What do I get from routing through Gatewayz?

    Unified billing across providers and usage analytics in one dashboard.