OpenAI

dall-e-3

OpenAI 图片 DALL·E 3

Coming soon through the YTokenHub OpenAI-compatible endpoint /v1/chat/completions , billed by token usage.

Billing mode
per image
This model is not billed per token; it is billed perimages.
Unit price
CNY0.04
CNY / images

Request examples

curl http://www.yziss.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-xxxxxxxx" \
  -d '{
    "model": "dall-e-3",
    "messages": [{"role": "user", "content": "Hello"}],
    "stream": true
  }'
Pricing rules
  • Unit price: CNY / 1K tokens, with input and output priced separately.
  • Formula:input tokens ÷ 1000 × Input price + output tokens ÷ 1000 × Output price。
  • You are only charged when the call succeeds. On upstream failure the gateway fails over to other channels, and a total failure is never charged.
  • Supports stream=true (SSE streaming) and stream=false (returned in a single response).
  • Results keep 6 decimal places and the balance is deducted in real time. An insufficient balance returns 402。

Start building with this model

After signing up, top up in Wallet, create an API key and point the BaseURL at this site /v1 , with no changes to your OpenAI SDK code.