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

# AI coding tools and apps you can connect to BetterToken

> Connect AI coding tools and apps to BetterToken. Compare protocols, Base URLs, and setup methods, then open the guide for your CLI, editor, or platform.

You can connect the AI coding tools and apps below with a BetterToken API Key and the endpoint their protocol requires. Each row links to the tool's setup guide and shows whether a one-command BetterToken configuration is documented.

## Choose a protocol first

Check the protocol selected in your tool's guide before entering a Base URL. Anthropic Messages uses `https://bettertoken.ai`; OpenAI-compatible examples use `https://bettertoken.ai/v1`. The GitHub Copilot Chat Completions example and the TRAE full-URL example use the complete `https://bettertoken.ai/v1/chat/completions` address. In TRAE, check the URL mode available in your region and client version.

The [protocol comparison](/en/faq/concepts/openai-compatible-vs-anthropic-compatible.md) explains the difference. The protocol follows the client: Claude Code can also call GPT models through BetterToken's Anthropic Messages endpoint.

## Prerequisites

Create a BetterToken API Key using the [quickstart](/en/quickstart.md), confirm your balance in the **Dashboard**, and copy an exact Model ID from the [model plaza](https://bettertoken.ai/pricing). One BetterToken API Key works with all available models; you can create separate keys for individual projects.

## Supported tools and setup methods

**One-command setup** means a BetterToken configuration script, not a command that only installs the tool. For manual setup, open the tool's guide for its UI or configuration file. The table shows the protocols and URL fields used by these guides' examples, rather than a complete list of each client's protocol options.

| Tool | Type | Protocol & URL in this guide | One-command setup |
| - | - | - | - |
| [Claude Code](/en/ai-tools/claude-code.md) | CLI / IDE extension | Anthropic: `https://bettertoken.ai` | [Yes](/en/ai-tools/claude-code.md#command-line-setup) |
| [Claude Desktop](/en/faq/claude-desktop-bettertoken-api.md) | Desktop app | Anthropic: `https://bettertoken.ai` | Manual |
| [Codex CLI / App](/en/ai-tools/codex.md) | CLI / desktop app | OpenAI-compatible, Responses: `https://bettertoken.ai/v1` | [Yes](/en/ai-tools/codex.md#command-line-setup) |
| [Codex VS Code Extension](/en/ai-tools/codex-vscode.md) | IDE extension | OpenAI-compatible, Responses: `https://bettertoken.ai/v1` | Manual |
| [GitHub Copilot](/en/ai-tools/github-copilot.md) | IDE extension | Chat Completions example: full URL `https://bettertoken.ai/v1/chat/completions` | Manual |
| [OpenClaw](/en/ai-tools/openclaw.md) | Agent / gateway | OpenAI-compatible, Responses or Chat Completions: `https://bettertoken.ai/v1` | [Yes](/en/ai-tools/openclaw.md#command-line-setup) |
| [Cursor](/en/ai-tools/cursor.md) | IDE | OpenAI-compatible: `https://bettertoken.ai/v1` | Manual |
| [TRAE](/en/ai-tools/trae.md) | IDE | Chat Completions, full-URL mode: `https://bettertoken.ai/v1/chat/completions`; check your client's URL mode | Manual |
| [OpenCode](/en/ai-tools/opencode.md) | CLI | OpenAI-compatible, Chat Completions: `https://bettertoken.ai/v1` | [Yes](/en/ai-tools/opencode.md#command-line-setup) |
| [Kilo Code](/en/ai-tools/kilo-code.md) | IDE extension | OpenAI-compatible: `https://bettertoken.ai/v1` | Manual |
| [Kodacode](/en/ai-tools/kodacode.md) | IDE extension | OpenAI-compatible: `https://bettertoken.ai/v1/` (keep trailing `/`) | Manual |
| [Hermes Agent](/en/ai-tools/hermes-agent.md) | CLI agent | OpenAI-compatible: `https://bettertoken.ai/v1` | Manual |
| [Pi Agent](/en/ai-tools/pi-agent.md) | CLI | OpenAI-compatible: `https://bettertoken.ai/v1`; Anthropic: `https://bettertoken.ai` | Manual |
| [Cline](/en/ai-tools/cline.md) | IDE extension | OpenAI-compatible: `https://bettertoken.ai/v1` | Manual |
| [Roo Code](/en/ai-tools/roo-code.md) | IDE extension | OpenAI-compatible: `https://bettertoken.ai/v1` | Manual |
| [Grok CLI and Grok Build](/en/ai-tools/grok-cli.md) | CLI | OpenAI-compatible: `https://bettertoken.ai/v1` | Manual instructions |
| [Droid](/en/ai-tools/droid.md) | CLI | OpenAI-compatible, Responses: `https://bettertoken.ai/v1` | Manual |
| [Zed](/en/ai-tools/zed.md) | Editor | OpenAI-compatible, Chat Completions: `https://bettertoken.ai/v1` | Manual |
| [MonkeyCode](/en/ai-tools/monkeycode.md) | Web app | OpenAI-compatible: `https://bettertoken.ai/v1` | Manual |
| [Continue CLI](/en/ai-tools/continue-cli.md) | CLI | OpenAI-compatible, Chat Completions: `https://bettertoken.ai/v1` | Manual |
| [Aider](/en/ai-tools/aider.md) | CLI | OpenAI-compatible: `https://bettertoken.ai/v1` | Manual |
| [n8n](/en/ai-tools/n8n.md) | Automation platform | OpenAI-compatible: `https://bettertoken.ai/v1` | Manual |
| [Dify](/en/ai-tools/dify.md) | AI application platform | OpenAI-compatible, Chat Completions: `https://bettertoken.ai/v1` | Manual |
| [CC Switch](/en/ai-tools/cc-switch.md) | Desktop configuration manager | Anthropic: `https://bettertoken.ai`; OpenAI-compatible: `https://bettertoken.ai/v1`, by managed app | Manual instructions |

## Start with your workflow

> **[Terminal agents](/en/ai-tools/claude-code.md)**
>
> Start with Claude Code, or use Codex CLI, OpenCode, Pi Agent, or Aider from the table.

> **[IDE extensions](/en/ai-tools/cline.md)**
>
> Configure Cline in VS Code, or open the guide for your existing editor or extension.

> **[Platform automation](/en/ai-tools/n8n.md)**
>
> Connect an n8n workflow or use Dify for an AI application.

> **[Configuration management](/en/ai-tools/cc-switch.md)**
>
> Manage connection settings for several clients with CC Switch.

## Common questions

### Does connecting a model enable every agent feature?

Streaming and tool calling support varies by model. Test a small request with your Model ID first, then test the tool's workflow. See [streaming and tool calling](/en/guides/streaming-and-tool-calling.md).

### Can Claude Desktop use the same models as Claude Code?

Claude Desktop supports only Claude models because of a client limitation. Claude Code can call other available models, including GPT, through Anthropic Messages. Both use a BetterToken API Key.

### What if settings save but a request fails?

Send a short message in a new session, then check the **Dashboard** request record. For authentication, URL, or model errors, use [errors and limits](/en/api-reference/errors.md) and the selected tool's troubleshooting section.

## Related

* [Quickstart: create your API Key](/en/quickstart.md)
* [FAQ: accounts, setup, and billing](/en/faq.md)
* [Use an SDK in your own code](/en/guides/sdk-examples.md)
* [API reference](/en/api-reference/introduction.md)
* [Model plaza: copy a current Model ID](https://bettertoken.ai/pricing)


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