Compare AI models

Specifications
Parameters
—6B
Context window
1M8k
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
93.8%35.9%
Overview
CompanyOpenAIZ.ai
Release dateApr 14 2025Jul 25 2023
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

GPT-4.1 mini leads CodeGeeX2-6B 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 CodeGeeX2-6B. CodeGeeX2-6B shipped 629 days before GPT-4.1 mini, so benchmark comparisons should account for the intervening progress.

Context windows are 1M (GPT-4.1 mini) vs 8k (CodeGeeX2-6B). GPT-4.1 mini is closed, while CodeGeeX2-6B is open weight.

On HumanEval, GPT-4.1 mini leads at 93.8% vs CodeGeeX2-6B at 35.9%.