Compare AI models

Specifications
Parameters
—6B
Context window
1M8k
API pricing
Input price
$2.00—
Output price
$8.00—
Cached input price
$0.50—
Cheapest input
$2.00Azure—
Cheapest output
$8.00Azure—
$800OpenAI list price—
Benchmarks
HumanEval
94.5%35.9%
Overview
CompanyOpenAIZ.ai
Release dateApr 14 2025Jul 25 2023
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

GPT-4.1 leads CodeGeeX2-6B on 1 of the 1 benchmark they both report (HumanEval). Only GPT-4.1 has a verified first-party price for an available API: $2.00 per million input tokens and $8.00 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, so benchmark comparisons should account for the intervening progress.

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

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