{
  "schemaVersion": 1,
  "name": "OpenAI Codex AI credit rates",
  "source": "https://roninforge.org/codex-credits/",
  "basedOn": [
    "https://learn.chatgpt.com/docs/pricing",
    "https://developers.openai.com/api/docs/pricing"
  ],
  "license": "CC-BY-4.0",
  "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
  "cite": "RoninForge.org, \"OpenAI Codex AI credit rates\", 2026-08-03. CC BY 4.0. https://roninforge.org/codex-credits/",
  "edition": "2026-08",
  "retrieved_at": "2026-08-03",
  "usd_per_credit": 0.04,
  "note": "Codex meters usage in credits. The credit rate card equals the direct OpenAI API dollar card multiplied by 25, so 1 credit = $0.04 and there is no per-model markup.",
  "units": "credits or USD per 1,000,000 tokens",
  "models": [
    {
      "id": "gpt-5-6-sol",
      "vendor": "OpenAI",
      "name": "GPT-5.6 Sol",
      "status": "GA",
      "featured": true,
      "credits_input_per_1m": 125,
      "credits_cached_input_per_1m": 12.5,
      "credits_output_per_1m": 750,
      "api_input_per_1m_usd": 5,
      "api_cached_input_per_1m_usd": 0.5,
      "api_output_per_1m_usd": 30,
      "usd_per_credit": 0.04
    },
    {
      "id": "gpt-5-6-terra",
      "vendor": "OpenAI",
      "name": "GPT-5.6 Terra",
      "status": "GA",
      "featured": true,
      "credits_input_per_1m": 50,
      "credits_cached_input_per_1m": 5,
      "credits_output_per_1m": 300,
      "api_input_per_1m_usd": 2,
      "api_cached_input_per_1m_usd": 0.2,
      "api_output_per_1m_usd": 12,
      "usd_per_credit": 0.04
    },
    {
      "id": "gpt-5-6-luna",
      "vendor": "OpenAI",
      "name": "GPT-5.6 Luna",
      "status": "GA",
      "featured": true,
      "credits_input_per_1m": 5,
      "credits_cached_input_per_1m": 0.5,
      "credits_output_per_1m": 30,
      "api_input_per_1m_usd": 0.2,
      "api_cached_input_per_1m_usd": 0.02,
      "api_output_per_1m_usd": 1.2,
      "usd_per_credit": 0.04
    },
    {
      "id": "gpt-5-4-mini",
      "vendor": "OpenAI",
      "name": "GPT-5.4 mini",
      "status": "GA",
      "featured": true,
      "credits_input_per_1m": 18.75,
      "credits_cached_input_per_1m": 1.875,
      "credits_output_per_1m": 113,
      "api_input_per_1m_usd": 0.75,
      "api_cached_input_per_1m_usd": 0.075,
      "api_output_per_1m_usd": 4.5,
      "usd_per_credit": 0.04
    },
    {
      "id": "gpt-5-5",
      "vendor": "OpenAI",
      "name": "GPT-5.5",
      "status": "GA",
      "featured": false,
      "credits_input_per_1m": 125,
      "credits_cached_input_per_1m": 12.5,
      "credits_output_per_1m": 750,
      "api_input_per_1m_usd": 5,
      "api_cached_input_per_1m_usd": 0.5,
      "api_output_per_1m_usd": 30,
      "usd_per_credit": 0.04
    },
    {
      "id": "gpt-5-4",
      "vendor": "OpenAI",
      "name": "GPT-5.4",
      "status": "GA",
      "featured": false,
      "credits_input_per_1m": 62.5,
      "credits_cached_input_per_1m": 6.25,
      "credits_output_per_1m": 375,
      "api_input_per_1m_usd": 2.5,
      "api_cached_input_per_1m_usd": 0.25,
      "api_output_per_1m_usd": 15,
      "usd_per_credit": 0.04
    }
  ],
  "image_models": [
    {
      "id": "gpt-image-2-image",
      "vendor": "OpenAI",
      "name": "GPT-Image-2 (image)",
      "status": "GA",
      "modality": "image",
      "credits_input_per_1m": 200,
      "credits_cached_input_per_1m": 50,
      "credits_output_per_1m": 750,
      "api_input_per_1m_usd": 8,
      "api_cached_input_per_1m_usd": 2,
      "api_output_per_1m_usd": 30,
      "usd_per_credit": 0.04
    },
    {
      "id": "gpt-image-2-text",
      "vendor": "OpenAI",
      "name": "GPT-Image-2 (text)",
      "status": "GA",
      "modality": "text",
      "credits_input_per_1m": 125,
      "credits_cached_input_per_1m": 31.25,
      "credits_output_per_1m": 250,
      "api_input_per_1m_usd": 5,
      "api_cached_input_per_1m_usd": 1.25,
      "api_output_per_1m_usd": null,
      "usd_per_credit": 0.04
    }
  ],
  "image_models_note": "GPT-Image-2 is priced on the same credit card, per 1M tokens, but its tokens are image tokens and are not comparable to the text models above. api_output_per_1m_usd is null where OpenAI publishes a credit rate but no API dollar rate."
}