OpenAI
Online
New
GPT-Image-2
OpenAI image generation & editing model. Text-to-image and image-to-image. Billed per token (text + image tokens).
Model ID: tokenfast/gpt-image-2
Specifications
Context Window
128K tokens
Max Output
N/A
Input Price
$7.20 / 1M
Output Price
$27.00 / 1M
Capabilities
image_generation
Vision
Price Comparison
See how much you save compared to official pricing.
| Metric | Official Price | Our Price | Savings |
|---|---|---|---|
| Input (per 1M tokens) | $8.00 | $7.20 | 10% off |
| Output (per 1M tokens) | $30.00 | $27.00 | 10% off |
Quick Start
Use this model via our OpenAI-compatible API endpoint.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.yourdomain.com/v1",
apiKey: "sk-your-api-key",
});
const response = await client.chat.completions.create({
model: "tokenfast/gpt-image-2",
messages: [
{ role: "user", content: "Hello! What can you help me with?" },
],
max_tokens: 1024,
});
console.log(response.choices[0].message.content);Pricing Summary
Input$7.20 / 1M
Output$27.00 / 1M
Provider
OpenAI
AI research and deployment company behind GPT-4o, o3, and the DALL-E image generation models.
Related Models
More from OpenAI