Image Generation Models
Model rankings updated based on real usage data.
Models are ranked by total prompt and completion tokens processed through the OpenRouter API over the trailing 7 days. Showing the top 12 models. Rankings measure usage on OpenRouter and reflect adoption, not model quality or benchmark performance.
Image generation models create images from text prompts, and most also accept reference images. Image API models take a prompt at POST /api/v1/images and return the image in the response. Others generate images through chat completions. The current top models are Nano Banana 2.1, Nano Banana 2 (Gemini 3.1 Flash Image), and GPT Image 2.5 Sunburst. Pricing is per image, megapixel, or token depending on the model. Call GET /api/v1/images/models to see which models the Image API serves and their supported resolutions and aspect ratios, and see the image generation guide for the request format.
Image Generation Models on OpenRouter
Frequently asked questions
Send POST /api/v1/images with the model slug, your prompt, and "response_format": "url" to receive a signed download URL in data[].url (expires after 24 hours; check data[].b64_json when url is absent, such as under zero data retention or storage fallback, or omit response_format for inline base64). media_type identifies the image format when known, and usage.cost reports the request cost when available. Models that are not on the Image API return images through chat completions instead. The image generation guide covers the full request format.
Listings with published pricing show their price in the unit the provider bills: per image, per megapixel, or per token, and some models price resolution tiers such as 2K and 4K separately. Completed generations are billed for the full image output, so compare prices in the same unit before you choose.
Yes. Pass reference images in input_references as HTTP(S) URLs or base64 data URLs to guide generation from an existing image. Models that accept image input list image in their input_modalities, and the number of references accepted varies by provider.
Call GET /api/v1/images/models for the Image API catalog, then append /endpoints to a model's path (GET /api/v1/images/models/author/slug/endpoints) for each endpoint's resolution tiers, aspect ratios, and pricing lines. In the request, set resolution and aspect_ratio, or the size shorthand. Providers clamp aspect_ratio to the ratios they support, but explicit pixel sizes are provider-dependent: some providers reject them, so check the model's supported_parameters first.
No. One OpenRouter API key works for every image model on this page and for every other model on OpenRouter. Create a key on your API keys page.