Best AI Models
in MegaBrain
Compare live model rankings by real coding performance. See which models developers choose for planning, debugging, review, and agentic work across 469+ hosted options.
MegaBrain Bench
Cost vs completion rate across the most capable coding models · TerminalBench 2.0
GPT-5.5
openai
OpenAI's most capable model for complex reasoning, planning, and agentic coding.
Claude Opus 4.7
anthropic
Anthropic's flagship — unmatched on deep architectural work and long-horizon tasks.
Claude Opus 4.8
anthropic
Latest Opus generation — stronger reasoning and more reliable tool use.
Gemini 3.5 Flash
Google's fastest frontier model — 1M context, strong at multi-file refactors.
MegaBrain Bench — Top 10 Most Capable Models
| # | Model | Provider | Terminal Bench | Cost/attempt | Input $/M |
|---|---|---|---|---|---|
| 1 | OPGPT-5.5 | openai | 74.2% | ||
| 2 | ANClaude Opus 4.7 | anthropic | 70.1% | ||
| 3 | ANClaude Opus 4.8 | anthropic | 67.6% | ||
| 4 | GOGemini 3.5 Flash | 64.7% | |||
| 5 | ANClaude Sonnet 4.6 | anthropic | 55.1% | ||
| 6 | MOKimi K2.6 | moonshot | 54.4% | ||
| 7 | X-Grok Build 0.1 | x-ai | 50.6% | ||
| 8 | ZHGLM 5.1 | zhipu | 49.4% | ||
| 9 | MIMiMo-V2.5-Pro | mimo | 47.6% | ||
| 10 | MIMiniMax M3 | minimax | 47.6% |
Top Models by Mode
Code
Plan
Debug
Ask
Review
Orchestrator
Methodology
Models earn their rank from the developers using them, not from a spec sheet. Synthetic benchmarks measure one capability at one moment. This leaderboard measures what developers come back to: real coding work, long planning sessions, debugging, review, and agentic tasks across 500+ models.
TerminalBench 2.0
Code, Plan, Ask, Debug, Review
500+ models
Read the leaderboard like a pro
Start with usage
Rankings reflect real token usage by MegaBrain developers, not synthetic benchmarks.
Filter by mode
Use Top Models by Mode to see which models lead in Code, Plan, Debug, Ask, and Orchestrator.
Open the model page
Each model links to a dedicated page with benchmark scores, pricing, context length, and speed data.
Switch in MegaBrain Gateway
All 500+ models are available in MegaBrain. Switch from any model at any time.
AI model FAQ
How is MegaBrain Bench different from other benchmarks?
Most leaderboards score models on synthetic prompts. MegaBrain Bench uses TerminalBench 2.0 — a coding evaluation built around real software engineering tasks: completing functions, fixing bugs, adding tests, refactoring. The score reflects what the model can actually do in an agentic coding loop.
What does the Cost vs Performance chart show?
Each dot is a model. X-axis is TerminalBench 2.0 completion rate (higher = more capable). Y-axis is cost per attempt in dollars (log scale). Models in the bottom-right corner are the best value: high capability, low cost.
Are free models actually free?
Yes. Models marked free have $0 input and $0 output pricing. They are hosted by providers at no charge — typically to drive adoption of a new model family. Availability can change; MegaBrain Auto Free routes across free models and adapts when availability shifts.
How often is pricing updated?
Pricing data is pulled from OpenRouter every 5 minutes. Benchmark scores update when new TerminalBench results are published.
Can I use any of these models through MegaBrain today?
Yes. All 500+ models listed here are available through the MegaBrain Gateway. Sign up, get an API key, and change one line of code.
What is Auto Free?
Auto Free (mb-auto/free) rotates across the best free models — ideal for experimentation. Pick any other model in the list for a specific one.
All 500+ models available in MegaBrain
Switch from any model at any time. One API key, one endpoint, no code changes.
Code for freeAll Models
Browse and compare all 469 available models
Auto Free
mb-auto/free
StepFun: Step 3.7 Flash (free)
stepfun/step-3.7-flash:free
Anthropic: Claude Opus 5.5
anthropic/claude-opus-5.5
Stealth: Claude Opus 4.8 (20% off)
stealth/claude-opus-4.8
Stealth: Claude Opus 4.7 (20% off)
stealth/claude-opus-4.7
Stealth: Claude Sonnet 4.6 (20% off)
stealth/claude-sonnet-4.6
Stealth: Claude Opus 4.6 (20% off)
stealth/claude-opus-4.6
MoonshotAI: Kimi K3
moonshotai/kimi-k3
Anthropic: Claude Sonnet 5.5
anthropic/claude-sonnet-5.5
OpenAI: GPT-5.5
openai/gpt-5.5
Google: Gemini 3.1 Pro Preview
google/gemini-3.1-pro-preview
MiniMax: MiniMax M3
minimax/minimax-m3
Qwen: Qwen3.7 Plus (20% off)
qwen/qwen3.7-plus
Stealth: Qwen3.6 Plus (50% off)
stealth/qwen3.6-plus
Z.ai: GLM 5.2
z-ai/glm-5.2
OpenAI: GPT-6.1 Terra Pro
openai/gpt-6.1-terra-pro
OpenAI: GPT-6.1 Terra Pro (batch)
openai/gpt-6.1-terra-pro:batch
OpenAI: GPT-6.1 Terra
openai/gpt-6.1-terra
OpenAI: GPT-6.1 Terra (batch)
openai/gpt-6.1-terra:batch
MoonshotAI: Kimi K3.1 Pro
moonshotai/kimi-k3.1-pro
Recursive: Flint (free)
recursive/flint-v1.0:free
MiniMax: MiniMax M3.1 Flash
minimax/minimax-m3.1-flash
DeepSeek: DeepSeek V4.1 Flash 1017
deepseek/deepseek-v4.1-flash-1017
Elorian: Glimpse
elorian/glimpse
XingChen: Xing4.0 29B A4B (free)
xingchen-agi/xing4.0-29b-a4b:free
Reflection: Beam 1.0 501B A23B
reflection/beam-1.0-501b-a23b
Inception: Mercury 3
inception/mercury-3
Moondream: Moondream 3 Preview
moondream/moondream3-preview
Moondream: Moondream 3.1
moondream/moondream3.1-9b-a2b
Meta: Muse Spark Open
meta/muse-spark-open
NVIDIA: Nemotron 3.5 Super VL
nvidia/nemotron-3.5-super-vl
NVIDIA: Nemotron 3.5 Super VL (free)
nvidia/nemotron-3.5-super-vl:free
Pareto 26.10
unbiased/pareto-26.10
Pareto Latest
~unbiased/pareto-latest
Pareto 26.9
unbiased/pareto-26.9
LiquidAI: LFM2.5-24B-A2B
liquid/lfm-2.5-24b-a2b
Google: Gemini 4 Argon
google/gemini-4-argon
Google: Gemini 4 Argon (batch)
google/gemini-4-argon:batch
ScaleDown: Summarize
scaledown/summarize
ScaleDown: Extract
scaledown/extract
Meta: Muse Wonder
meta/muse-wonder
StepFun: Step 5 Preview
stepfun/step-5-preview
Anthropic: Claude Haiku 5.5
anthropic/claude-haiku-5.5
Anthropic: Claude Haiku 5.5 (batch)
anthropic/claude-haiku-5.5:batch
Google: Nano Banana 2.1
google/gemini-nano-banana-2.1
Mistral: Mistral Large 4
mistralai/mistral-large-4-0
inclusionAI: Ling 3.1 Flash
inclusionai/ling-3.1-flash
OpenAI: GPT-6.1 Sol Pro
openai/gpt-6.1-sol-pro
OpenAI: GPT-6.1 Sol Pro (batch)
openai/gpt-6.1-sol-pro:batch
OpenAI: GPT-6.1 Sol
openai/gpt-6.1-sol
OpenAI: GPT-6.1 Sol (batch)
openai/gpt-6.1-sol:batch
Anthropic: Claude Sonnet 5.5 (batch)
anthropic/claude-sonnet-5.5:batch
TypeSafe: Jev Router
typesafe/jev-router
Perceptron: Perceptron Mk1.5
perceptron/perceptron-mk1.5
Fireworks: Ember-1
fireworks/ember-1
Z.ai: GLM 5.3 Prime
z-ai/glm-5.3-prime
Qwen: Qwen3.8 Max Prime
qwen/qwen3.8-max-prime
AionLabs: Aion 3.5 Mini
aion-labs/aion-3.5-mini
AionLabs: Aion 3.5
aion-labs/aion-3.5
Upstage: Solar Mini 4
upstage/solar-mini4