Documentation
Get started, explore the API, follow tutorials, and find answers
Agent CLI 接入
Gemini CLI Compatibility Note for CodeGateway
Gemini CLI only speaks the Gemini-native protocol; here is why it cannot connect and two alternatives.
Reasonix Integration with CodeGateway: DeepSeek-Compatible Endpoint Setup
Reasonix speaks DeepSeek-compatible endpoints; one baseUrl connects it to CodeGateway (0.53.x and v1.x configs).
DeepSeek Harness (DSH) Integration with CodeGateway: Custom Provider Setup
Add one custom provider in DSH to reach Claude/Gemini/DeepSeek models via CodeGateway.
Qwen Code Integration with CodeGateway: OpenAI-Compatible Provider Setup
One settings.json entry connects Qwen Code to CodeGateway with DeepSeek/Kimi/GLM models, pay as you go.
Agent CLI Overview: Connect Any Mainstream AI Coding Tool to CodeGateway in 5 Minutes
Quick overview of endpoints, model routing rules, and per-tool setup entries for mainstream Agent CLIs.
Getting Started
Claude Code One-Liner Setup (macOS / Linux / Windows)
One command to set up Claude Code with CodeGateway — works on macOS, Linux, and Windows.
OpenClaw + CodeGateway: Configure Claude Models in 5 Minutes
OpenClaw users route Claude Sonnet/Opus/Haiku via the CodeGateway aggregation gateway with one baseUrl change and one API key — pay per token.
Other
Claude Code from Zero: Run Your First AI-Written Program in 10 Minutes
Never written code? You can still use Claude Code. A zero-jargon walkthrough that takes you from install to running your first AI-written program in 10 minutes.
Codex CLI Quickstart
5-minute setup: route OpenAI Codex CLI (gpt-5.3-codex) through CodeGateway — install, configure base_url, verify, start coding.