AI model comparison

DeepSeek V4 Flash 0423 vs GPT-5.1-Codex

Pricing, context window, benchmarks, and features compared side by side. Or skip the guesswork and send one prompt to both.

DeepSeek V4 Flash is an efficiency-optimized Mixture-of-Experts model from DeepSeek with 284B total parameters and 13B activated parameters, supporting a 1M-token context window.

Input / 1M
$0.01
Output / 1M
$1.28
Context
1.05M

GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows.

Input / 1M
$1.25
Output / 1M
$10
Context
400K

At a glance

Quick verdict

How the two models stack up on the things people ask about most.

Lower price

deepseek logo

DeepSeek V4 Flash 0423

11.4x cheaper for a typical chat

Higher intelligence score

deepseek logo

DeepSeek V4 Flash 0423

24.4 vs 23.7 on Artificial Analysis

Larger context window

deepseek logo

DeepSeek V4 Flash 0423

1.05M vs 400K tokens

Newer release

deepseek logo

DeepSeek V4 Flash 0423

Released April 24, 2026

Benchmarks

Benchmark scores

Independent scores from Artificial Analysis. Higher is better.

Intelligence index

deepseek logoDeepSeek V4 Flash 042324.4
openai logoGPT-5.1-Codex23.7

Coding index

deepseek logoDeepSeek V4 Flash 042352
openai logoGPT-5.1-CodexNot available

Agentic index

deepseek logoDeepSeek V4 Flash 042326.3
openai logoGPT-5.1-CodexNot available

Pricing

DeepSeek V4 Flash 0423 vs GPT-5.1-Codex API pricing

Per-token API rates. Cheaper option highlighted.

Metricdeepseek logoDeepSeek V4 Flash 0423openai logoGPT-5.1-Codex
Input tokensPer 1M tokens$0.01$1.25
Output tokensPer 1M tokens$1.28$10
Cached input (read)Per 1M tokens$0.01$0.13
Cache writePer 1M tokensNot availableNot available
Web searchPer requestNot available$0.01

What it costs in practice

Estimated cost per 1,000 requests at standard rates. Coding and long-document figures also show the cost when the input is already cached.

Chat message

2K in, 500 out

deepseek logoDeepSeek V4 Flash 0423$0.66
openai logoGPT-5.1-Codex$7.50

Coding task

30K in, 4K out

deepseek logoDeepSeek V4 Flash 0423$5.42$5.42 cached
openai logoGPT-5.1-Codex$77.50$43.90 cached

Long document summary

150K in, 2K out

deepseek logoDeepSeek V4 Flash 0423$4.05$4.05 cached
openai logoGPT-5.1-Codex$207.50$39.50 cached

Specs

Context window and capabilities

How much each model can read, how much it can write, and what it accepts as input.

Metricdeepseek logoDeepSeek V4 Flash 0423openai logoGPT-5.1-Codex
Context window1.05M tokens400K tokens
Max output944K tokens128K tokens
Input typesTextImage, Text
Output typesTextText
Reasoning effort levelsExtra high, HighHigh, Medium, Low
Default reasoning effortHighMedium
Release dateApril 24, 2026November 13, 2025

Features

Supported features

API features available for each model.

Metricdeepseek logoDeepSeek V4 Flash 0423openai logoGPT-5.1-Codex
Tool callingSupportedSupported
Structured outputsSupportedSupported
JSON modeSupportedSupported
ReasoningSupportedSupported
TemperatureSupportedNot supported
Stop sequencesSupportedNot supported
Deterministic seedSupportedSupported
Verbosity controlNot supportedSupported

Our take

DeepSeek V4 Flash 0423 is 11.4x cheaper for a typical chat. DeepSeek V4 Flash 0423 scores higher on the Artificial Analysis Intelligence Index (24.4 vs 23.7). DeepSeek V4 Flash 0423 has the larger context window (1.05M vs 400K tokens). The right pick depends on your workload, so the quickest way to settle it is to send the same prompt to both and compare.

FAQ

Frequently asked questions

Is DeepSeek V4 Flash 0423 or GPT-5.1-Codex cheaper?

DeepSeek V4 Flash 0423 is cheaper for a typical chat (2K input tokens and 500 output tokens). DeepSeek V4 Flash 0423 costs $0.01 per 1M input tokens and $1.28 per 1M output tokens, while GPT-5.1-Codex costs $1.25 per 1M input tokens and $10 per 1M output tokens.

Which has a bigger context window, DeepSeek V4 Flash 0423 or GPT-5.1-Codex?

DeepSeek V4 Flash 0423 supports up to 1.05M tokens of context, compared with 400K for GPT-5.1-Codex.

Is DeepSeek V4 Flash 0423 smarter than GPT-5.1-Codex?

On the Artificial Analysis Intelligence Index, DeepSeek V4 Flash 0423 scores 24.4 and GPT-5.1-Codex scores 23.7, putting DeepSeek V4 Flash 0423 ahead. Benchmarks don't capture everything, so the best test is running your own prompts through both.

Can I use DeepSeek V4 Flash 0423 and GPT-5.1-Codex at the same time?

Yes. Shortcut Chat sends one prompt to multiple models at once, so you can see DeepSeek V4 Flash 0423 and GPT-5.1-Codex answer side by side and keep the better response.

deepseek logoopenai logo

Why choose? Ask both.

Send one prompt to DeepSeek V4 Flash 0423 and GPT-5.1-Codex at the same time. Compare the answers side by side and keep the best one.