Skip to content
  • Models
  • Rankings
  • Ori
Sign Up
Sign Up
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • 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

Connect

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

Devstral 2 2512 vs GPT-5.1-Codex-Mini

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

Overview

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

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

Devstral 2 2512 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.

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-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
  • Devstral 2 2512: 262,144 tokens
  • GPT-5.1-Codex-Mini: 400,000 tokens
Price
  • Devstral 2 2512: $0.40/M tokens input, $2/M tokens output
  • GPT-5.1-Codex-Mini: $0.25/M tokens input, $2/M tokens output
Provided by
  • Devstral 2 2512: Mistral AI
  • GPT-5.1-Codex-Mini: OpenAI
  • model details, providers and pricing
Devstral 2 2512
model details, providers and pricing
GPT-5.1-Codex-Mini