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 337+ 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 at exact provider rates. Sign up, get an API key, and change one line of code.
What's the difference between Auto Frontier, Auto Balanced, and Auto Free?
Frontier routes every request to the most capable available model — for complex reasoning and architecture tasks. Balanced picks the best cost-effective model for your task type — the best default for daily development. Free rotates across the best free models — ideal for experimentation.
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 337 available AI coding models
OpenAI: GPT-5.5
openai
Google: Gemini 3.5 Flash
xAI: Grok Build 0.1
x-ai
MiniMax: MiniMax M3
minimax
DeepSeek: R1
deepseek
Meta: Llama 4 Maverick
meta-llama
Qwen: Qwen3 235B A22B
qwen
Google: Gemini 2.5 Flash
Auto Frontier
kilo-auto
Auto Balanced
kilo-auto
Auto Free
kilo-auto
Poolside: Laguna M.1 (free)
poolside
Nex AGI: Nex-N2-Pro (free)
nex-agi
StepFun: Step 3.7 Flash (free)
stepfun
Anthropic: Claude Opus 4.8
anthropic
Stealth: Claude Opus 4.8 (20% off)
stealth
Stealth: Claude Opus 4.7 (20% off)
stealth
Stealth: Claude Sonnet 4.6 (20% off)
stealth
Stealth: Claude Opus 4.6 (20% off)
stealth
MoonshotAI: Kimi K2.6
moonshotai
Anthropic: Claude Sonnet 4.6
anthropic
Google: Gemini 3.1 Pro Preview
Qwen: Qwen3.7 Plus (20% off)
qwen
Stealth: Qwen3.6 Plus (50% off)
stealth
Z.ai: GLM 5.1
z-ai
Google: Nano Banana 2 (Gemini 3.1 Flash Image)
Google: Nano Banana Pro (Gemini 3 Pro Image)
Cohere: North Mini Code (free)
cohere
Z.ai: GLM 5.2
z-ai
OpenRouter: Fusion
openrouter
MoonshotAI: Kimi K2.7 Code
moonshotai
Anthropic: Claude Fable Latest ($$$$)
~anthropic
Anthropic: Claude Fable 5 ($$$$)
anthropic
NVIDIA: Nemotron 3.5 Content Safety (free)
nvidia
NVIDIA: Nemotron 3 Ultra (free)
nvidia
NVIDIA: Nemotron 3 Ultra
nvidia
StepFun: Step 3.7 Flash
stepfun
Anthropic: Claude Opus 4.8 (Fast) ($$$$)
anthropic
Qwen: Qwen3.7 Max (50% off)
qwen
Anthropic: Claude Opus 4.7 (Fast) ($$$$)
anthropic
Perceptron: Perceptron Mk1
perceptron
inclusionAI: Ring-2.6-1T
inclusionai
Google: Gemini 3.1 Flash Lite
OpenAI: GPT Chat Latest
openai
xAI: Grok 4.3
x-ai
IBM: Granite 4.1 8B
ibm-granite
Mistral: Mistral Medium 3.5
mistralai
Owl Alpha
openrouter
NVIDIA: Nemotron 3 Nano Omni (free)
nvidia
Poolside: Laguna XS.2 (free)
poolside
Poolside: Laguna XS.2
poolside
Poolside: Laguna M.1
poolside
Anthropic Claude Haiku Latest
~anthropic
OpenAI GPT Mini Latest
~openai
Google Gemini Pro Latest
MoonshotAI Kimi Latest
~moonshotai
Google Gemini Flash Latest
Anthropic Claude Sonnet Latest
~anthropic
OpenAI GPT Latest
~openai
Qwen: Qwen3.5 Plus 2026-04-20
qwen
Qwen: Qwen3.6 Flash
qwen
Qwen: Qwen3.6 35B A3B
qwen
Qwen: Qwen3.6 Max Preview
qwen
Qwen: Qwen3.6 27B
qwen
OpenAI: GPT-5.5 Pro ($$$$)
openai
DeepSeek: DeepSeek V4 Pro
deepseek
DeepSeek: DeepSeek V4 Flash
deepseek
inclusionAI: Ling-2.6-1T
inclusionai
Tencent: Hy3 preview
tencent
Xiaomi: MiMo-V2.5-Pro
xiaomi
Xiaomi: MiMo-V2.5
xiaomi
OpenAI: GPT-5.4 Image 2
openai
inclusionAI: Ling-2.6-flash
inclusionai
Anthropic: Claude Opus Latest
~anthropic
Pareto Code Router
openrouter
Anthropic: Claude Opus 4.7
anthropic
Anthropic: Claude Opus 4.6 (Fast) ($$$$)
anthropic
Google: Gemma 4 26B A4B
Google: Gemma 4 31B
Qwen: Qwen3.6 Plus
qwen
Arcee AI: Trinity Large Thinking
arcee-ai
xAI: Grok 4.20 Multi-Agent
x-ai
xAI: Grok 4.20
x-ai
Google: Lyria 3 Pro Preview
Google: Lyria 3 Clip Preview
Kwaipilot: KAT-Coder-Pro V2
kwaipilot
Reka Edge
rekaai
MiniMax: MiniMax M2.7
minimax
OpenAI: GPT-5.4 Nano
openai
OpenAI: GPT-5.4 Mini
openai
Mistral: Mistral Small 4
mistralai
Z.ai: GLM 5 Turbo
z-ai
NVIDIA: Nemotron 3 Super (free)
nvidia
NVIDIA: Nemotron 3 Super
nvidia
ByteDance Seed: Seed-2.0-Lite
bytedance-seed
Qwen: Qwen3.5-9B
qwen
OpenAI: GPT-5.4 Pro ($$$$)
openai
OpenAI: GPT-5.4
openai
Inception: Mercury 2
inception
OpenAI: GPT-5.3 Chat
openai
Google: Gemini 3.1 Flash Lite Preview
ByteDance Seed: Seed-2.0-Mini
bytedance-seed
Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)
Qwen: Qwen3.5-35B-A3B
qwen
Qwen: Qwen3.5-27B
qwen
Qwen: Qwen3.5-122B-A10B
qwen
Qwen: Qwen3.5-Flash
qwen
LiquidAI: LFM2-24B-A2B
liquid
Google: Gemini 3.1 Pro Preview Custom Tools
OpenAI: GPT-5.3-Codex
openai
AionLabs: Aion-2.0
aion-labs
Qwen: Qwen3.5 Plus 2026-02-15
qwen
Qwen: Qwen3.5 397B A17B
qwen
MiniMax: MiniMax M2.5
minimax
Z.ai: GLM 5
z-ai
Qwen: Qwen3 Max Thinking
qwen
Anthropic: Claude Opus 4.6
anthropic
Qwen: Qwen3 Coder Next
qwen
Free Models Router
openrouter
StepFun: Step 3.5 Flash
stepfun
MoonshotAI: Kimi K2.5
moonshotai
Upstage: Solar Pro 3
upstage
MiniMax: MiniMax M2-her
minimax
Writer: Palmyra X5
writer
OpenAI: GPT Audio
openai
OpenAI: GPT Audio Mini
openai
Z.ai: GLM 4.7 Flash
z-ai
OpenAI: GPT-5.2-Codex
openai
ByteDance Seed: Seed 1.6 Flash
bytedance-seed
ByteDance Seed: Seed 1.6
bytedance-seed
MiniMax: MiniMax M2.1
minimax
Z.ai: GLM 4.7
z-ai
Google: Gemini 3 Flash Preview
NVIDIA: Nemotron 3 Nano 30B A3B
nvidia
OpenAI: GPT-5.2 Chat (retires Aug 10)
openai
OpenAI: GPT-5.2 Pro ($$$$)
openai
OpenAI: GPT-5.2
openai
Mistral: Devstral 2 2512
mistralai
Relace: Relace Search
relace
Z.ai: GLM 4.6V
z-ai
EssentialAI: Rnj 1 Instruct
essentialai
Body Builder (beta)
openrouter
OpenAI: GPT-5.1-Codex-Max
openai
Amazon: Nova 2 Lite
amazon
Mistral: Ministral 3 14B 2512
mistralai
Mistral: Ministral 3 8B 2512
mistralai
Mistral: Ministral 3 3B 2512
mistralai
Mistral: Mistral Large 3 2512
mistralai
Arcee AI: Trinity Mini
arcee-ai
DeepSeek: DeepSeek V3.2
deepseek
Prime Intellect: INTELLECT-3
prime-intellect
Anthropic: Claude Opus 4.5
anthropic
AllenAI: Olmo 3 32B Think
allenai
Google: Nano Banana Pro (Gemini 3 Pro Image Preview)
Deep Cogito: Cogito v2.1 671B
deepcogito
OpenAI: GPT-5.1
openai
OpenAI: GPT-5.1 Chat
openai
OpenAI: GPT-5.1-Codex
openai
OpenAI: GPT-5.1-Codex-Mini
openai
MoonshotAI: Kimi K2 Thinking
moonshotai
Amazon: Nova Premier 1.0
amazon
Perplexity: Sonar Pro Search
perplexity
Mistral: Voxtral Small 24B 2507
mistralai
OpenAI: gpt-oss-safeguard-20b
openai
MiniMax: MiniMax M2
minimax
Qwen: Qwen3 VL 32B Instruct
qwen
IBM: Granite 4.0 Micro
ibm-granite
Microsoft: Phi 4 Mini Instruct
microsoft
OpenAI: GPT-5 Image Mini
openai
Anthropic: Claude Haiku 4.5
anthropic
Qwen: Qwen3 VL 8B Thinking
qwen
Qwen: Qwen3 VL 8B Instruct
qwen
OpenAI: GPT-5 Image ($$$$)
openai
OpenAI: o3 Deep Research ($$$$)
openai
OpenAI: o4 Mini Deep Research
openai
NVIDIA: Llama 3.3 Nemotron Super 49B V1.5
nvidia
Google: Nano Banana (Gemini 2.5 Flash Image)
Qwen: Qwen3 VL 30B A3B Thinking
qwen
Qwen: Qwen3 VL 30B A3B Instruct
qwen
OpenAI: GPT-5 Pro ($$$$)
openai
Z.ai: GLM 4.6
z-ai
Anthropic: Claude Sonnet 4.5
anthropic
DeepSeek: DeepSeek V3.2 Exp
deepseek
TheDrummer: Cydonia 24B V4.1
thedrummer
Relace: Relace Apply 3
relace
Google: Gemini 2.5 Flash Lite Preview 09-2025
Qwen: Qwen3 VL 235B A22B Thinking
qwen
Qwen: Qwen3 VL 235B A22B Instruct
qwen
Qwen: Qwen3 Max
qwen
Qwen: Qwen3 Coder Plus
qwen
OpenAI: GPT-5 Codex
openai
DeepSeek: DeepSeek V3.1 Terminus
deepseek
Qwen: Qwen3 Coder Flash
qwen
Qwen: Qwen3 Next 80B A3B Thinking
qwen
Qwen: Qwen3 Next 80B A3B Instruct
qwen
Qwen: Qwen Plus 0728 (thinking)
qwen
Qwen: Qwen Plus 0728
qwen
MoonshotAI: Kimi K2 0905
moonshotai
Qwen: Qwen3 30B A3B Thinking 2507
qwen
Nous: Hermes 4 70B
nousresearch
Nous: Hermes 4 405B
nousresearch
DeepSeek: DeepSeek V3.1
deepseek
Mistral: Mistral Medium 3.1
mistralai
Z.ai: GLM 4.5V
z-ai
AI21: Jamba Large 1.7
ai21
OpenAI: GPT-5 Chat
openai
OpenAI: GPT-5
openai
OpenAI: GPT-5 Mini
openai
OpenAI: GPT-5 Nano
openai
OpenAI: gpt-oss-120b
openai
OpenAI: gpt-oss-20b
openai
Anthropic: Claude Opus 4.1 ($$$$)
anthropic
Mistral: Codestral 2508
mistralai
Qwen: Qwen3 Coder 30B A3B Instruct
qwen
Qwen: Qwen3 30B A3B Instruct 2507
qwen
Z.ai: GLM 4.5 (retires Dec 31)
z-ai
Z.ai: GLM 4.5 Air
z-ai
Qwen: Qwen3 235B A22B Thinking 2507
qwen
Qwen: Qwen3 Coder 480B A35B
qwen
ByteDance: UI-TARS 7B
bytedance
Google: Gemini 2.5 Flash Lite
Qwen: Qwen3 235B A22B Instruct 2507
qwen
Switchpoint Router
switchpoint
MoonshotAI: Kimi K2 0711
moonshotai
Tencent: Hunyuan A13B Instruct
tencent
Morph: Morph V3 Large
morph
Morph: Morph V3 Fast
morph
Baidu: ERNIE 4.5 VL 424B A47B
baidu
Mistral: Mistral Small 3.2 24B
mistralai
MiniMax: MiniMax M1
minimax
Google: Gemini 2.5 Pro
OpenAI: o3 Pro ($$$$)
openai
Google: Gemini 2.5 Pro Preview 06-05
DeepSeek: R1 0528
deepseek
Anthropic: Claude Opus 4 ($$$$)
anthropic
Anthropic: Claude Sonnet 4
anthropic
Google: Gemma 3n 4B
Mistral: Mistral Medium 3
mistralai
Google: Gemini 2.5 Pro Preview 05-06
Arcee AI: Virtuoso Large
arcee-ai
Arcee AI: Coder Large
arcee-ai
Meta: Llama Guard 4 12B
meta-llama
Qwen: Qwen3 30B A3B
qwen
Qwen: Qwen3 8B
qwen
Qwen: Qwen3 14B
qwen
Qwen: Qwen3 32B
qwen
OpenAI: o4 Mini High
openai
OpenAI: o3
openai
OpenAI: o4 Mini
openai
OpenAI: GPT-4.1
openai
OpenAI: GPT-4.1 Mini
openai
OpenAI: GPT-4.1 Nano
openai
Meta: Llama 4 Scout
meta-llama
DeepSeek: DeepSeek V3 0324
deepseek
OpenAI: o1-pro ($$$$)
openai
Mistral: Mistral Small 3.1 24B
mistralai
Google: Gemma 3 4B
Google: Gemma 3 12B
Cohere: Command A
cohere
OpenAI: GPT-4o-mini Search Preview
openai
OpenAI: GPT-4o Search Preview
openai
Reka Flash 3
rekaai
Google: Gemma 3 27B
TheDrummer: Skyfall 36B V2
thedrummer
Perplexity: Sonar Reasoning Pro
perplexity
Perplexity: Sonar Pro
perplexity
Perplexity: Sonar Deep Research
perplexity
Mistral: Saba
mistralai
OpenAI: o3 Mini High
openai
AionLabs: Aion-1.0
aion-labs
AionLabs: Aion-1.0-Mini
aion-labs
AionLabs: Aion-RP 1.0 (8B)
aion-labs
Qwen: Qwen2.5 VL 72B Instruct
qwen
Qwen: Qwen-Plus
qwen
OpenAI: o3 Mini
openai
Mistral: Mistral Small 3
mistralai
Perplexity: Sonar
perplexity
DeepSeek: R1 Distill Llama 70B
deepseek
MiniMax: MiniMax-01
minimax
Microsoft: Phi 4
microsoft
Sao10K: Llama 3.1 70B Hanami x1
sao10k
DeepSeek: DeepSeek V3
deepseek
Sao10K: Llama 3.3 Euryale 70B
sao10k
OpenAI: o1 ($$$$)
openai
Cohere: Command R7B (12-2024)
cohere
Meta: Llama 3.3 70B Instruct
meta-llama
Amazon: Nova Lite 1.0
amazon
Amazon: Nova Micro 1.0
amazon
Amazon: Nova Pro 1.0
amazon
OpenAI: GPT-4o (2024-11-20)
openai
Mistral Large 2407
mistralai
Qwen2.5 Coder 32B Instruct
qwen
TheDrummer: UnslopNemo 12B
thedrummer
Anthropic: Claude 3.5 Haiku
anthropic
Magnum v4 72B
anthracite-org
Qwen: Qwen2.5 7B Instruct
qwen
Inflection: Inflection 3 Productivity
inflection
Inflection: Inflection 3 Pi
inflection
TheDrummer: Rocinante 12B
thedrummer
Meta: Llama 3.2 3B Instruct
meta-llama
Meta: Llama 3.2 1B Instruct
meta-llama
Meta: Llama 3.2 11B Vision Instruct
meta-llama
Qwen2.5 72B Instruct
qwen
Cohere: Command R+ (08-2024)
cohere
Cohere: Command R (08-2024)
cohere
Sao10K: Llama 3.1 Euryale 70B v2.2
sao10k
Nous: Hermes 3 70B Instruct
nousresearch
Nous: Hermes 3 405B Instruct
nousresearch
Sao10K: Llama 3 8B Lunaris
sao10k
OpenAI: GPT-4o (2024-08-06)
openai
Meta: Llama 3.1 8B Instruct
meta-llama
Meta: Llama 3.1 70B Instruct
meta-llama
Mistral: Mistral Nemo
mistralai
OpenAI: GPT-4o-mini (2024-07-18)
openai
OpenAI: GPT-4o-mini
openai
Google: Gemma 2 27B
OpenAI: GPT-4o (2024-05-13)
openai
OpenAI: GPT-4o
openai
Meta: Llama 3 8B Instruct
meta-llama
Mistral: Mixtral 8x22B Instruct
mistralai
WizardLM-2 8x22B
microsoft
OpenAI: GPT-4 Turbo ($$$$)
openai
Anthropic: Claude 3 Haiku
anthropic
Mistral Large
mistralai
OpenAI: GPT-4 Turbo Preview ($$$$)
openai
OpenAI: GPT-3.5 Turbo (older v0613)
openai
Auto Router
openrouter
OpenAI: GPT-3.5 Turbo Instruct
openai
OpenAI: GPT-3.5 Turbo 16k
openai
Mancer: Weaver (alpha)
mancer
ReMM SLERP 13B
undi95
MythoMax 13B
gryphe
OpenAI: GPT-4 ($$$$)
openai
OpenAI: GPT-3.5 Turbo
openai
DeepSeek: DeepSeek V4 Pro (>80% off)
deepseek
DeepSeek: DeepSeek V4 Flash (>40% off)
deepseek
Auto Small
kilo-auto