Connect Claude Desktop to GPTsAPI

Use Claude in the official desktop app via GPTsAPI. Choose your operating system and follow the video or illustrated steps.

macOS video guide

Step-by-step guide

Click a screenshot to view the original. Screenshots keep their original UI language.

  1. Enable developer mode

    Install the app and enable developer mode

    Download and install Claude Desktop. From the top menu, choose Help → Troubleshooting → Enable Developer Mode, then restart the app.

  2. Open third-party inference settings

    Open third-party inference settings

    After restarting, select Developer → Configure Third-Party Inference… from the top menu to open gateway settings.

  3. Sign in and top up balance

    Sign in to GPTsAPI and top up

    Sign up or log in to GPTsAPI and top up your account balance.

  4. Create and copy an API Key

    Create and copy an API Key

    Open the API Keys page, create a key, and copy it for the next step. All tools share the same key.

  5. Enter gateway settings

    Enter GPTsAPI gateway settings

    Choose Gateway, fill in the three fields below, and click Apply Changes.

    Credential kind
    Static API key
    Gateway base URL
    Gateway API key
    sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxGet API Key

    Do not append /v1 to the Gateway base URL.

  6. Restart and start using Claude Desktop

    Restart the app and start chatting

    Restart Claude Desktop to start chatting. Switch to Code mode when writing code.

Verify your connection

After restarting, start a new chat and send a message. Getting a reply confirms it works.

If there is no reply, check these items in order:

  • Gateway base URL is https://api.gptsapi.net without /v1
  • Credential kind is set to Static API key
  • API Key is copied completely with no leading or trailing spaces