Verified 2026-11-18 · rates follow the live catalog

Qwen API: models, prices and how to call them

3 Qwen models are in the catalog, from Qwen3.8 27b at $0.0012 for one request to Qwen3.5 at $0.0072, a 5.9× spread inside one family. Prices are what each model bills at its most expensive hour of the day. One request is a 20,000-token prompt with a 1,000-token reply and nothing cached, an illustration and not a measurement of your traffic.

Qwen models and what a request costs

Qwen models: rates per 1M tokens, and the cost of one request and of 1,000
ModelContextInput / 1MOutput / 1MCached input / 1MOne request (20,000 in, 1,000 out)1,000 requests
Qwen3.8 27b256K$0.045$0.32—$0.0012$1.22
Qwen3.8 Flash1M$0.075$0.235$0.008$0.0017$1.74
Qwen3.5256K$0.30$1.20—$0.0072$7.20

What each Qwen model accepts

Qwen models: what each one takes as input and how it reasons
ModelImage inputVideo inputTool callingReasoning tiersServing precision
Qwen3.8 27bYesNoYeslow, medium, xhighFP8
Qwen3.8 FlashYesYesYes——
Qwen3.5NoNoYes—BF16

Published Qwen discounts

These models publish a discount against their list price:

Each model's page shows its list price, its rates and its schedule.

Calling a Qwen model

Create an account, make a key in the dashboard and send it as a bearer token. Between model families, only the model field changes.

curl https://api.openference.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENFERENCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "Qwen3.8 Flash",
       "messages": [{"role": "user", "content": "Say hello"}]}'

Send Qwen3.8 Flash exactly as written. OpenAI-format clients use https://api.openference.com/v1; Claude Code and other Anthropic-format clients use https://api.openference.com. The OpenAI-compatible API guide covers every endpoint.

Other model families

See also the cheap AI API guide, the model catalog and pricing.

Questions

How much does the Qwen API cost?

Across the 3 billed Qwen models, input runs $0.045 to $0.30 and output $0.235 to $1.20 per million tokens at the most expensive hour of the day. Qwen3.8 27b is the least expensive per request.

What is the Qwen API base URL?

https://api.openference.com/v1 for OpenAI-format clients and https://api.openference.com for Anthropic-format clients.

Do Qwen models accept images?

Some do: Qwen3.8 27b and Qwen3.8 Flash accept image input, and the other one is text-only.

Is there a free Qwen model?

Not at the moment. The least expensive billed Qwen model is Qwen3.8 27b, at $0.0012 for the request described above.

Model catalog · Pricing · Comparisons · Cost guides · Integration guides · FAQ
Guides: GLM coding plan alternative · Free AI API · LLM gateway · LLM proxy · Cheap AI API · OpenAI-compatible API
Model APIs: GLM API · DeepSeek API · Kimi API · Qwen API · MiniMax API