Compare AI models

Specifications
Parameters
—6B
Context window
128k8k
API pricing
Input price
$0.15—
Output price
$0.60—
Cached input price
$0.075—
Cheapest input
$0.15Azure—
Cheapest output
$0.60Azure—
$60.00OpenAI list price—
Benchmarks
HumanEval
87.2%35.9%
Overview
CompanyOpenAIZ.ai
Release dateJul 18 2024Jul 25 2023
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

GPT-4o mini leads CodeGeeX2-6B on 1 of the 1 benchmark they both report (HumanEval). Only GPT-4o mini has a verified first-party price for an available API: $0.15 per million input tokens and $0.60 per million output tokens. No currently available pay-as-you-go API rate is tracked for CodeGeeX2-6B. CodeGeeX2-6B shipped 359 days before GPT-4o mini, so benchmark comparisons should account for the intervening progress.

Context windows are 128k (GPT-4o mini) vs 8k (CodeGeeX2-6B). GPT-4o mini is closed, while CodeGeeX2-6B is open weight.

On HumanEval, GPT-4o mini leads at 87.2% vs CodeGeeX2-6B at 35.9%.