Compare AI models

Specifications
Parameters
236B—
Context window
128k1M
API pricing
Input price
—$0.40
Output price
—$1.60
Cached input price
—$0.10
Cheapest input
—$0.40Azure
Cheapest output
—$1.60Azure
—$160OpenAI list price
Benchmarks
SWE-Bench Verified
19%23.6%
HumanEval
87.2%93.8%
Overview
CompanyDeepSeekOpenAI
Release dateJul 24 2024Apr 14 2025
AccessOpen WeightClosed
Model detailsView modelView model

Frequently asked questions

GPT-4.1 mini leads DeepSeek Coder V2-0724 on 2 of the 2 benchmarks they both report (SWE-Bench Verified, HumanEval). Only GPT-4.1 mini has a verified first-party price for an available API: $0.40 per million input tokens and $1.60 per million output tokens. No currently available pay-as-you-go API rate is tracked for DeepSeek Coder V2-0724. DeepSeek Coder V2-0724 shipped 264 days before GPT-4.1 mini, so benchmark comparisons should account for the intervening progress.

Context windows are 128k (DeepSeek Coder V2-0724) vs 1M (GPT-4.1 mini). DeepSeek Coder V2-0724 is open weight, while GPT-4.1 mini is closed.

On SWE-Bench Verified, GPT-4.1 mini leads at 23.6% vs DeepSeek Coder V2-0724 at 19%. On HumanEval, GPT-4.1 mini leads at 93.8% vs DeepSeek Coder V2-0724 at 87.2%.