Integrations

Connect GPUniq to Claude Code, Cursor or VS Code — and watch the first request arrive.

  1. 1

    API key

    Sign in to create a key — it drops straight into every command below. No account yet? Signing in creates one.

  2. 2

    Model

    That’s the default model. Claude Code’s /model aliases are pointed at GPUniq models too:

    opus→claude-opus-5sonnet→claude-sonnet-5haiku→claude-haiku-4-5fable→claude-fable-5
  3. 3

    Install Claude Code

    Skip this if claude already runs in your terminal.

    curl -fsSL https://claude.ai/install.sh | bash
  4. 4

    Point it at GPUniq

    settings.json keeps the setup for every session; if the file exists, merge the env block into it. Shell variables work for the current terminal only.

    ~/.claude/settings.json
    {
      "env": {
        "ANTHROPIC_BASE_URL": "https://api.gpuniq.com",
        "ANTHROPIC_AUTH_TOKEN": "gpuniq_YOUR_KEY",
        "ANTHROPIC_MODEL": "claude-sonnet-5",
        "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5",
        "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5",
        "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5",
        "ANTHROPIC_DEFAULT_FABLE_MODEL": "claude-fable-5",
        "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
      }
    }
  5. 5

    Start it and say hi

    Terminal
    claude

    Send any message. /status shows the base URL Claude Code is using — it should be GPUniq.

  6. 6

    Check the connection

    Pick a key in the first step and we’ll start listening for its first request.

Building your own app? OpenAI-compatible: https://api.gpuniq.com/v1/openai · Anthropic: https://api.gpuniq.com · docs · MCP server for GPU prices