Tool Integration Overview

Applicable roles: Developers, Organizations (top-level users), Sub-users Updated: 2026-07-15

This chapter explains how to connect to the platform's API from mainstream AI programming tools and Agent platforms, so you can use the models provided by the platform directly within your familiar development environment.


How It Works

The platform's API is compatible with both the OpenAI and Anthropic protocols. Most AI tools only require changing two settings to connect:

  1. Base URL -- Point requests to the platform's API address (replacing the default api.openai.com or api.anthropic.com)
  2. API Key -- Enter the Key you created in the platform console (starting with sk-)

Once configured, requests sent by the tool are automatically forwarded to the platform, which handles model routing and invocation.


What You Need to Prepare

Before configuring any tool, prepare the following information:

Item Description Where to Get It
API Key Key starting with sk- Created on the console "API Keys" page
Base URL The platform's API address View on the console "API Keys" page
Model Name The model you want to call (e.g., claude-sonnet-4-6) View on the console "Usage Guide" or "Default Model Configuration" page

Supported Tools Overview

AI Programming Tools (IDE / CLI)

Tool Type Protocol Can Connect Notes
Claude Code CLI Agent Anthropic Yes Just change environment variables — the simplest
Cursor IDE OpenAI Yes Configure Base URL in Settings
Cline VS Code plugin OpenAI Yes Configure in the plugin settings panel
Windsurf IDE OpenAI Partial Native BYOK is Anthropic-only; connect via the Roo Code plugin
Codex CLI CLI Agent OpenAI Yes Change environment variables
Aider CLI tool OpenAI Yes Startup parameters or environment variables
Continue VS Code/JetBrains plugin OpenAI Yes Configure in config.json

AI Agent / Workflow Platforms

Tool Type Protocol Can Connect Notes
Dify Agent platform OpenAI Yes Configure in model provider settings
n8n Workflow platform OpenAI Yes Configure in the AI Agent node
Coze Bot platform OpenAI Yes Custom model configuration
LangChain / LiteLLM Development framework OpenAI Yes Set base_url in code

AI Desktop Applications

Tool Protocol Can Connect Notes
Claude Desktop Anthropic Yes Modify apiBaseUrl in the config file
ChatGPT Desktop OpenAI Yes Configure in Settings

Domestic AI Programming Tools

Tool Vendor Can Connect Reason
Qoder Alibaba No BYOK only supports Coding Plans from Z.AI/Kimi/MiniMax/Alibaba Bailian, not custom OpenAI-compatible endpoints
Trae ByteDance No Bound to its own model backend; no custom endpoints
CodeBuddy Tencent No Bound to Tencent Cloud
Tongyi Lingma Alibaba No Plugin form, uses its own Qwen backend
CodeGeeX Zhipu No Uses its own GLM models

Most domestic AI programming tools are currently bound to their own model backends and do not support connecting to third-party API platforms. If you use these tools, you can continue using their built-in models; when you need to call the platform's models, use the supported tools listed above.


General Notes

  1. Base URL format: Different tools handle the trailing /v1 in the URL differently. Some require it (e.g., https://your-domain.com/v1), while others do not. Each tool's documentation specifies this in detail.

  2. Model name must be accurate: The name entered in the model field must exactly match what the platform actually provides. We recommend copying it directly from the console "Usage Guide" page to avoid errors from manual input.

  3. Protocol matching:

    • For tools using the Anthropic protocol (Claude Code, Claude Desktop): Point the Base URL to the platform's Anthropic-compatible endpoint
    • For tools using the OpenAI protocol (Cursor, Cline, etc.): Point the Base URL to the platform's OpenAI-compatible endpoint
  4. Token consumption reminder: AI Agent tools (Claude Code, Cursor Agent, etc.) resend the accumulated context at every reasoning step, consuming 10 to 100 times more Tokens than ordinary chat for the same amount of work. We recommend testing with a small amount first and confirming your cost expectations before heavy use.

  5. Security reminder: An API Key is equivalent to a password. Do not commit Keys to code repositories, paste them on public forums, or transmit them through insecure channels.