Models

GPT Image 2

Model id: gpt-image-2

  • Image generation

OpenAI’s current dedicated image model for generation and edits via the images API.

Best for

production image generation and edits on the OpenAI path.

Provider
OpenAI
Context window
Not published
Release date
2026-04-01

Pricing

1024x1024 · auto
$0.0818 / image
1024x1024 · high
$0.3256 / image
1024x1024 · low
$0.0093 / image
1024x1024 · medium
$0.0818 / image
1024x1536 · auto
$0.0633 / image
1024x1536 · high
$0.2546 / image
1024x1536 · low
$0.0077 / image
1024x1536 · medium
$0.0633 / image
1536x1024 · auto
$0.0633 / image
1536x1024 · high
$0.2546 / image
1536x1024 · low
$0.0077 / image
1536x1024 · medium
$0.0633 / image

Amounts in Canadian dollars, converted at the Bank of Canada indicative rate (2026-07-31).

Performance

Reading

Last 7 days

Not enough data to display the chart.

Time to first byte (p95)
Not published
Output speed (p95)
Not published
Samples
50 over 7 days

Measured on real traffic at Pass egress — not a synthetic benchmark.

Activity

Tokens

Top 5 tools · last 7 days

Tool activity appears only when at least 2 organizations have used this model recently.

Availability

Availability (%)

Last 7 days

Operational probes
99.91% over 7 days
Samples
8,613

View service status

Quick start

Generate an image with a tonia_ key and the exact model id below.

curl

curl https://pass.tonia.ca:8443/v1/images/generations \
  -H "Authorization: Bearer $TONIA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2",
    "prompt": "Draw a red fox",
    "n": 1
  }'

Python (OpenAI SDK)

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://pass.tonia.ca:8443/v1",
    api_key=os.environ["TONIA_API_KEY"],
)
response = client.images.generate(
    model="gpt-image-2",
    prompt="Draw a red fox",
    n=1,
)

TypeScript (OpenAI SDK)

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://pass.tonia.ca:8443/v1",
  apiKey: process.env.TONIA_API_KEY,
});

const response = await client.images.generate({
  model: "gpt-image-2",
  prompt: "Draw a red fox",
  n: 1,
});

Create a key in the portal