MBMegaBrain
GatewayAuto ModelPricingDocsBlog
Sign inSign up

Documentation

MegaBrain Gateway Docs

One OpenAI-compatible API for 500+ models. Drop-in replacement for any tool that speaks OpenAI.

Gateway

API Reference
Chat completions, embeddings, audio, and model discovery endpoints.

Cookbook

Step-by-step guides for popular coding agents and IDEs.

Codex CLI
OpenAI-compatible
Use OpenAI Codex CLI with MegaBrain as the inference backend.
Cursor
OpenAI-compatible
Connect Cursor IDE to MegaBrain for AI-powered coding assistance.
Cline
OpenAI-compatible
Configure the Cline VS Code extension to use MegaBrain Gateway.
Hermes
OpenAI-compatible
Route Hermes coding agent requests through MegaBrain.
OpenCode
OpenAI-compatible
Use OpenCode with MegaBrain as your AI inference provider.
Claude Code
Anthropic-compatible
Point Claude Code CLI at MegaBrain to use any model with one key.
Claude Desktop
Anthropic-compatible
Configure Claude Desktop to use MegaBrain as its API provider.
OpenClaw
OpenAI-compatible
Deploy an AI bot across Telegram, Discord, Slack, and WhatsApp with MegaBrain.

Skills

Custom instruction sets for Cline — copy and paste to unlock specialized workflows.

Cline Skills
New
Ready-made custom instruction sets: MegaBrain Design System and McKinsey 7-Step Problem Solving.
MBMegaBrain

Code with AI
without breaking the bank.

Product

  • Gateway
  • Auto Model
  • Pricing
  • Docs
  • Blog

Models

  • All Models
  • Open Source Models
  • Free Models
  • Model Freedom

Legal

  • Terms of Service
  • Privacy Policy
  • Refund Policy

Contact

  • team@getmegabrain.com
  • Dubai, DIFC

© 2026 getmegabrain.com. All rights reserved.

Dubai, DIFC