30% off GPT Image API

Get an AI/ML API key and call GPT Image 2.6 Flare and three more GPT Image models for 30% less.

AI/ML API
Model: GPT Image 2.6 FlareGPT Image 2.6 SunburstGPT Image 2.5 FlareGPT Image 2.5 Sunburst
Choose a GPT Image model
Per 1M tokens, input / image output
GPT Image 2.6 Flare
$5.00 / $30.00$3.50 / $21.00−30%
openai/gpt-image-2.6-flare
GPT Image 2.6 Sunburst
$5.00 / $30.00$3.50 / $21.00−30%
openai/gpt-image-2.6-sunburst
GPT Image 2.5 Flare
$5.00 / $30.00$3.50 / $21.00−30%
openai/gpt-image-2.5-flare
GPT Image 2.5 Sunburst
$5.00 / $30.00$3.50 / $21.00−30%
openai/gpt-image-2.5-sunburst

Trusted by top teams

  • Adobe
  • Washington State University
  • NVIDIA
  • ByteDance
  • Alibaba
  • Poolside
  • MiniMax
  • Open Claude
  • RAGFlow
  • Zero

0% markup on AI models and tools

No markup on AI models or tools

Pay the same price as going direct to the provider.

See pricing
AI models
500+
AI providers
70+
Agentic tools
1000+
API uptime
99.99%

GPT Image API pricing

GPT Image models on AI/ML API, priced per 1M tokens.

GPT Image models on AI/ML API with prices per 1M tokens
Model Type Use it for Input Output Context
GPT Image 2.6 Flare−30%openai/gpt-image-2.6-flare Image Image generation and editing $3.50 $5.00/ 1M tokens$21.00 $30.00/ 1M tokens —
GPT Image 2.6 Sunburst−30%openai/gpt-image-2.6-sunburst Image Image generation and editing $3.50 $5.00/ 1M tokens$21.00 $30.00/ 1M tokens —
GPT Image 2.5 Flare−30%openai/gpt-image-2.5-flare Image Code already built on 2.5 Flare $3.50 $5.00/ 1M tokens$21.00 $30.00/ 1M tokens —
GPT Image 2.5 Sunburst−30%openai/gpt-image-2.5-sunburst Image Code already built on 2.5 Sunburst $3.50 $5.00/ 1M tokens$21.00 $30.00/ 1M tokens —

How to get your GPT Image API key

  1. Create your AI/ML API account

    Sign up with Google, GitHub or email. If you already have an account, log in.

    Screenshot of the AI/ML API sign-up page: Create your account, with Continue with Google, Continue with GitHub and an email field.
  2. Add credit

    Open Billing and add funds. You pay as you go and each request draws on this balance.

  3. Create your GPT Image API key

    Open API keys and choose Create API Key. Name it, set a spending limit and store it on your server.

  4. Send your first request

    Open the Playground, pick a GPT Image model and type a prompt. To call it from code, use your key with a supported SDK.

Works with your
existing AI stack

- OPENAI_API_KEY- ANTHROPIC_API_KEY- GEMINI_API_KEY+ AIML_API_KEY

Use GPT, Claude and other AI models with the SDK. Switch models without building a separate integration.

AI plans that grow with you

Start small and scale on the same API as your traffic grows

Pay as you go

From $20

Best for

  • Production projects
  • Fast iteration & scaling
  • Startups & indie devs

What's included

  • Access to all models
  • No usage limits
  • Access to Playground
  • Pay with crypto
  • Pay only for what you use
  • Priority human support

Enterprise

Custom

Best for

  • High-volume workloads
  • Custom infrastructure
  • Enterprise & regulated use

What's included

  • Dedicated servers
  • Custom / private models
  • Unlimited RPM & TPM
  • Extended data storage
  • Shared Slack channel
  • Team training & integration
  • Personal account manager
  • Any feature on request

GPT Image API FAQ

  1. Create an AI/ML API account, add credit, then open API keys and choose Create API Key. The same key calls every GPT Image model. Follow the setup guide.

  2. No. You get an AI/ML API key and call GPT Image through api.aimlapi.com. A key from the OpenAI Platform works only with OpenAI's own API, and one can't replace the other.

  3. You pay per token from your AI/ML API balance. Every GPT Image model here is 30% off: $3.50 for 1M input tokens instead of $5, and $21 for 1M image output tokens instead of $30. See all GPT Image prices.

  4. Yes. Set base_url to https://api.aimlapi.com/v1 and pass your AI/ML API key; GPT Image model IDs start with openai/. See supported SDKs.

  5. Add https://mcp.aimlapi.com/mcp as a remote MCP server and sign in through the browser. Your agent can then run AI/ML API models and check your balance. Read the MCP guide.

  6. GPT Image 2.6 Flare or 2.6 Sunburst for new projects, the 2.5 models for code already built on them.

  7. Store the key in a server-side environment variable. Keep it out of browser code and public repositories, and set a spending limit in your account.

Start building with GPT Image