gpt-image-1 API Pricing & Access
Supports all parameters of /v1/images/generations and /v1/images/edits.
Pricing by group
USD per 1M tokens. Price = base price × group ratio.
| Group | Input | Output | Cache read | About this group |
|---|---|---|---|---|
| Azure-Gpt-3 | $1.10 | $8.80 | $0.275 | Moderate discount, decent stability |
| Azure-Gpt-4 | $2.20 | $17.60 | $0.55 | Standard discount, reliable stability |
| Openai-Gpt-1 | $2.941 | $23.53 | $0.7353 | More attractive discount, may queue at peak hours |
| Azure-Gpt-5 | $3.00 | $24.00 | $0.75 | Minor discount, consistent operational stability |
| Openai-Gpt-2 | $3.676 | $29.412 | $0.9191 | Favorable discount, more stable runtime performance |
| Azure-Gpt-6 | $4.50 | $36.00 | $1.125 | Minimal discount, excellent stability |
Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table above and your console.
Capabilities
- Provider
- OpenAI
- Features
- Drawing
- API formats
- OpenAI Image Edit · OpenAI Images
Quick start
Base URL: https://api.openlux.ai/v1. Create an API key in the console and replace YOUR_API_KEY in the examples.
curl https://api.openlux.ai/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-image-1", "prompt": "A cat sitting on a windowsill"}'from openai import OpenAI
client = OpenAI(base_url="https://api.openlux.ai/v1", api_key="YOUR_API_KEY")
img = client.images.generate(model="gpt-image-1", prompt="A cat sitting on a windowsill")
print(img.data[0])Full parameters in the API docs
FAQ
How do I call the gpt-image-1 API?
Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and use gpt-image-1 as the model name.
How is the gpt-image-1 API billed?
Pay as you go: input and output tokens are priced separately, and the price depends on the group you choose. At build time the lowest public group was $1.10 per 1M input tokens and $8.80 per 1M output tokens. Top-ups start at $1.
How is prompt caching billed for gpt-image-1?
Cache hits (cache reads) cost 0.25× the input price.
Is there a Batch API?
Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.
Which API formats does gpt-image-1 support?
OpenAI Image Edit, OpenAI Images.