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

GPT-5.1-Codex-Mini vs GPT-5.2 Pro

Compare GPT-5.1-Codex-Mini from OpenAI and GPT-5.2 Pro 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 openai
GPT-5.1-Codex-Mini
Favicon for openai
GPT-5.2 Pro
Favicon for openai
GPT-5.1-Codex-Mini
Favicon for openai
GPT-5.2 Pro

Overview

GPT-5.1-Codex-Mini
Author
OpenAI
GPT-5.2 Pro
Author
OpenAI
GPT-5.1-Codex-Mini
Context length
400Ktokens
GPT-5.2 Pro
Context length
400Ktokens
GPT-5.1-Codex-Mini
Reasoning
GPT-5.2 Pro
Reasoning
GPT-5.1-Codex-Mini
Input modalities
GPT-5.2 Pro
Input modalities
GPT-5.1-Codex-Mini
Output modalities
GPT-5.2 Pro
Output modalities

GPT-5.1-Codex-Mini vs GPT-5.2 Pro: side-by-side summary

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

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.

GPT-5.2 Pro, from OpenAI, has a 400,000-token context window and is priced at $21/M tokens input, $168/M tokens output on OpenRouter.

Context window
  • GPT-5.1-Codex-Mini: 400,000 tokens
  • GPT-5.2 Pro: 400,000 tokens
Price
  • GPT-5.1-Codex-Mini: $0.25/M tokens input, $2/M tokens output
  • GPT-5.2 Pro: $21/M tokens input, $168/M tokens output
Provided by
  • GPT-5.1-Codex-Mini: OpenAI
  • GPT-5.2 Pro: OpenAI
  • GPT-5.1-Codex-Mini model details, providers and pricing
  • GPT-5.2 Pro model details, providers and pricing

GPT-5.1-Codex-Mini vs GPT-5.2 Pro at a glance

GPT-5.1-Codex-Mini vs GPT-5.2 Pro comparison
AttributeGPT-5.1-Codex-MiniGPT-5.2 Pro
Input price$0.25/M tokens$21/M tokens
Output price$2/M tokens$168/M tokens
Context window400,000 tokens400,000 tokens
Intelligence Index20.4Not available
Coding IndexNot availableNot available
Agentic IndexNot availableNot available
Latency (p50)4.91 s4.74 s
Throughput (p50)74.5 tok/s15.0 tok/s

Benchmark data updated Oct 5, 2026

Frequently asked questions

Is GPT-5.1-Codex-Mini cheaper than GPT-5.2 Pro?

GPT-5.1-Codex-Mini is cheaper than GPT-5.2 Pro on OpenRouter: GPT-5.1-Codex-Mini costs $0.25/M tokens input and $2/M tokens output, while GPT-5.2 Pro costs $21/M tokens input and $168/M tokens output.

Which has the longer context window, GPT-5.1-Codex-Mini or GPT-5.2 Pro?

GPT-5.1-Codex-Mini and GPT-5.2 Pro have the same context window of 400,000 tokens.

Which is faster, GPT-5.1-Codex-Mini or GPT-5.2 Pro?

GPT-5.1-Codex-Mini is faster on OpenRouter, generating a median 74.5 tokens per second compared with 15.0 tokens per second for GPT-5.2 Pro.