> For the complete documentation index, see [llms.txt](https://docs.tensorx.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tensorx.ai/chat-interfaces/chatbox.md).

# Chatbox AI

Configure Chatbox AI to use the TensorX API on macOS, Windows or Linux.

***

## Overview

[Chatbox AI](https://chatboxai.app) is an open-source desktop client that supports custom OpenAI-compatible endpoints.

***

## Prerequisites

* **Chatbox AI** — [Download here](https://chatboxai.app)
* A TensorX API key ([sign up here](https://app.tensorx.ai/register))

***

## Setup

### Step 1: Open Settings

1. Launch Chatbox AI
2. Click the **Settings** icon (gear) in the bottom left

### Step 2: Configure Provider

| Setting         | Value                       |
| --------------- | --------------------------- |
| **AI Provider** | `OpenAI API Compatible`     |
| **API Host**    | `https://api.tensorx.ai/v1` |
| **API Key**     | Your TensorX API key        |
| **Model**       | `z-ai/glm-5.3`              |

### Step 3: Save and Test

Click **Save** and start a new conversation to test the connection.

***

## Model selection

Call `GET /v1/models` with your TensorX API key and use one of the returned IDs. If the integration depends on a capability or token limit, query `GET /v1/model/info` before selecting the model. See [Models](/api-reference/models.md) for examples.

***

## Troubleshooting

### Connection Error

1. Verify the API Host is exactly `https://api.tensorx.ai/v1`
2. Check your API key is correct
3. Try selecting a different model

### Model Not Listed

Type the model name manually in the model field (e.g., `z-ai/glm-5.3`).

***

## See Also

* [Chatbox AI Website](https://chatboxai.app)
* [Chatbox AI on GitHub](https://github.com/Bin-Huang/chatbox)
* [TensorX Models](https://tensorx.ai/models)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.tensorx.ai/chat-interfaces/chatbox.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
