Skip to content

Integrations

Claude Code

Route

Through the gateway

https://thaipass-proxy.vercel.appbash

Credential

Session cookie

Connect a session to fill it in

Set up Claude Code

Claude Code, talking to the gateway over the Anthropic protocol.

  1. 1

    Save this as .envrc where you work, or paste it into the shell you will run Claude Code from.

    .envrc
    export ANTHROPIC_BASE_URL="https://thaipass-proxy.vercel.app"export ANTHROPIC_AUTH_TOKEN="<YOUR_AIPASS_COOKIE>"export ANTHROPIC_MODEL="claude-sonnet-5@azure"export ANTHROPIC_SMALL_FAST_MODEL="gemini-3.5-flash-lite"
    claude
  2. 2

    Run claude there. The small fast model is the free one, so background turns cost nothing.