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
  • openai
  • openai-response
  • openai-response-compact

Models & Pricing

Prices are in USD. The listed group rate applies before any request-specific multiplier. Your account may have different access or discounts.

GroupPriceConditionsUnitPrice
MediaInputStandardPer 1M tokensUSD 3.77
MediaOutputStandardPer 1M tokensUSD 22.619999999999997
MediaCache ReadStandardPer 1M tokensUSD 0.9425
MediaImage InputStandardPer 1M tokensUSD 6.032
openai-awardInputStandardPer 1M tokensUSD 0.11309999999999999
openai-awardOutputStandardPer 1M tokensUSD 0.6785999999999999
openai-awardCache ReadStandardPer 1M tokensUSD 0.028274999999999998
openai-awardImage InputStandardPer 1M tokensUSD 0.18095999999999998
openai-enterpriseInputStandardPer 1M tokensUSD 1.885
openai-enterpriseOutputStandardPer 1M tokensUSD 11.309999999999999
openai-enterpriseCache ReadStandardPer 1M tokensUSD 0.47125
openai-enterpriseImage InputStandardPer 1M tokensUSD 3.016
openai-first-topupInputStandardPer 1M tokensUSD 0.056549999999999996
openai-first-topupOutputStandardPer 1M tokensUSD 0.33929999999999993
openai-first-topupCache ReadStandardPer 1M tokensUSD 0.014137499999999999
openai-first-topupImage InputStandardPer 1M tokensUSD 0.09047999999999999
openai-premiumInputStandardPer 1M tokensUSD 0.49010000000000004
openai-premiumOutputStandardPer 1M tokensUSD 2.9406
openai-premiumCache ReadStandardPer 1M tokensUSD 0.12252500000000001
openai-premiumImage InputStandardPer 1M tokensUSD 0.7841600000000001
openai-stableInputStandardPer 1M tokensUSD 0.30160000000000003
openai-stableOutputStandardPer 1M tokensUSD 1.8095999999999999
openai-stableCache ReadStandardPer 1M tokensUSD 0.07540000000000001
openai-stableImage InputStandardPer 1M tokensUSD 0.48256

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.

openai-first-topup

Exclusive GPT pricing unlocked when any single top-up reaches US$20. Ideal for personal development, feature validation, and light usage.