Windows · Claude

Connect Claude Desktop to 88Z.ai on Windows

Set up the 88Z gateway in the Windows desktop app, choose a Claude model and send your first message. A PowerShell setup for Claude Code is included.

All operating systems for Claude Desktop

Claude Desktop

  1. Install the app and get your 88Z key

    Download the Windows app from the official Claude site. Sign in to the 88Z workspace → API keys and create a key. Copy it when it is shown and make sure your account has available points.

  2. Open gateway settings from the top-left menu

    Open Claude. On the sign-in screen, open the ☰ menu at the top left and choose Help → Troubleshooting → Enable Developer Mode; then reopen the ☰ menu and choose Developer → Configure Third-Party Inference… and open Connection on the left.

  3. Fill in the five Connection fields

    Field in ClaudeValue for 88Z
    Inference providerGateway
    Credential kindStatic API key
    Gateway base URLhttps://api.88z.ai
    Gateway API keyPaste your own 88Z API key without a Bearer prefix.
    Gateway auth schemeBearer

    Gateway base URL

    https://api.88z.ai

    Enter the address through .ai. Claude appends /v1/messages for you.

  4. Test the connection and send a message

    Click Test connection. Model discovery checks the model list. Inference checks that a model can answer. When both succeed, click Apply Changes and relaunch when prompted.

    Start a chat, select Claude Sonnet from the list, and send “Reply only with: connected.” After it answers, open 88Z usage and match the request by time and model. The inference test and chat can both use points.

Use Claude Code in PowerShell

For a terminal session inside a project, search for PowerShell in the Start menu and run the install command.

PowerShell

winget install --id Anthropic.ClaudeCode -e

After installation, open a new PowerShell window in your project folder. Run claude --version to check the installation, then use the commands below. Paste your key at the hidden prompt and press Enter.

PowerShell

$env:ANTHROPIC_BASE_URL = "https://api.88z.ai"
$key = Read-Host "88Z API Key" -AsSecureString
$env:ANTHROPIC_AUTH_TOKEN = [System.Net.NetworkCredential]::new("", $key).Password
claude --model claude-sonnet-5-5

Send a test message and check its usage in the workspace. These settings last for this PowerShell session. For a persistent setup, follow the Claude Code settings guide to save your user-level settings.json.

Troubleshooting

The sign-in screen only shows “Use your Claude API account”. Where does my key go?

That box connects to Anthropic Console. Stay on the sign-in screen, open the top-left menu as in step 2, and paste your 88Z key into Gateway API key.

Models appear, but Inference or the first message fails. What now?

For 401, check the key. For 404, remove any trailing /v1 from the gateway URL. For a balance error, check available points and the key spending cap. For HTTP 400, report the error text, model and time with timezone to 88Z. Hide the key in screenshots.

Why did Developer disappear, or why does Windows ask to enable a secure workspace?

After applying the first configuration, you may need to enable Developer Mode again. If your organization manages the device and disables the menu, contact its administrator. The secure workspace banner concerns local workspace features. Verify the gateway with Test connection and an actual reply.

Official documentation · Desktop menus · Gateway fields · CLI installation