> 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/documentation/readme.md).

# AI Coding Tools Integration

Use Tensorix-hosted models with popular AI coding tools. Get powerful code understanding, multi-turn dialogue, and reasoning capabilities.

## Recommended Models for Claude Code

We recommend the following models for use with Claude Code:

| Model                    | Model ID               | Why Use It                                                                                             |
| ------------------------ | ---------------------- | ------------------------------------------------------------------------------------------------------ |
| **GLM-4.7**              | `z-ai/glm-4.7`         | Best tool calling & function support ([docs](https://docs.z.ai/scenario-example/develop-tools/claude)) |
| **MiniMax-M2** (Default) | `minimax/minimax-m2`   | Excellent reasoning, 197K context                                                                      |
| **MiniMax-M2.1**         | `minimax/minimax-m2.1` | Latest MiniMax with improved capabilities                                                              |

## Prerequisites

* A [Tensorix account](https://tensorix.ai) with API credits
* Your Tensorix API key (from your dashboard)

## All Available Models

| Model        | Model ID               | Context | Best For                |
| ------------ | ---------------------- | ------- | ----------------------- |
| GLM-4.7      | `z-ai/glm-4.7`         | 203K    | Tool Use, Functions     |
| MiniMax-M2   | `minimax/minimax-m2`   | 197K    | Reasoning, Long Context |
| MiniMax-M2.1 | `minimax/minimax-m2.1` | 197K    | Latest MiniMax          |
| GLM-4.6      | `z-ai/glm-4.6`         | 203K    | Reasoning Tasks         |

## API Endpoints

| Type                 | Base URL                            |
| -------------------- | ----------------------------------- |
| OpenAI Compatible    | `https://api.tensorix.ai/v1`        |
| Anthropic Compatible | `https://api.tensorix.ai/anthropic` |


---

# 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/documentation/readme.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.
