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
Get an AI/ML API key and call GPT Image 2.6 Flare and three more GPT Image models for 30% less.
Write a Python function that removes duplicates from a list and keeps the order.
GPT Image 2.6 FlareGPT Image 2.6 SunburstGPT Image 2.5 FlareGPT Image 2.5 Sunburst
Here is a short version. It keeps the first copy of each item:
def dedupe(items: list) -> list:
return list(dict.fromkeys(items))A dict keeps insertion order, so the items stay where they were
GPT Image is typing
Trusted by top teams
0% markup on AI models and tools
GPT Image models on AI/ML API, priced per 1M tokens.
Sign up with Google, GitHub or email. If you already have an account, log in.

Open Billing and add funds. You pay as you go and each request draws on this balance.
Open API keys and choose Create API Key. Name it, set a spending limit and store it on your server.
Open the Playground, pick a GPT Image model and type a prompt. To call it from code, use your key with a supported SDK.
- OPENAI_API_KEY- ANTHROPIC_API_KEY- GEMINI_API_KEY+ AIML_API_KEYUse GPT, Claude and other AI models with the SDK. Switch models without building a separate integration.
Start small and scale on the same API as your traffic grows
From $20
Custom
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.
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.
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.
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.
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.
GPT Image 2.6 Flare or 2.6 Sunburst for new projects, the 2.5 models for code already built on them.
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.