Compare

2–4 model comparison. Best-in-row is highlighted.

Gemma 3 4Bopen

Google · google__gemma-3-4b-it

GPT-5.1-Codex-Mini

OpenAI · openai__gpt-5.1-codex-mini

Identity

Fieldgoogle__gemma-3-4b-itopenai__gpt-5.1-codex-mini
ProviderGoogleOpenAI
Sluggoogle__gemma-3-4b-itopenai__gpt-5.1-codex-mini
Statuslivelive
Open weightsYesNo
License
HuggingFacegoogle/gemma-3-4b-it

Quality

Fieldgoogle__gemma-3-4b-itopenai__gpt-5.1-codex-mini
Quality index (0–100)

Cost

Fieldgoogle__gemma-3-4b-itopenai__gpt-5.1-codex-mini
Input $ / 1M tokens$0.05$0.25
Cached input $ / 1M$0.03
Output $ / 1M tokens$0.10$2.00

Context

Fieldgoogle__gemma-3-4b-itopenai__gpt-5.1-codex-mini
Max context tokens131,072400,000
Max output tokens16,384128,000

Modalities

Fieldgoogle__gemma-3-4b-itopenai__gpt-5.1-codex-mini
Inputtext, imageimage, text
Outputtexttext