> ## Documentation Index
> Fetch the complete documentation index at: https://docs.laozhang.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code token group now open: one key for Claude, DeepSeek, GLM and Kimi in Claude Code

> From November 4, 2026, every LaoZhang API user can create tokens in the Claude Code group. Claude Code, CC Switch, the Anthropic SDK and other Claude-protocol tools use it to call Claude, DeepSeek, GLM and Kimi at the same prices as the default group.

If you code with Claude Code, pick the `Claude Code` group when you create a token. One key reaches Claude, DeepSeek, GLM and Kimi, every request stays on the Claude protocol, and prices match the `default` group.

* **Published**: November 4, 2026
* **Last checked**: November 4, 2026
* **Status**: Active

## Key facts

| Item | Details |
| - | - |
| Token group | `Claude Code`, chosen when you create or edit a token in [Token management](https://api.laozhang.ai/token) |
| Protocol | Claude protocol (Anthropic Messages), `POST https://api.laozhang.ai/v1/messages` |
| Models | All Claude models, DeepSeek, GLM and Kimi; full list in the [model catalog](https://docs.laozhang.ai/en/models.md) |
| Pricing | Same as the `default` group |
| Billing mode | Usage first (recommended) or Usage-based |

Common model IDs:

* Claude: `claude-sonnet-5-5`, `claude-opus-5-5`, `claude-haiku-5-5`
* DeepSeek: `deepseek-v4-pro`, `deepseek-v4-flash`
* GLM: `glm-5.2`, `glm-5.3`
* Kimi: `kimi-k3`, `kimi-k2.6`

## Which tools use this group

| Tool | Token group |
| - | - |
| Claude Code | `Claude Code` |
| Claude Code inside CC Switch | `Claude Code`; Codex and Gemini CLI managed by CC Switch keep `default` |
| Anthropic-format providers in OpenClaw and Hermes Agent | `Claude Code`; their OpenAI-format providers keep `default` |
| Anthropic SDK or code that calls `/v1/messages` | `Claude Code` |
| Cline, Cherry Studio, WorkBuddy and other OpenAI-compatible tools | `default` |

A tool that speaks both formats needs two tokens, one per format. Each integration guide shows where each key goes.

## How to switch

**1. Create the token**

In [Token management](https://api.laozhang.ai/token), create a token, choose the `Claude Code` group and the Usage first billing mode, then copy the key. You can also edit an existing token and change its group to `Claude Code`.

**2. Put it into Claude Code**

Replace `ANTHROPIC_AUTH_TOKEN` in `~/.claude/settings.json` with the new key and keep `ANTHROPIC_BASE_URL` as `https://api.laozhang.ai`. The full configuration is in [Use Claude Code with LaoZhang API](https://docs.laozhang.ai/en/scenarios/programming/claude-code.md).

**3. Send a test request**

Run `claude -p "Reply with exactly one word: connected"`. It should print `connected`. The [usage logs](https://api.laozhang.ai/log) show the group and charge for every request.

## Who is affected

* **Claude Code and other Claude-protocol users**: we recommend moving to a `Claude Code` token; the integration guides now use this group.
* **Existing `Claude Code` token holders**: nothing to change, and DeepSeek now works with these tokens too.
* **OpenAI-compatible users (Chat Completions, Responses)**: keep using `default`; nothing changes.

## FAQ

### Why does a Claude Code token return 503 for GPT or Gemini?

The group only contains Claude-protocol models. Calling GPT, Gemini, Qwen, MiniMax, or an image or video model returns `Current group claude_code has no available channels for model …`. Use a `default` token and the OpenAI-compatible format for those models.

### Can I use a Claude Code token with Chat Completions?

We don't recommend it. The group is meant for the Claude protocol, and Chat Completions requests sent with it may not handle tool calls correctly. Use a `default` token for Chat Completions.

### Does the Claude Code group cost more than default?

No. Both groups have the same prices, billed per token at each model's rate; see the [model catalog](https://docs.laozhang.ai/en/models.md).

### I already use a default token in Claude Code. Do I have to switch?

We recommend it. Create a `Claude Code` token, or change the group of your current token to `Claude Code` in Token management, then put the key back into your Claude Code settings.

## Related docs

* [Claude protocol: Anthropic Messages format and SDK](https://docs.laozhang.ai/en/api-reference/claude.md)
* [Use Claude Code with LaoZhang API](https://docs.laozhang.ai/en/scenarios/programming/claude-code.md)
* [Use CC Switch with LaoZhang API](https://docs.laozhang.ai/en/scenarios/programming/cc-switch.md)
* [Billing: token groups and group ratios](https://docs.laozhang.ai/en/pricing.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.