For the complete documentation index, see llms.txt. This page is also available as Markdown.

Claude Code CLI

The recommended way to use Tensorix models with Claude Code.

We recommend these models for Claude Code:

Model
Model ID
Best For

GLM-4.7

z-ai/glm-4.7

Tool calling & functions (official docs)

MiniMax-M2 (Default)

minimax/minimax-m2

General coding, reasoning

MiniMax-M2.1

minimax/minimax-m2.1

Latest capabilities

Install Claude Code

Refer to the Claude Code documentation for installation.

Configure Tensorix API

  1. Edit or create the Claude Code configuration file at ~/.claude/settings.json:

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.tensorix.ai/anthropic",
    "ANTHROPIC_AUTH_TOKEN": "<YOUR_TENSORIX_API_KEY>",
    "ANTHROPIC_MODEL": "minimax/minimax-m2",
    "ANTHROPIC_SMALL_FAST_MODEL": "minimax/minimax-m2",
    "API_TIMEOUT_MS": "3000000",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
  }
}
  1. Navigate to your working directory and run claude in the terminal.

  2. Select Trust This Folder when prompted.

  3. Start coding with Tensorix!

Using Different Models

Update ANTHROPIC_MODEL to switch models.

MiniMax-M2 (Default)

MiniMax-M2.1

GLM-4.7

Best for tool calling and function support. See official GLM Claude Code docs.

Last updated

Was this helpful?