BeeRoute logoBeeRoute.

Home / Guides

Agent Tools Overview

BeeRoute is compatible with three official API formats: OpenAI (Chat Completions / Responses), Anthropic (Messages), and Google Gemini. Most AI coding tools and agent tools can be connected by filling in just three things: the API URL, the API key, and the model name.

Every tutorial in this section has been checked against each tool's official documentation as of November 2026. Tools change quickly. If the interface differs from the tutorial, follow the tool's official documentation, or contact us so we can update the tutorial.

1. Get an API Key

  1. Log in to BeeRoute and make sure your account balance is greater than 0.
  2. Open the API Keys page, click Create API Key, choose the Group according to the table below, then copy the generated key (it starts with sk-).
ToolGroupNotes
Claude Code (terminal / VS Code / JetBrains)ClaudeCodeDedicated to Claude Code, lower prices, Claude models only
Codex (CLI / IDE extension / ChatGPT desktop app)CodeXDedicated to Codex, lower prices, includes GPT models such as gpt-6.2-sol
All other toolsdefaultSupports all models

ClaudeCode and CodeX are dedicated groups and can only be used in their corresponding clients. If you use a key from either group in OpenCode, Cline, OpenClaw, or other tools, requests may be rejected (403). Use a default group key for all other tools.

2. API URL Quick Reference

Tools use different names for the API URL (Base URL, API address, Endpoint, API URL, and so on). Fill it in according to the API format the tool uses:

API formatURL to enterTypical tools
OpenAI Chat Completions ("OpenAI-compatible")https://beeroute.ai/v1OpenCode, Cline, Kilo Code, OpenClaw, Hermes, Pi, Trae, Qoder, DeepSeek Harness, etc.
OpenAI Responseshttps://beeroute.ai/v1Codex (supports only this format)
Anthropic Messageshttps://beeroute.aiClaude Code
Google Geminihttps://beeroute.aiThe official Google SDK (google-genai); see Gemini Native
  • Tools automatically append paths such as /chat/completions, /responses, or /v1/messages to the URL, so you usually should not enter the full path.
  • A few tools let you enter the full URL instead (for example, Trae with the Full URL switch turned on, or WorkBuddy with the Custom protocol toggle turned on). In that case, the full Chat Completions URL is https://beeroute.ai/v1/chat/completions.
  • The "Anthropic-compatible" mode of some tools requires the URL to include /v1. Follow the corresponding tutorial.

3. Model Names

The model name must match the model ID on BeeRoute exactly (case-sensitive). You can view and copy all model IDs on the Pricing page. Common coding models:

FamilyExample model IDs
Claudeclaude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5
GPTgpt-6.2-sol
Geminigemini-4-neon, gemini-4-hydrogen
Chinese modelsdeepseek-flash, kimi-k3.1-pro, glm-5.3, qwen4-max

A single default group key can call all the models in the table above. In "OpenAI-compatible" tools, Claude, Gemini, and other models can also be called through the Chat Completions format; BeeRoute converts the requests automatically.

4. Supported Tools

ToolTypeAPI formatTutorial
Claude CodeTerminal / IDE coding agentAnthropic MessagesView
CodexTerminal / IDE / desktop coding agentOpenAI ResponsesView
OpenCodeTerminal coding agentChat Completions / Responses / AnthropicView
OpenClawPersonal AI assistant gatewayChat Completions / Responses / AnthropicView
Hermes AgentTerminal / chat app agentChat Completions / Responses / AnthropicView
PiMinimal, extensible coding agentChat Completions / Responses / Anthropic / GeminiView
ClineVS Code / JetBrains extension, CLIChat CompletionsView
Kilo CodeVS Code extension, CLIChat Completions / Responses / AnthropicView
CursorAI editorChat Completions (limited)View
TraeAI editorChat Completions / AnthropicView
QoderDesktop appChat Completions / ResponsesView
WorkBuddyDesktop agentChat CompletionsView
DeepSeek HarnessWeb / desktop agentChat Completions / Responses / Anthropic / GeminiView
ReasonixTerminal coding agentChat Completions / AnthropicView

5. Test with curl First

Before configuring a tool, you can run the command below to confirm that your key and network work (use a default group key and replace sk-xxx with your key):

curl https://beeroute.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-xxx" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-6.2-sol", "messages": [{"role": "user", "content": "Hello"}]}'

If the response is JSON containing a choices field, the API is working.

6. Common Errors

SymptomCauseFix
401 / Invalid tokenThe key is wrong, has extra spaces, or has been deletedCopy the key again; check whether an old environment variable is overriding it
403, or request rejectedThe key's group does not match the toolUse the ClaudeCode group for Claude Code, the CodeX group for Codex, and the default group for other tools
No available channel for model xxx under group xxxThe model name is wrong, or the group does not include this modelCheck the model ID and its available groups on the Pricing page
Error saying quota pre-consume failed / insufficient balanceInsufficient balanceTop up on the Wallet page
404Wrong API URL (extra or missing /v1)Compare with the API URL quick reference above
Connection timeoutNetwork or proxy issueTurn off your proxy and retry, or check the tool's proxy settings

Last updated 2026-11-29 · Markdown source · llms.txt