Skip to content
Alpha
  • 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
  • EU routing
  • 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

Claude Opus 4.6 vs GPT-5.1-Codex-Mini

Compare Claude Opus 4.6 from Anthropic 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 anthropic
Claude Opus 4.6
Favicon for openai
GPT-5.1-Codex-Mini
Favicon for anthropic
Claude Opus 4.6
Favicon for openai
GPT-5.1-Codex-Mini

Overview

Claude Opus 4.6
Author
Anthropic
GPT-5.1-Codex-Mini
Author
OpenAI
Claude Opus 4.6
Context length
1Mtokens
GPT-5.1-Codex-Mini
Context length
400Ktokens
Claude Opus 4.6
Reasoning
GPT-5.1-Codex-Mini
Reasoning
Claude Opus 4.6
Input modalities
GPT-5.1-Codex-Mini
Input modalities
Claude Opus 4.6
Output modalities
GPT-5.1-Codex-Mini
Output modalities

Claude Opus 4.6 vs GPT-5.1-Codex-Mini: side-by-side summary

Claude Opus 4.6 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.

Claude Opus 4.6, from Anthropic, has a 1,000,000-token context window and is priced at $5/M tokens input, $25/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
  • Claude Opus 4.6: 1,000,000 tokens
  • GPT-5.1-Codex-Mini: 400,000 tokens
Price
  • Claude Opus 4.6: $5/M tokens input, $25/M tokens output
  • GPT-5.1-Codex-Mini: $0.25/M tokens input, $2/M tokens output
Provided by
  • Claude Opus 4.6: Anthropic
  • GPT-5.1-Codex-Mini: OpenAI
  • Claude Opus 4.6 model details, providers and pricing
  • GPT-5.1-Codex-Mini model details, providers and pricing

Claude Opus 4.6 vs GPT-5.1-Codex-Mini at a glance

Claude Opus 4.6 vs GPT-5.1-Codex-Mini comparison
AttributeClaude Opus 4.6GPT-5.1-Codex-Mini
Input price$5/M tokens$0.25/M tokens
Output price$25/M tokens$2/M tokens
Context window1,000,000 tokens400,000 tokens
Intelligence Index31.920.4
Coding IndexNot availableNot available
Agentic IndexNot availableNot available
Latency (p50)1.22 s5.00 s
Throughput (p50)40.0 tok/s46.0 tok/s

Benchmark data updated Oct 5, 2026

Frequently asked questions

Is Claude Opus 4.6 cheaper than GPT-5.1-Codex-Mini?

GPT-5.1-Codex-Mini is cheaper than Claude Opus 4.6 on OpenRouter: GPT-5.1-Codex-Mini costs $0.25/M tokens input and $2/M tokens output, while Claude Opus 4.6 costs $5/M tokens input and $25/M tokens output.

Which has the longer context window, Claude Opus 4.6 or GPT-5.1-Codex-Mini?

Claude Opus 4.6 has the longer context window at 1,000,000 tokens, compared with 400,000 tokens for GPT-5.1-Codex-Mini.

Which is faster, Claude Opus 4.6 or GPT-5.1-Codex-Mini?

GPT-5.1-Codex-Mini is faster on OpenRouter, generating a median 46.0 tokens per second compared with 40.0 tokens per second for Claude Opus 4.6.