Skip to main content

Claude Code

Prepare API

Before configuration, make sure you have the following information:

API Key

A string of your created API Key.

Base URL

Address: https://api.jalapeno-cloud.ai

Important: Do not include /v1. Claude Code appends /v1/messages automatically.

Note: Claude Code uses the Anthropic Messages API (/v1/messages). Only some models on Jalapeno Cloud support this endpoint. For unsupported models, use OpenAI-compatible tools such as Codex or OpenCode.

Model Name

Copy the full model name from the Model Marketplace, e.g., GLM-5.1

Install Claude Code

Download and install through Claude Code official channels. Claude Code

Linux / macOS / WSL2

curl -fsSL https://claude.ai/install.sh | bash

Or install via npm (requires Node.js 22+):

npm install -g @anthropic-ai/claude-code

Windows (PowerShell)

irm https://claude.ai/install.ps1 | iex

Connect Claude Code

Claude Code routes requests through environment variables or ~/.claude/settings.json.

If you previously signed in with a Claude.ai account, log out first to avoid auth conflicts:

claude auth logout

Edit Configuration File

Create or edit ~/.claude/settings.json:

{
"env": {
"ANTHROPIC_BASE_URL": "https://api.jalapeno-cloud.ai",
"ANTHROPIC_AUTH_TOKEN": "your-api-key",
"ANTHROPIC_MODEL": "GLM-5.1"
}
}

Field Description

FieldDescription
ANTHROPIC_BASE_URLAPI host; must not include /v1
ANTHROPIC_AUTH_TOKENAPI key sent as a Bearer token
ANTHROPIC_MODELModel name from the Model Marketplace

Note: Jalapeno Cloud uses Bearer authentication for the Anthropic Messages API (/v1/messages). Use ANTHROPIC_AUTH_TOKEN instead of ANTHROPIC_API_KEY.

Set API Key

For a quick test, export variables in your shell:

export ANTHROPIC_BASE_URL="https://api.jalapeno-cloud.ai"
export ANTHROPIC_AUTH_TOKEN="your-api-key"
export ANTHROPIC_MODEL="GLM-5.1"

For persistent configuration, use the env block in ~/.claude/settings.json as shown above.

Switch Model

Change ANTHROPIC_MODEL in ~/.claude/settings.json, or run /model in the TUI.

Verify Connection

With the environment variables set, run:

claude -p "Reply with exactly one word: hello"

A successful run returns hello. Run /status in the TUI to confirm Anthropic base URL points to https://api.jalapeno-cloud.ai.

Use Model

Start the interactive CLI in your project directory:

claude