Modelflare
gpt-image-2
Explore GPT Image 2 API pricing by image specification. Review generation requests, size and quality options, and the image integration guide.
API
image-generation
Models & Pricing
Prices are in USD. The listed group rate applies before any request-specific multiplier. Your account may have different access or discounts.
| Group | Price | Conditions | Unit | Price |
|---|---|---|---|---|
| Media | Input | Standard | Per 1M tokens | USD 3.77 |
| Media | Output | Standard | Per 1M tokens | USD 22.619999999999997 |
| Media | Cache Read | Standard | Per 1M tokens | USD 0.9425 |
| Media | Image Input | Standard | Per 1M tokens | USD 6.032 |
Integration guide
Choose a supported size and quality before comparing image prices. The price table lists request specifications separately; token prices from text models are not a substitute for an image quote. Follow the image guide for generation and editing requirements.
Request example
Set MODELFLARE_API_KEY in your local environment and adapt this example to your application. Sending a request consumes your account quota.
curl https://modelflare.dev/v1/images/generations \
-H "Authorization: Bearer $MODELFLARE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"prompt": "A serene koi pond at sunset, ukiyo-e style.",
"size": "1024x1024",
"n": 1
}'Read the integration documentation
Frequently asked questions
Which price applies to my request?
Use the price for your model group and billing unit in the table. Input, output and cached tokens may have different rates. Media specifications and request conditions can change the quote; the final charge is recorded in usage logs.
Can I use my existing API client?
Check the supported endpoints on this page. Point a compatible client at Modelflare, use a Modelflare API key and keep the model ID exactly as shown. Protocol compatibility does not imply that every provider-specific parameter is available.
Why might a listed model be unavailable to my key?
Model-group access, API-key restrictions, balance and request limits are checked separately from the public catalog. Review your account permissions and the returned error before retrying.