Skip to content
  • Models
  • Rankings
  • Ori
ElevenLabs launch offer: every ElevenLabs model is 50% off through October 19, 2026. See ElevenLabs models

Footer

OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Ori
  • Collections
  • Providers
  • Tools
  • Pricing
  • Business
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status
  • AI Site Map

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
  1. Home
  2. /
  3. Compare

MiniMax M2 vs GPT-5.1-Codex-Mini

Compare MiniMax M2 from MiniMax and GPT-5.1-Codex-Mini from OpenAI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for minimax
MiniMax M2
Favicon for openai
GPT-5.1-Codex-Mini
Favicon for minimax
MiniMax M2
Favicon for openai
GPT-5.1-Codex-Mini

Overview

MiniMax M2
Author
MiniMax
GPT-5.1-Codex-Mini
Author
OpenAI
MiniMax M2
Context length
205Ktokens
GPT-5.1-Codex-Mini
Context length
400Ktokens
MiniMax M2
Reasoning
GPT-5.1-Codex-Mini
Reasoning
MiniMax M2
Input modalities
GPT-5.1-Codex-Mini
Input modalities
MiniMax M2
Output modalities
GPT-5.1-Codex-Mini
Output modalities

MiniMax M2 vs GPT-5.1-Codex-Mini: side-by-side summary

MiniMax M2 and GPT-5.1-Codex-Mini are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.

MiniMax M2, from MiniMax, has a 204,800-token context window and is priced at $0.255/M tokens input, $1.02/M tokens output on OpenRouter.

GPT-5.1-Codex-Mini, from OpenAI, has a 400,000-token context window and is priced at $0.25/M tokens input, $2/M tokens output on OpenRouter.

Context window
  • MiniMax M2: 204,800 tokens
  • GPT-5.1-Codex-Mini: 400,000 tokens
Price
  • MiniMax M2: $0.255/M tokens input, $1.02/M tokens output
  • GPT-5.1-Codex-Mini: $0.25/M tokens input, $2/M tokens output
Provided by
  • MiniMax M2: MiniMax
  • GPT-5.1-Codex-Mini: OpenAI
  • MiniMax M2 model details, providers and pricing
  • GPT-5.1-Codex-Mini model details, providers and pricing

MiniMax M2 vs GPT-5.1-Codex-Mini at a glance

MiniMax M2 vs GPT-5.1-Codex-Mini comparison
AttributeMiniMax M2GPT-5.1-Codex-Mini
Input price$0.255/M tokens$0.25/M tokens
Output price$1.02/M tokens$2/M tokens
Context window204,800 tokens400,000 tokens
Intelligence Index18.620.4
Coding IndexNot availableNot available
Agentic IndexNot availableNot available
Latency (p50)1.21 s5.14 s
Throughput (p50)48.0 tok/s115.5 tok/s

Benchmark data updated Oct 5, 2026

Frequently asked questions

Is MiniMax M2 cheaper than GPT-5.1-Codex-Mini?

MiniMax M2 and GPT-5.1-Codex-Mini trade off on price: MiniMax M2 costs $0.255/M tokens input and $1.02/M tokens output, while GPT-5.1-Codex-Mini costs $0.25/M tokens input and $2/M tokens output, so GPT-5.1-Codex-Mini is cheaper for input tokens and MiniMax M2 is cheaper for output tokens.

Which has the longer context window, MiniMax M2 or GPT-5.1-Codex-Mini?

GPT-5.1-Codex-Mini has the longer context window at 400,000 tokens, compared with 204,800 tokens for MiniMax M2.

Which is faster, MiniMax M2 or GPT-5.1-Codex-Mini?

GPT-5.1-Codex-Mini is faster on OpenRouter, generating a median 115.5 tokens per second compared with 48.0 tokens per second for MiniMax M2.