Apixly · API pricing
gpt-image-2
gpt-image-2 · Image generation
Gateway price for gpt-image-2 ↓API integration · Image generation
Use an image model for visual content. Required inputs, image sizes, edit support and output formats depend on the exact model; follow its image endpoint guide rather than reusing chat parameters.
- Request model ID
- gpt-image-2
- Public groups
- image · openai-direct
Create an Apixly API key, bind a group that lists this exact model, and keep the key in a server-side environment variable. Public prices exclude personal discounts; check the selected group before sending a request.
Check model access first
Run this read-only catalog request to inspect the exact model entry visible to your API key. Confirm its group, then follow the operation guide and verify a completed output and actual usage.
curl --fail-with-body --max-time 30 'https://apixly.ai/v1/models' -H "Authorization: Bearer $APIXLY_API_KEY" | python3 -c 'import json, sys
models = json.load(sys.stdin).get("data", [])
wanted = "gpt-image-2"
match = next((item for item in models if item.get("id") == wanted), None)
if match is None: raise SystemExit("Model not listed for this key; check its bound groups")
print(json.dumps(match, ensure_ascii=False, indent=2))'Use the model-specific parameters in the linked guide. For asynchronous jobs, keep the returned task ID, poll that same task to a terminal state and verify the downloadable result. Reconcile a timed-out request before submitting another paid job.
Compare related models
Public quotes
Public prices
Providers
- Media output/ image2K · Official image price estimate (output only) · High quality · 2048×2048
- Official
$0.42816$0.03/ image
Official image price estimate (output only) · High quality · 2048×2048
Channel: image
- Media output/ image1K · Official image price estimate (output only) · High quality · 1024×1024
- Official
$0.21072$0.02/ image
Official image price estimate (output only) · High quality · 1024×1024
- Media output/ image4K · Official image price estimate (output only) · High quality · 3840×2160
- Official
$0.40026$0.05/ image
Official image price estimate (output only) · High quality · 3840×2160
- Input/ 1M tokens
- $3.25/ 1M tokens
- Output/ 1M tokens
- $0/ 1M tokens
- Cache read/ 1M tokens
- $0.8125/ 1M tokens
- Cache write/ 1M tokens
- $0/ 1M tokens
- Media output/ 1M tokens
- $19.5/ 1M tokens
Channel: openai-direct
Use this providerOfficial prices and discounts use the same billing unit and tier.
Each price shows its own billing unit. Input, output, cache and reference media are charged separately where listed.