AI Rate Card

GPT Image 2 · aihubmix

GPT-image-2 is OpenAI's latest cutting-edge image generation model. Key value adds include better performance, quality, editing controls, and face preservation. (Currently the model's image generation time may be >5 minutes; it is recommended to set the client timeout to ≥10 minutes.) The model supports high input_fidelity and adding/removing one aspect of the image while retaining others. This model includes improvements in aspect ratio, resolution, and editing capabilities.

Base modelAll models on this baseAll models of the providerto the provider

Input, $/1M $5.00

Output, $/1M $30.00

Cache read $1.25

Cache write —

Context —

Accepts images, text

Last checked 04.11.2026 12:00:14 UTC

Source provider's page

Price alerts

Sign in to follow the price

API

OpenAI-compatible API: the official OpenAI SDKs work with this base URL. Replace YOUR_API_KEY with your key from the provider.

API base URL
https://aihubmix.com/api/v1
Endpoint
https://aihubmix.com/api/v1/images/generations
Model id
gpt-image-2
curl
curl https://aihubmix.com/api/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-image-2", "prompt": "a lighthouse at sunset", "n": 1, "size": "1024x1024"}'
Python
import requests

r = requests.post(
    "https://aihubmix.com/api/v1/images/generations",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
      "model": "gpt-image-2",
      "prompt": "a lighthouse at sunset",
      "n": 1,
      "size": "1024x1024"
    },
)
print(r.json())
JavaScript
const r = await fetch("https://aihubmix.com/api/v1/images/generations", {
  method: "POST",
  headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
  body: JSON.stringify({
    "model": "gpt-image-2",
    "prompt": "a lighthouse at sunset",
    "n": 1,
    "size": "1024x1024"
  }),
});
console.log(await r.json());
Request (JSON)
{
  "model": "gpt-image-2",
  "prompt": "a lighthouse at sunset",
  "n": 1,
  "size": "1024x1024"
}
Response (JSON)
{
  "created": 1760000000,
  "data": [
    {
      "url": "https://...",
      "b64_json": null
    }
  ]
}

The address is taken from the provider's model list; check it against the provider's documentation.

Provider's API documentation

Source: AI Rate Card, https://airatecard.com/en/c/offer%3Aaihubmix%7Cgpt-image-2, prices checked 2026-11-04; seller's page: https://aihubmix.com

Technical details

ID: offer:aihubmix|gpt-image-2