Skip to navigation
DocsChatbox

Apps and SDKs

Chatbox

In short: Chatbox is a desktop and mobile chat app that works with the gateway as an OpenAI API compatible provider once you add the host, key and model ids.

Updated View .md
On this page

Chatbox is a chat app for Windows, macOS, Linux, Android and iOS, with a web version. It connects to the gateway as an OpenAI-compatible model provider, so every model your key can use works in it, including the Claude models. Checked against Chatbox v1.23.5 (September 2026).

Chatbox splits the address into a host and a path, so you enter the host without /v1:

API modeOpenAI API Compatible
API Hosthttps://api.oneaiapikey.com
API Path/v1/chat/completions
API KeyA key from API keys (starts with sk-)
ModelsExact ids, for example z-ai-glm-5.3-flash:free

The API path is Chatbox’s default, so if the field is already filled with /v1/chat/completions you can leave it alone. Chatbox adds that path to the host you give it, so the request reaches https://api.oneaiapikey.com/v1/chat/completions at the gateway.

How do I add the gateway as a provider in Chatbox?

Seven steps add the gateway as a provider in Chatbox.

  1. Create an API key under API keys. The $10.00 sign-up credit pays for every model at its listed price, and free models (ids ending in :free) cost nothing per token within the 100 requests a day every account shares. When the balance reaches $0, add $1 or more to keep going.
  2. In Chatbox, open Settings from the sidebar and choose Model Provider.
  3. Click Add at the bottom of the provider list. Give it a name (for example “One AI API Key”) and choose OpenAI API Compatible as the API mode.
  4. Enter the API host and API path from the table above, and paste your key.
  5. Add at least one model id, for example z-ai-glm-5.3-flash:free and qwen-qwen3.8-27b:free. Copy them from the models table, or from the Models page of the console.
  6. Click Check. Chatbox sends a test request and reports whether the connection works.
  7. Go back to the home screen, start a new conversation, pick one of the models and send a message. The request and its cost show up on your usage page.

Which model capabilities should I tick?

Tick only the capabilities each model really has. When you add a model, Chatbox lets you tick what it can do, such as reading images or calling tools. A model without any ticked capability is treated as plain text, so image attachments are not sent to it. Tick vision for models that accept images (for example qwen-qwen3.8-27b:free; the full list is on Vision) and tool use for models you want to use with MCP servers. Ticking a capability the model does not have makes requests fail with a 400.

How do I keep costs down in Chatbox?

Three habits keep Chatbox costs down.

  • Chatbox sends the earlier messages of a conversation with every reply, so long chats cost more per message. Start a new conversation for a new topic, or use Chatbox’s conversation compaction to summarise old turns.
  • Use a fast model such as z-ai-glm-5.3-flash:free for everyday questions and switch to a larger model per conversation when you need it.
  • Give Chatbox its own key with a spend limit (see Cost control), so a phone left in a long chat cannot drain your balance.

How do I check the connection with a first task?

Open a new conversation, pick the model and send one short message. This confirms the key, the address and the model id in one go.

First task

Send
Reply with the single word: ready in a new Chatbox chat, with z-ai-glm-5.3-flash:free selected.
Expect
The reply ready, sometimes with a full stop.
Cost
This model has no per-token charge right now. The message itself is a few dozen tokens; some apps add a long system prompt or character card, and some send one more request to name the chat.
Check
The key's Last used on API keys updates, and Usage lists the request with its exact cost a few seconds later.

How do I fix common Chatbox errors?

Most Chatbox errors come from the host, the key or the model id.

  • 404 on Check: the host already ends in /v1 and the path adds it again. Remove /v1 from the host.
  • 401 Invalid token: the key was pasted with extra spaces, it is disabled or expired, or it was revoked. See Errors.
  • 503 or “model not found”: the id must match the models table exactly, including dots and dashes. See Errors.
  • 403 “This token has no access to model”: the key has a model list that does not include this model. Edit the key, or use another one.
  • 403 with insufficient_user_quota: the balance is too low. Add credit under Billing.

↑ ↓ moveEnter openEsc close
New accounts$10 credit on sign-up
Claim $10 credit →