> 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

Use TensorX models in Chatbox AI — the open-source desktop AI copilot for Mac, Windows, and Linux.

***

## Overview

[Chatbox AI](https://chatboxai.app) is an open-source desktop application that provides a clean, native interface for chatting with AI models. It supports custom OpenAI-compatible endpoints, making it easy to connect to TensorX for a private, cost-effective AI assistant on your desktop.

{% hint style="success" %}
**Why Chatbox AI + TensorX?**

* 🖥️ **Native desktop app** — Mac, Windows, and Linux
* 🔒 **Privacy-first** — Data stays on your device, no tracking
* 💬 **Multiple conversations** — Organize chats with folders and tags
* 📝 **Markdown support** — Rich text rendering with code highlighting
* 💰 **Cost-effective** — Use powerful open-source models locally
  {% endhint %}

***

## 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.1`              |

### Step 3: Save and Test

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

***

## Recommended Models

| Use Case           | Model                         | Why                             |
| ------------------ | ----------------------------- | ------------------------------- |
| **General use** ⭐  | `z-ai/glm-5.1`                | Coding, reasoning, general chat |
| **Reasoning**      | `deepseek/deepseek-r1-0528`   | Complex analysis                |
| **Balanced chat**  | `deepseek/deepseek-chat-v3.1` | Good all-round performance      |
| **Fast responses** | `minimax/minimax-m2`          | Quick and cost-effective        |
| **Long documents** | `moonshotai/kimi-k2.5`        | Large context window            |

***

## 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.1`).

***

## 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
