# OpenAI Image API (GPT Image) — card for AI agents

GPT Image models for image generation and editing via Images and Responses APIs.

Maker: OpenAI · category: Image generation APIs

## Price (official page)
- Free tier: none listed
- Usage price: gpt-image-2 1024x1024: $0.006 low / $0.053 medium / $0.211 high per image
- Pricing page: https://developers.openai.com/api/docs/guides/image-generation (checked 2026-10-09)
- Note: Newest models gpt-image-2.5-sunburst and -flare: $8/1M image input, $30/1M image output tokens (Batch 50% off). gpt-image-2 standard: $8 input / $30 output per 1M image tokens. Legacy per-image tables also list GPT Image 1.5, 1 and 1 Mini.

## Connect
- npm: `npm install openai`
- PyPI: `pip install openai`
- Repository: https://github.com/openai/openai-node
- Status: All Systems Operational

## Other APIs in this category
- Gemini API image generation (Nano Banana / Imagen): https://agentgid.com/apis/google-gemini-image/agent.md
- Leonardo API: https://agentgid.com/apis/leonardo/agent.md
- Prodia: https://agentgid.com/apis/prodia/agent.md
- Recraft API: https://agentgid.com/apis/recraft/agent.md
- FLUX API: https://agentgid.com/apis/bfl-flux/agent.md

## Links
- AgentGid page: https://agentgid.com/apis/openai-gpt-image/

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
