300 million tokens. $2.99 a month.See the subscription  

model apis · image generation

Qwen Image 2.0 API

Run Qwen Image 2.0 by Qwen through one OpenAI-compatible endpoint. Pay per use against your deeprelay balance. No instance to rent, no deployment to manage.

Available now

Qwen Image 2.0 API pricing

Live catalog rates, billed per use against your deeprelay balance, no minimums. Qwen Image 2.0 is priced per use rather than included in the $2.99-a-month flat plan.

TierRate
Serverless
Per image: $0.037

rates are read every few minutes from the live model catalog and metered per request

Call Qwen Image 2.0 in one request

Any OpenAI SDK works: set the base URL to https://api.deeprelay.ai/v1 and use your deeprelay API key.

curl
curl https://api.deeprelay.ai/v1/images/generations \
  -H "Authorization: Bearer $DEEPRELAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deeprelay/qwen-image-2.0",
    "prompt": "A watercolor painting of a data center at sunrise"
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    base_url="https://api.deeprelay.ai/v1",
    api_key="YOUR_DEEPRELAY_API_KEY",
)

image = client.images.generate(
    model="deeprelay/qwen-image-2.0",
    prompt="A watercolor painting of a data center at sunrise",
)
print(image.data[0].url)

Qwen Image 2.0 on deeprelay

Model iddeeprelay/qwen-image-2.0
ModalityImage generation
AuthorQwen
Context window
Streaming
Aliases
Flat planNot included: pay as you go

faq

Qwen Image 2.0 API questions

How much does the Qwen Image 2.0 API cost?

Qwen Image 2.0 on deeprelay currently costs $0.037 (per image), billed against your deeprelay balance as you go. There are no minimums. It is priced per use rather than included in the $2.99-a-month flat plan, which covers a named set of models.

Is the Qwen Image 2.0 API OpenAI-compatible?

Yes. Point any OpenAI SDK at https://api.deeprelay.ai/v1 with a deeprelay API key and request model "deeprelay/qwen-image-2.0". No proprietary client needed.

How does billing work?

Generation models bill per output (per image, or per second of video) at the listed rate, metered per request against your deeprelay balance.