Documentation
MegaBrain Gateway Docs
One OpenAI-compatible API for 500+ models. Drop-in replacement for any tool that speaks OpenAI.
Gateway
Cookbook
Step-by-step guides for popular coding agents and IDEs.
Codex CLI
OpenAI-compatibleUse OpenAI Codex CLI with MegaBrain as the inference backend.
Cursor
OpenAI-compatibleConnect Cursor IDE to MegaBrain for AI-powered coding assistance.
Cline
OpenAI-compatibleConfigure the Cline VS Code extension to use MegaBrain Gateway.
Hermes
OpenAI-compatibleRoute Hermes coding agent requests through MegaBrain.
OpenCode
OpenAI-compatibleUse OpenCode with MegaBrain as your AI inference provider.
Claude Code
Anthropic-compatiblePoint Claude Code CLI at MegaBrain to use any model with one key.
Claude Desktop
Anthropic-compatibleConfigure Claude Desktop to use MegaBrain as its API provider.
OpenClaw
OpenAI-compatibleDeploy an AI bot across Telegram, Discord, Slack, and WhatsApp with MegaBrain.
Skills
Custom instruction sets for Cline — copy and paste to unlock specialized workflows.