APIMaster.ai

Claude Code Desktop + APIMaster.ai

Enable Developer Mode in Claude Code Desktop and route inference through APIMaster.ai.

Claude Code Desktop is Anthropic’s desktop agent app with a Code mode. Point Configure third-party inference at APIMaster.ai to use marketplace models without an official subscription.

This guide is for the desktop app, not the Claude Code CLI. Get an API Key and copy model ids from the marketplace.


Prerequisites

  • Claude Code Desktop installed (Windows or macOS).
  • APIMaster API Key from the console.
  • Developer Mode enabled (required for gateway settings).

Step 1 — Enable Developer Mode

macOS

HelpTroubleshootingEnable Developer Mode (menu bar).

macOS Developer Mode

Windows

☰ MenuHelpTroubleshootingEnable Developer Mode.

Windows Developer Mode


Step 2 — Open third-party inference settings

Windows

☰ MenuDeveloperConfigure Third-Party Inference…

Windows menu path

macOS

DeveloperConfigure Third-Party Inference… (menu bar, same item as Windows).


Step 3 — Gateway connection (both platforms)

In Configure third-party inference, open Connection:

Field Value
Credential kind Static API key
Gateway base URL https://apimaster.ai/
Gateway API key Your APIMaster key
Gateway auth scheme x-api-key

Gateway settings

  1. Test connection — expect model discovery + a short inference test.
  2. Apply Changes.

If discovery fails, try https://apimaster.ai/v1 as the base URL.


Step 4 — Code mode and chat

  1. Switch Cowork / Code to Code.
  2. + New session.
  3. Confirm Gateway (bottom left) shows APIMaster.
  4. Pick a marketplace model (e.g. claude-sonnet-4-6) and send a test message.

Code session (Windows)

macOS layout matches; use the same Code toggle, Gateway, and model picker.


Troubleshooting

Issue Fix
No Developer menu Enable Developer Mode, restart app
401 on test Check API Key
CLI vs Desktop CLI: /docs/en/cli/claude-code

Related