NOUMENOpen app

OpenAI · Frontier

GPT 5.2 Codex

Added Jan 14, 2026

Compare models

Choose up to 3 models to compare.1 of 3 chosen

Loading models…

Use in the app

Coding-focused GPT-5.2 variant with optimized routing.

  • Reasoning
  • Tools
  • Vision
  • Structured output
  • PDF input
Input
Text, Images
Output
Text
Reasoning effort
low · medium · high · xhigh
Discovery tier
Frontier

Pricing

USD per 1M tokens
Input
$1.75
Output
$14.00
Cache read
$0.18

Reference prices as published by the model provider. API example

Specifications

Context window
400K
Max output
128K
Average output (7 days)
41 tokens
Longer than 3% of 465 models

Side by side

GPT 5.2 Codex compared

Specifications, prices, speed and benchmark scores next to each other. Benchmarks below show every compared model too.

Compare models

Choose up to 3 models to compare.1 of 3 chosen

Loading models…

GPT 5.2 CodexOpenAIThis modelGPT 6 LunaOpenAIRemove
ProviderOpenAIOpenAI
Discovery tierFrontierEfficient
AddedJan 14, 2026Sep 22, 2026
Limits
Context window400K1.05MBest
Max output128K128K
Average output41 tokens120 tokens
Pricing, USD per 1M tokens
Input$1.75$0.10Best
Output$14.00$0.50Best
Cache read$0.18$0.01Best
Cache write—$0.13
Performance
Throughput—513.5 tok/s
Time to first token—7.5 s
Request success (24h)—99.9%
Benchmark indexes
Intelligence Index28.529.9Best
Capabilities
ReasoningYesYes
ToolsYesYes
VisionYesYes
Structured outputYesYes
PDF inputYesYes
Reasoning effortlow, medium, high, xhighnone, low, medium, high, xhigh, max

Public evaluations

Benchmarks

Independent evaluation results, with how each score ranks among the models in the Noumen catalog.

  • GPT 5.2 Codex
  • GPT 6 Luna

Intelligence Index

  • GPT 5.2 Codex28.5
  • GPT 6 Luna29.9

GPT 5.2 Codex tested at xhigh reasoning effort

GPT 5.2 Codex: Better than 70% of 326 scored models

3.8Catalog models by score55.1

Agentic work

  • AutomationBench-AA

    Workflow automation, penalized for guardrail violations

    • GPT 5.2 Codex: —
    • GPT 6 Luna: 40.5%
  • AutomationBench-AA tasks completed

    Workflows finished end to end without a guardrail violation

    • GPT 5.2 Codex: —
    • GPT 6 Luna: 10.2%
  • AA-Briefcasev1.1

    Agentic knowledge work, rated head to head

    • GPT 5.2 Codex: —
    • GPT 6 Luna: 1,097 Elo
  • GDPval-AAv2.1

    Economically valuable occupational tasks, rated head to head

    • GPT 5.2 Codex: —
    • GPT 6 Luna: 1,263 Elo

Document reasoning

  • GDP.pdf

    Professional reasoning over PDF documents, all-pass rate

    • GPT 5.2 Codex: —
    • GPT 6 Luna: 13.8%
  • AA-LCRv1.1

    Reasoning across long documents

    • GPT 5.2 Codex: 82.3%Top
    • GPT 6 Luna: 78.3%
  • MLCR-AA

    Long-context reasoning over medical records

    • GPT 5.2 Codex: —
    • GPT 6 Luna: 18.3%

Reasoning and knowledge

  • Humanity’s Last Exam

    Expert-level questions across academic fields

    • GPT 5.2 Codex: 35.7%Top
    • GPT 6 Luna: 28.3%
  • GPQA Diamond

    Graduate-level science questions

    • GPT 5.2 Codex: 89.9%
    • GPT 6 Luna: —
  • IFBench

    Following precise output instructions

    • GPT 5.2 Codex: 77.6%
    • GPT 6 Luna: —

Coding

  • Terminal-Benchv4.0

    Practical software engineering in a terminal

    • GPT 5.2 Codex: —
    • GPT 6 Luna: 2.5%
  • SciCode

    Scientific computing in Python

    • GPT 5.2 Codex: —
    • GPT 6 Luna: 50.9%

Legacy evaluations

  • Terminal-Bench Hard

    Earlier terminal task suite

    • GPT 5.2 Codex: 37.1%
    • GPT 6 Luna: —
  • τ²-Bench Telecom

    Tool use in a customer-support simulation

    • GPT 5.2 Codex: 92.1%
    • GPT 6 Luna: —
  • AA-LCR (unversioned)

    Long-context reasoning, earlier grading

    • GPT 5.2 Codex: 82.3%Top
    • GPT 6 Luna: 78.3%

Scores from Artificial Analysis, updated Oct 26, 2026. GPT 5.2 Codex was tested at xhigh reasoning effort; compare scores measured at the same effort.Artificial Analysis

Developers

Use it through the API

Noumen’s API is OpenAI-compatible: any Chat Completions client works with a base URL and a key.

Read the quickstart
curl https://www.noumen.xyz/api/v1/chat/completions \
  -H "Authorization: Bearer $NOUMEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.2-codex",
    "reasoning_effort": "medium",
    "messages": [{ "role": "user", "content": "Explain this stack trace." }]
  }'
import os
from openai import OpenAI

client = OpenAI(base_url="https://www.noumen.xyz/api/v1", api_key=os.environ["NOUMEN_API_KEY"])
reply = client.chat.completions.create(
    model="openai/gpt-5.2-codex",
    messages=[{"role": "user", "content": "Explain this stack trace."}],
)
print(reply.choices[0].message.content)

OpenAI

Other OpenAI models, starting with the same family.