AI model comparison

DeepSeek V4 Pro 0813 vs GPT-5.2-Codex

Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.

Change models
Loading the catalog…
Markdown
Context tokens
1.05M
Input / 1M
$0.0999
Output / 1M
$5.00
Context tokens
400K
Input / 1M
$1.75
Output / 1M
$14.00
Benchmark snapshot
Code Completion
DeepSeek V4 Pro 0813GPT-5.2-Codex
78.261%
86.957%

Percent score · Result source · Test method

Catalog checked Nov 27, 202623 shared benchmark resultsRead the methodology

The trade-offs

Start with the differences that affect how this model fits your workload.

Benchmark results
DeepSeek V4 Pro 0813 and GPT-5.2-Codex scored 78.261% and 86.957%, respectively, on Code Completion. Use the test setup below to check whether it matches your workload.
Token cost
For 1 million input tokens and 250,000 output tokens, the listed rates estimate $1.3499 for DeepSeek V4 Pro 0813 and $5.25 for GPT-5.2-Codex.
Context window
DeepSeek V4 Pro 0813 lists 1,048,576 tokens of context. GPT-5.2-Codex lists 400,000 tokens. Reserve space for the output before routing long inputs.

Benchmarks

Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.

Shared benchmark profilePercentage scores from the first eight shared groups, sorted by the page evidence order.

Source Result source · Test method

DeepSeek V4 Pro 0813GPT-5.2-Codex

Code Completion

Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

78.261%
86.957%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Code Generation

Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

76.056%
80.282%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Javascript

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

68.182%
68.182%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Python

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

50%
60%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Typescript

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

46.667%
20%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Amps Hard

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

98%
98%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Connections

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

100%
95%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Consecutive Events

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

90.229%
89.016%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex
Show 15 more shared results

Integrals With Game

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

94%
75%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Logic With Navigation

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

66%
68%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Math Comp

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

97.059%
95.098%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Olympiad

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

91.286%
86.997%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Paraphrase

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

68.633%
67.05%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Plot Unscrambling

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

64.222%
56.035%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Simplify

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

61.567%
60.567%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Spatial

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

96%
94%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Story Generation

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

74.933%
74.783%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Summarize

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

65.667%
63.383%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Tablejoin

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

49.462%
45.596%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Tablereformat

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

98.039%
100%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Theory Of Mind

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

84.615%
78.846%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Typos

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

82%
70%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Zebra Puzzle

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

96.75%
70%
Test configurations
DeepSeek V4 Pro 0813
deepseek-v4-pro-0813
GPT-5.2-Codex
gpt-5.2-codex

Pricing and token cost

Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.

USD per million tokensDeepSeek V4 Pro 0813GPT-5.2-Codex
Uncached input$0.0999$1.75
Output$5.00$14.00
Cache read$0.0999$0.175
Cache writeUnavailableUnavailable

Rates are a catalog snapshot. OpenRouter Models API

Estimate your workload

Enter total token counts. The estimate uses uncached input and output rates.

DeepSeek V4 Pro 0813$1.3499
GPT-5.2-Codex$5.25

DeepSeek V4 Pro 0813 costs $3.9001 less at this token mix.

Model specifications

Context, output limits, modalities, and supported API parameters from the catalog.

SpecificationDeepSeek V4 Pro 0813GPT-5.2-Codex
Catalog statusListedListed
Catalog model IDdeepseek/deepseek-v4-pro-0813openai/gpt-5.2-codex
ProviderDeepSeekOpenAI
Context window1,048,576 tokens400,000 tokens
Max output393,216 tokens128,000 tokens
Input modalitiesTextText, Image
Output modalitiesTextText
Reasoning controlsListedListed
Tool callingListedListed
Structured outputsListedListed
Serving endpoints/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses
Catalog listing dateAug 12, 2026Jan 14, 2026

Use with Weave Router

Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.

DeepSeek V4 Pro 0813

Listed in the public Router catalog.

deepseek/deepseek-v4-pro-0813

GPT-5.2-Codex

Weave Router availability is unverified for this model ID.

Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026

Explore Weave Router Read Weave Router benchmark results

Sources

Each benchmark links to its own result and test method when available.

MarkdownFull methodology