Skip to content
  • Models
  • Rankings
  • Ori
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

Devstral 2 2512 vs GPT-5.1-Codex-Max

Compare Devstral 2 2512 from Mistral AI and GPT-5.1-Codex-Max 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 mistralai
Devstral 2 2512
Favicon for openai
GPT-5.1-Codex-Max
Favicon for mistralai
Devstral 2 2512
Favicon for openai
GPT-5.1-Codex-Max

Overview

Devstral 2 2512
Author
Mistral AI
GPT-5.1-Codex-Max
Author
OpenAI
Devstral 2 2512
Context length
262Ktokens
GPT-5.1-Codex-Max
Context length
400Ktokens
Devstral 2 2512
Reasoning
GPT-5.1-Codex-Max
Reasoning
Devstral 2 2512
Input modalities
GPT-5.1-Codex-Max
Input modalities
Devstral 2 2512
Output modalities
GPT-5.1-Codex-Max
Output modalities

Devstral 2 2512 vs GPT-5.1-Codex-Max: side-by-side summary

Devstral 2 2512 and GPT-5.1-Codex-Max are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.

Devstral 2 2512, from Mistral AI, has a 262,144-token context window and is priced at $0.40/M tokens input, $2/M tokens output on OpenRouter.

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

Context window
  • Devstral 2 2512: 262,144 tokens
  • GPT-5.1-Codex-Max: 400,000 tokens
Price
  • Devstral 2 2512: $0.40/M tokens input, $2/M tokens output
  • GPT-5.1-Codex-Max: $1.25/M tokens input, $10/M tokens output
Provided by
  • Devstral 2 2512: Mistral AI
  • GPT-5.1-Codex-Max: OpenAI
  • Devstral 2 2512 model details, providers and pricing
  • GPT-5.1-Codex-Max model details, providers and pricing

Devstral 2 2512 vs GPT-5.1-Codex-Max at a glance

Devstral 2 2512 vs GPT-5.1-Codex-Max comparison
Devstral 2 2512GPT-5.1-Codex-Max
Input price$0.40/M tokens$1.25/M tokens
Output price$2/M tokens$10/M tokens
Context window262,144 tokens400,000 tokens
Intelligence Index8.6Not available
Coding Index31.3Not available
Agentic Index2.3Not available
Latency (p50)0.73 s8.93 s
Throughput (p50)143.0 tok/s94.0 tok/s

Oct 5, 2026

Is Devstral 2 2512 cheaper than GPT-5.1-Codex-Max?

Devstral 2 2512 is cheaper than GPT-5.1-Codex-Max on OpenRouter: Devstral 2 2512 costs $0.40/M tokens input and $2/M tokens output, while GPT-5.1-Codex-Max costs $1.25/M tokens input and $10/M tokens output.

Which has the longer context window, Devstral 2 2512 or GPT-5.1-Codex-Max?

GPT-5.1-Codex-Max has the longer context window at 400,000 tokens, compared with 262,144 tokens for Devstral 2 2512.

Which is faster, Devstral 2 2512 or GPT-5.1-Codex-Max?

Devstral 2 2512 is faster on OpenRouter, generating a median 143.0 tokens per second compared with 94.0 tokens per second for GPT-5.1-Codex-Max.

Attribute
Benchmark data updated
Frequently asked questions