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
HumanEval
84.76%93.8%
Overview
CompanyDeepSeekOpenAI
Release dateJun 28 2024Apr 14 2025
AccessOpen WeightClosed
Model detailsView modelView model

Frequently asked questions

GPT-4.1 mini leads DeepSeek V2-0628 on 1 of the 1 benchmark they both report (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 V2-0628. DeepSeek V2-0628 shipped 290 days before GPT-4.1 mini, so benchmark comparisons should account for the intervening progress.

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

On HumanEval, GPT-4.1 mini leads at 93.8% vs DeepSeek V2-0628 at 84.76%.