Compare AI models

Specifications
Parameters
—9B
Context window
1M128k
API pricing
Input price
$0.30—
Output price
$2.50—
Cached input price
$0.03—
Cheapest input
$0.15Google AI Studio—
Cheapest output
$1.25Google AI Studio—
$185Google list price—
Benchmarks
LiveCodeBench
63.5%28.5%
Overview
CompanyGoogleZ.ai
Release dateApr 17 2025Jul 5 2024
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

Gemini 2.5 Flash leads CodeGeeX4-ALL-9B on 1 of the 1 benchmark they both report (LiveCodeBench). Only Gemini 2.5 Flash has a verified first-party price for an available API: $0.30 per million input tokens and $2.50 per million output tokens. No currently available pay-as-you-go API rate is tracked for CodeGeeX4-ALL-9B. CodeGeeX4-ALL-9B shipped 286 days before Gemini 2.5 Flash, so benchmark comparisons should account for the intervening progress.

Context windows are 1M (Gemini 2.5 Flash) vs 128k (CodeGeeX4-ALL-9B). Gemini 2.5 Flash is closed, while CodeGeeX4-ALL-9B is open weight.

On LiveCodeBench, Gemini 2.5 Flash leads at 63.5% vs CodeGeeX4-ALL-9B at 28.5%.