Desktop, Agents, SDKs & Cross-Protocol Overview
Beyond official CLI coding tools, RKAPI connects seamlessly with autonomous coding agents, desktop AI workspaces, official language SDKs, and cross-protocol workflows. Every integration uses the same unified API gateway (https://api.zwwbai.com) and the API keys you create in the RKAPI Console.
Client & Integration Directory
Use the directory below to pick the right guide and confirm the exact Base URL format your client expects.
Coding Agents
| Client | Protocol | Base URL | Guide |
|---|---|---|---|
| OpenCode | OpenAI-Compatible / Anthropic | https://api.zwwbai.com/v1 | OpenCode |
| OpenClaw | OpenAI Completions / Anthropic Messages | https://api.zwwbai.com/v1 or https://api.zwwbai.com | OpenClaw |
| Hermes Agent | OpenAI-Compatible / Anthropic | https://api.zwwbai.com/v1 or https://api.zwwbai.com | Hermes Agent |
Desktop & Workspace Apps
| Client | Protocol | Base URL | Guide |
|---|---|---|---|
| Cherry Studio | OpenAI / Anthropic / Gemini | https://api.zwwbai.com | Cherry Studio |
| Claude Desktop | Anthropic Messages | https://api.zwwbai.com | Claude Desktop |
| WorkBuddy | OpenAI-Compatible / Anthropic | https://api.zwwbai.com/v1 or https://api.zwwbai.com | WorkBuddy |
| AionUI | OpenAI / Anthropic / Gemini + Local CLIs | https://api.zwwbai.com/v1 or https://api.zwwbai.com | AionUI |
| All API Hub | Console Account + API Gateway | Site: https://s2pbxm0xv5y.adtyai-fz.top / API: https://api.zwwbai.com | All API Hub |
Official SDKs
| SDK | Protocol | Base URL | Guide |
|---|---|---|---|
| OpenAI SDK (Python / Node.js) | Chat Completions & Responses API | https://api.zwwbai.com/v1 | Official SDKs |
| Anthropic SDK (Python / TypeScript) | Anthropic Messages API | https://api.zwwbai.com | Official SDKs |
| Google GenAI SDK (Python / TypeScript) | Gemini Native API | https://api.zwwbai.com | Official SDKs |
Cross-Protocol Routing
| Workflow | Client Protocol | Base URL | Guide |
|---|---|---|---|
| ChatGPT / GPT via Claude Code | Anthropic Messages → OpenAI | https://api.zwwbai.com | ChatGPT via Claude Code |
| DeepSeek via Claude Code | Anthropic Messages → DeepSeek | https://api.zwwbai.com | DeepSeek via Claude Code |
| DeepSeek via Codex CLI | OpenAI Chat Completions / Responses → DeepSeek | https://api.zwwbai.com/v1 | DeepSeek via Codex |
Choosing the Right Endpoint: /v1 vs. Root URL
The single most common configuration error across third-party clients is doubling or omitting /v1 in the Base URL. Follow this rule of thumb:
| Endpoint Form | When to Use | Example Request Built by Client |
|---|---|---|
https://api.zwwbai.com/v1 | OpenAI SDKs, Codex CLI, OpenCode (@ai-sdk/openai-compatible and @ai-sdk/anthropic), Hermes OpenAI mode, and clients that append /chat/completions, /responses, or /messages directly | https://api.zwwbai.com/v1/chat/completions |
https://api.zwwbai.com | Native Anthropic SDK, Claude Code, Claude Desktop, Google GenAI SDK, and GUI clients (such as Cherry Studio) that automatically insert /v1 or /v1beta | https://api.zwwbai.com/v1/messages or https://api.zwwbai.com/v1beta/models/... |
Never Mix the Console Domain with the API Domain
Always send model requests to https://api.zwwbai.com, never to https://s2pbxm0xv5y.adtyai-fz.top. The web domain https://s2pbxm0xv5y.adtyai-fz.top is reserved for account management, billing, key creation, and pricing lookups. See Quick Start & Dual Domains for details.
Before You Start
- Create an API key: Sign in to https://s2pbxm0xv5y.adtyai-fz.top, open API Keys, and create a dedicated key for each client or workflow. Follow Account Security & PAT to set quota limits and keep keys scoped.
- Verify model IDs and groups: Check exact model names and group availability on RKAPI Pricing and monitor live channel health on Channel Availability.
- Prefer one-click profile switching for local CLIs? If you frequently alternate between providers or model groups in Claude Code, Codex, or Claude Desktop, see CC Switch Overview.
Related Sections
- Looking for Claude Code, Codex CLI, Kimi Code, or Grok Build? Visit CLI & Quick Setup.
- Need raw HTTP endpoint details, headers, or error codes? See the API Reference.
- Running into connection, auth, or streaming issues? Check the General FAQ.