Skip to content
OpenAI · DALL·E

DALL-E 3 API

Access OpenAI’s DALL-E 3 image model through Openrouter API with pay-as-you-go, per-image billing.

Image generationImageAsync task
Model id
dall-e-3

DALL-E 3 API pricing

All prices in USD. Openrouter API rates compared with the official list price for the same unit.

OptionOpenrouter APIOfficialSave
DefaultDefault$0.0352$0.04−12%

Prices are per image.

What is DALL-E 3?

DALL-E 3 is OpenAI’s image model in the DALL·E family, available on Openrouter API as dall-e-3. It is an option for developers building image-generation workflows, such as creative asset tools, visual concept exploration, and content production interfaces. The supplied model facts identify its image category but do not specify supported input fields, output formats, sizes, or editing controls. The accompanying documentation covers GPT-Image-1.5, so those parameters should not be assumed to work with DALL-E 3.

Openrouter API’s Default price is $0.0352 per image, compared with the developer's list price of $0.04 per image. The default configuration is about 12% below the developer's list price. Access uses Openrouter API’s shared API key and OpenAI-compatible base URL, https://openrouterapi.ru/v1, with pay-as-you-go billing only for successful requests.

DALL-E 3 highlights

OpenAI Image Model

Access DALL-E 3, an image model from OpenAI’s DALL·E family, through Openrouter API.

Exact Model Identifier

Use dall-e-3 to identify this model. No alternative callable names are listed.

Per-Image Pricing

Openrouter API Default costs $0.0352 per image. The default configuration is about 12% below the developer's list price of $0.04 per image.

Shared API Access

Use Openrouter API’s single API key and OpenAI-compatible base URL across its model catalog. Billing applies only to successful requests.

How to call the DALL-E 3 API in 4 steps

  1. 01

    Get an API key

    Sign in to Openrouter API, top up from $50, and create an sk-ora key in the console.

  2. 02

    Set the base URL

    Use https://openrouterapi.ru/v1 as the base URL in your SDK or HTTP client.

  3. 03

    Send the request

    Call POST /v1/images/generations with "model": "dall-e-3" and the parameters below.

  4. 04

    Handle the response

    The response contains a task_id. Poll GET /v1/tasks/{task_id} until the status is completed, then download the result URLs.

curl --request POST \
  --url https://openrouterapi.ru/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "dall-e-3",
    "prompt": "An ancient castle under a starry sky",
    "size": "1:1",
    "quality": "auto",
    "n": 1
  }'

Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequired—Model name
nsfw_checkbooleanOptionalfalseWhether to run content moderation before submitting the image task.
promptstringRequired—Text description for image generation, supports both Chinese and English
sizestringOptional1:1Aspect ratio
nintegerOptional1Number of images to generate
qualitystringOptionalautoImage quality
backgroundstringOptionalautoBackground mode
moderationstringOptionalautoModeration level
output_formatstringOptionalpngOutput format
output_compressionintegerOptional—Output compression level, range 0-100
image_urlsarrayOptional—Array of reference image URLs, enables image-to-image mode when provided
mask_urlstringOptional—Mask image URL for inpainting

What you can build with DALL-E 3

Creative Asset Tools

Build an image-generation feature for teams exploring assets for campaigns or content. Confirm supported controls before designing the interface.

Visual Concept Exploration

Offer DALL-E 3 as an image-model option in a concept exploration workspace. Let users review results before selecting assets for further work.

Content Production Workflows

Add image generation to an internal content workflow, with review before publication.

Multi-Model Image Interfaces

Include dall-e-3 in an Openrouter API-powered model selector. Show its per-image price and keep model-specific options separate.

Tips for better results

  • 01

    Use the Exact ID

    Select dall-e-3 in your integration. Openrouter API lists no callable aliases.

  • 02

    Verify Model-Specific Parameters

    Check DALL-E 3 documentation before setting sizes, quality, or output formats. The supplied parameter reference belongs to GPT-Image-1.5.

  • 03

    Budget Per Image

    Use $0.0352 per image as the Openrouter API Default rate when estimating costs. Billing applies only to successful requests.

  • 04

    Confirm Response Handling

    Verify DALL-E 3’s response structure before implementing result handling. Do not assume the GPT-Image-1.5 task ID and polling workflow applies.

Limits and things to know

  • DALL-E 3 limits are not specified in the published specifications.

  • The supplied GPT-Image-1.5 documentation does not establish DALL-E 3 parameter support.

  • Supported sizes, formats, editing modes, and response behavior require model-specific verification.

DALL-E 3 API FAQ

How much does DALL-E 3 cost on Openrouter API?

Openrouter API Default costs $0.0352 per image, compared with the developer's list price of $0.04 per image. The default configuration is about 12% below the developer's list price, with billing only for successful requests.

How do I call DALL-E 3 through Openrouter API?

Use your Openrouter API key and the OpenAI-compatible base URL https://openrouterapi.ru/v1, selecting dall-e-3. Confirm the model-specific endpoint and request schema in the DALL-E 3 documentation before sending requests.

Which parameters does DALL-E 3 support?

Published information does not specify DALL-E 3 parameters. The accompanying GPT-Image-1.5 reference should not be treated as documentation for this model.

What are DALL-E 3’s image sizes and request limits?

Sizes and request limits are not specified in the supplied DALL-E 3 facts. Check the model-specific documentation before exposing size or batch controls.

Can I use DALL-E 3 images commercially?

Commercial use is subject to the model developer’s terms. Review the applicable OpenAI terms and any restrictions relevant to your intended use.

Does DALL-E 3 support the same features as GPT-Image-1.5?

Published information does not establish feature parity. GPT-Image-1.5’s documented editing, transparency, and asynchronous processing options should not be assumed to apply to DALL-E 3.

Related models

Depth: 250+ models · Minimum top-up $50

Start building with DALL-E 3

One key, pay as you go from $50, billed only for successful requests.