gpt-image-2

OpenAI · Image

PaintingDALL-E 3 format

NixAPI price, from

Input$0.4971
Output$2.983

USD per 1M tokens · via group Codex-Gpt-2 · Official list price $5 / $30Save 90%

Get your API key →

About gpt-image-2

GPT Image 2 is our most advanced image generation model, supporting fast, high-quality image generation and editing. It supports flexible image dimensions and high-fidelity image input.

Price by routing group

Pick a group in the console when you create a key. Status is live from the router. Live status by group →

GroupGroup statusModel statusMultiplierInputOutputCache readImage inputImage cache input
Codex-Gpt-2…×0.0994$0.4971$2.983$0.1988$0.7954$0.3182
Codex-Gpt-3…×0.1243$0.6213$3.728$0.2485$0.9941$0.3977
Azure-Gpt-2…×0.169$0.845$5.07$0.338$1.352$0.5408
Azure-Gpt-3…×0.3718$1.859$11.154$0.7436$2.974$1.19
Azure-Gpt-4…×0.7436$3.718$22.308$1.487$5.949$2.38
Openai-Gpt-1…×0.9941$4.971$29.824$1.988$7.953$3.181
Azure-Gpt-5…×1.014$5.07$30.42$2.028$8.112$3.245
Openai-Gpt-2…×1.2427$6.213$37.28$2.485$9.941$3.977
Azure-Gpt-6…×1.521$7.605$45.63$3.042$12.168$4.867

Per token · USD per 1M tokens

Supported endpoints

image-generationOpenAI image edit

Call gpt-image-2 in one request

Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.

curl https://api.nixapi.com/v1/images/generations \
  -H "Authorization: Bearer $NIXAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-image-2", "prompt": "A lighthouse at dawn, watercolor", "size": "1024x1024"}'

Full API reference →

Questions about gpt-image-2

How much does gpt-image-2 cost on NixAPI?

From $0.4971 per 1M input tokens and $2.983 per 1M output tokens in the Codex-Gpt-2 group, about 90% below the official list price. Prices are pay-as-you-go in USD with no monthly minimum.

How do I call gpt-image-2?

Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "gpt-image-2".

Which routing groups serve gpt-image-2?

gpt-image-2 is available in 9 routing groups: Codex-Gpt-2, Codex-Gpt-3, Azure-Gpt-2, Azure-Gpt-3, Azure-Gpt-4, Openai-Gpt-1, Azure-Gpt-5, Openai-Gpt-2, Azure-Gpt-6. The lowest price is in Codex-Gpt-2.

More from OpenAI

Compare all OpenAI models →