Codex model pricing in AI credits

Every current-generation Codex model, ranked by the credits a typical daily-coding request burns. Verified 2026-08-03.

ModelCategoryCredits / 1M inCredits / 1M outCredits / request
GPT-5.6 Luna Lightweight5.0030.000.1
GPT-5.4 mini Lightweight18.751130.3
GPT-5.6 Terra Versatile50.003000.8
GPT-5.6 Sol Powerful1257501.9

Daily-coding request: a defined workload basket, not a measured task, priced against OpenAI's published credit rate card. See each model's page for the worked cost and the direct-API comparison.

Image generation

GPT-Image-2 sits on the same credit rate card, priced per 1M tokens. Its tokens are image tokens, so these rates are not comparable to the coding models above and the calculator leaves them out.

ModelCredits / 1M inCredits / 1M cachedCredits / 1M outAPI $ / 1M in
GPT-Image-2 (image)20050.00750$8.00
GPT-Image-2 (text)12531.25250$5.00

OpenAI's API card publishes no text OUTPUT rate for GPT-Image-2, but the credit card prices text output at 250 credits per 1M. That is recorded as published rather than filled in from the other card.

Codex Credits - Calculator