Custom GPTs retire: Dec 11, 2026Date announced, hour not (as of Nov 7, 2026). FedRAMP workspaces keep them until Feb 11, 2027; move a GPT to a plugin before then.

17Days23Hours13Minutes19Seconds

Codex Image Generation

To make an image in Codex, describe it in the chat or put $imagegen in the prompt; the built-in tool uses gpt-image-2, is not on the Free plan, and spends your Work and Codex allowance 3 to 5 times faster than a turn without an image. How to ask on each surface and what that costs on Plus, read Nov 12, 2026.

To make an image in Codex, describe it in the chat or put $imagegen in your prompt; the built-in tool "uses gpt-image-2 and counts toward your general Codex usage limits", and an image turn spends those limits "3-5x faster on average than similar turns without image generation" (Image generation and Pricing, OpenAI docs, read Nov 12, 2026). It is not for everyone: the pricing page adds that "Image generation isn't available on the Free plan". OpenAI suggests it for "UI assets, banners, backgrounds, illustrations, sprite sheets, and placeholders" made beside the code. The clip is OpenAI's Jul 9, 2026 walkthrough of ChatGPT Work, which shares Codex's allowance: a launch site whose visuals the presenter says were all generated in ChatGPT from a logo and brand guidelines.

Next: the five-hour allowance those image turns come out of, what an image costs once the allowance is gone or the API models and per-token prices for a large batch.

How to ask, surface by surface

Where How to ask for an image How to give it a reference image
ChatGPT desktop app Ask in the composer; $imagegen calls the skill by name Add the image to the composer
Codex CLI Describe it in an interactive session, or include $imagegen Attach it with -i or --image
Codex IDE extension Ask in the extension chat; $imagegen works here too Hold Shift while dragging it into the composer
ChatGPT on the web Ask in a chat Attach it to the composer

Source: Image generation, OpenAI docs, read Nov 12, 2026. In the desktop app, selecting a generated image opens a viewer with a Focused view for one image and a Canvas view for every image of that chat; in Canvas view, Comment pins feedback to an image and Multi-select sends comments on several at once. On the web the allowance is not Codex's: there image availability and limits follow your plan and workspace settings, which is the subject of ChatGPT Images.

What an image costs your allowance

OpenAI gives no count of images per plan for Codex. It gives two things: the local messages a plan gets per five hours, and the 3 to 5 times multiplier. Dividing one by the other bounds how many image turns fit in a five-hour window on Plus if you did nothing else. This is Vi.ki's own arithmetic from OpenAI's two published figures, read Nov 12, 2026, and not a number OpenAI states:

Model you are chatting with Local messages per 5 hours on Plus Image turns that fit (low end at 5 times, high end at 3 times)
GPT-6 Astra 5 to 45 1 to 15
GPT-6.1 Sol 15 to 160 3 to 53
GPT-6.1 Terra 35 to 285 7 to 95
GPT-6 Sol 15 to 150 3 to 50
GPT-6 Luna 350 to 3,000 70 to 1,000

Source for the middle column: Pricing, OpenAI docs, the same ranges for Plus and for Standard Business seats. OpenAI says the multiplier depends "on image quality and size", so a large, high-quality image sits at the expensive end. Pro has no five-hour limit, though weekly limits may apply. Once the included allowance is used, "image generation also draws from credits", billed for GPT-Image-2 at 200 credits per 1M image input tokens, 50 cached and 750 output, and 125, 31.25 and 250 for its text tokens (Pricing).

For a large batch OpenAI's own advice is to leave the allowance alone: "set OPENAI_API_KEY in your environment and ask ChatGPT to generate images through the API so API pricing applies". With an API key signed in to Codex, API pricing applies to image generation in place of the plan's limits (OpenAI API Pricing).

Which image model Codex uses

OpenAI's pages do not agree, so here is each with its date:

  • The Codex docs, read Nov 12, 2026, say built-in generation "uses gpt-image-2", and the credit table on the pricing page lists only GPT-Image-2.
  • OpenAI's Sep 8, 2026 launch video for GPT Image 2.5 Sunburst and Flare ends by saying both are "available now in the API, ChatGPT, and Codex".
  • OpenAI's deprecations page lists gpt-image-2 as deprecated on Nov 10, 2026, to be removed from the API on Feb 10, 2027, with gpt-image-2.6-sunburst or gpt-image-2.6-flare as the replacement.

We cannot tell from these whether Codex already draws with a newer model and the docs lag, or whether it still uses the model the API is retiring. The removal date is the API's; no page we read gives one for Codex.

Prompts that work, from OpenAI's page

OpenAI's advice is short prompts with fixed points: "A useful image prompt is often only one to three clear sentences." Say what the image is for, name the subject and setting, and state what it must not contain. When editing, "say exactly what should change and what must stay the same", and change one element at a time so the rest does not drift. For words inside an image, put the exact text in quotation marks and give its style, size, color and placement. With several reference images, number them and say what each is for. For dense layouts OpenAI's own caution is to "review every word and finish the asset in a design tool when needed" (Image generation).

What we think

We think OpenAI's Codex docs will name a built-in image model other than gpt-image-2 by Feb 10, 2027, the day that model leaves the API.

Confidence: Likely. Check by: Feb 10, 2027.

Why we think so: OpenAI deprecated gpt-image-2 in the API on Nov 10, 2026 and names the 2.6 models as its replacement, its own Sep 8 video already put the 2.5 models in Codex, and ChatGPT Images moved to Images 2.6 on Nov 4. What would prove us wrong: the Image generation page still naming gpt-image-2 on Feb 10, 2027.

Sources

Moments

Get started with ChatGPT Work

OpenAI

  1. To make an image in Codex, describe it in the chat or put $imagegen in your prompt; the built-in tool "uses…

Introducing GPT-Image-2.5 in the API

OpenAI

  1. OpenAI's Sep 8, 2026 launch video for GPT Image 2.5 Sunburst and Flare ends by saying both are "available now in the…

See also

About this page

Last updated Nov 11, 2026 by the Vi.ki team. Page text CC BY-SA 4.0.

Edit History

Hotkeys

/
Jump to the search box
? or Ctrl + /
Open this list
Esc
Close this list, the photo viewer, or the account menu

Video

Space or K
Play or pause
← →
Back or forward 5 seconds
J L
Back or forward 10 seconds
0 to 9
Go to 0% to 90% of the video
, .
Previous or next frame, while paused
M
Mute or unmute
C
Captions on or off
F
Full screen on or off
A D
Previous or next moment

Photo viewer

← → or A D
Previous or next photo
↑ ↓ or W S
Previous or next photo
Home End
First or last photo
I
Show or hide the photo's info
Z
Clickless on or off: a pointer over a thumbnail shows it
N
Compare with the last photo: back to the one shown before this, and N again comes back
Q
Move the thumbnails to the next edge: top, bottom, left and round
, or Ctrl + ,
Open or close the viewer's settings
V
Clickless pan: a zoomed photo follows the pointer, rather than being dragged
Shift
Browse on or off
B
Show or hide the button bar
T
Show or hide the thumbnails
1
100% zoom on or off
0
Rate the photo as no opinion; again takes the answer back
+ -
Rate the photo a step higher or lower
F
Full screen: the photo alone. F again puts everything back.
Back to top