Before you start
- Chatbox: download it from chatboxai.app for Windows 10 or later (64-bit), macOS 11 or later, Linux (AppImage or deb), iOS, or Android, or open the web version at web.chatboxai.app.
- API key: create one in Tokens with the
defaultgroup and the Usage first billing mode. If you also add a Claude API Compatible provider, create a second key in theClaude Codegroup for it.
Add LaoZhang API
1
Create a custom provider
Open Settings → Model Provider, click Add at the bottom of the provider list, and choose Add Custom Provider. On mobile, tap ☰ at the top left to reach Settings.Name the provider “LaoZhang API” and set the API mode to OpenAI API Compatible. This mode works with every chat model in the catalog, so start with it.
2
Enter the key and host
- API Key: your LaoZhang API key
- API Host:
https://api.laozhang.ai/v1 - API Path: leave empty
https://api.laozhang.ai/v1/chat/completions, with /v1 appearing once.Leave the network-compatibility option (Improve network compatibility) off. Turn it on only if the connection fails; in the web version, it routes your requests through Chatbox’s servers.3
Add models
In the model section, click Fetch to load the model list from LaoZhang API and pick the ones you want, or click New to enter a model ID such as
claude-sonnet-5-5. Model IDs must match the model catalog exactly.4
Check the connection
Click Check next to the API key. It needs at least one model in the list. Chatbox also detects whether each model supports vision and tool use; reasoning is not detected, so tick it yourself for thinking models.To test a single model, open it and click Test Model.
Choose a model
Prices are in the model catalog.
Use Claude, Gemini, or Responses formats
The OpenAI API Compatible mode covers ordinary chat. Choose another API mode when you want a model’s native request format, for example to use its thinking controls. Each mode builds the request URL differently, so the API Host value changes with it:- Claude API Compatible: the host must include
/v1, because Chatbox appends only/messages. Use it for Claude models such asclaude-sonnet-5-5; GLM-5.2 and the DeepSeek V4 models also work here. This mode needs a key in theClaude Codetoken group. - Google Gemini API Compatible: the host must not include
/v1, because Chatbox adds/v1betaitself. Use it for Gemini models. - OpenAI Responses API Compatible: keep the default API Path,
/responses. Use it for GPT models.
default-group key, while Claude API Compatible uses the Claude Code-group key. A simple setup is one provider per mode, each holding the models that belong to it.
Thinking controls
Chatbox enables the thinking control only when the API mode matches the model family:
In any other combination, the thinking control is disabled. Also tick Reasoning in the model’s capabilities, since Check does not detect it.
Generate images
Add an image model ID from the model catalog to the OpenAI API Compatible provider, open the model, and set Model Type to Image. Chatbox then sends requests tohttps://api.laozhang.ai/v1/images/generations on its own.
Keep API Host and API Path exactly as they are for chat; don’t change the path for image models. For image models and request options, see the image generation guide.
Use MCP tools
MCP tools work only in Work mode in the desktop app.1
Add an MCP server
Open Settings → MCP and add a server. Remote servers (HTTP or SSE) can be added on every platform; local servers (stdio) only on desktop. Click Test, and save once the test passes.
2
Enable tool use on the model
Open the model in the provider settings and make sure Tool use is ticked under capabilities. Check usually ticks it for you.
3
Chat in Work mode
In the desktop app, switch to Work mode and pick the model. Under OpenAI API Compatible, these models handle tool calls turn after turn:
gpt-6.1-sol, glm-5.2, gemini-3.8-flash, kimi-k3.For Claude with tools, add the model to a provider set to Claude API Compatible (see Use Claude, Gemini, or Responses formats). Claude and DeepSeek can return a 400 when they call tools repeatedly under OpenAI API Compatible.gpt-6-sol and gpt-5.6-sol work with MCP too.
Model settings
Open a model in the provider settings to edit it:- Model Type: Chat, Image, Embedding, or Rerank
- Capabilities: Vision, Reasoning, and Tool use
- Context Window and Max Output Tokens: optional limits for the model
FAQ
The check fails or returns 404
Look at the preview URL. A 404 usually means/v1 is missing or doubled:
- In OpenAI API Compatible mode, an API Host without
/v1plus an API Path of/chat/completionsproduces a URL with no/v1. Set the host tohttps://api.laozhang.ai/v1and clear the path. - In Claude API Compatible mode, the host needs
/v1; in Google Gemini API Compatible mode, it must not have it.
I get a 401 error
The key is wrong or was copied incompletely. Copy it again from Tokens and confirm the token is enabled.I get 403 or 503 “no available channels”
The token’s group doesn’t include the model, or the model ID is wrong. Use adefault group token, or a Claude Code group token for a Claude API Compatible provider, and copy the ID from the model catalog. See Check model availability and access.