Compare AI models

Specifications
Parameters
7B—
Context window
32k1M
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
38.4%93.8%
Overview
CompanyMistralOpenAI
Release dateMay 22 2024Apr 14 2025
AccessOpen WeightClosed
Model detailsView modelView model

Frequently asked questions

GPT-4.1 mini leads Mistral 7B v0.3 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 Mistral 7B v0.3. Mistral 7B v0.3 shipped 327 days before GPT-4.1 mini, so benchmark comparisons should account for the intervening progress.

Context windows are 32k (Mistral 7B v0.3) vs 1M (GPT-4.1 mini). Mistral 7B v0.3 is open weight, while GPT-4.1 mini is closed.

On HumanEval, GPT-4.1 mini leads at 93.8% vs Mistral 7B v0.3 at 38.4%.