Skip to content
AlibabaChatqwen3-coder-flash

Qwen3 Coder Flash

Qwen3 Coder Flash for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.

Explore Qwen3 Coder Flash for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses through the unified API. Supported interfaces and current availability are shown below.

  • OpenAI-style Chat Completions
  • Anthropic-style Messages
  • OpenAI-style Responses

Model details

Context window
998K tokens
Max output
66K tokens
Input
Text
Output
Text
Capabilities
Tool calling, Streaming, JSON output
Interfaces
OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses

Pricing

Prices use the units shown below. No gateway fees. Usage, size and model options may affect the total.

Qwen3 Coder Flash pricing.
MetricPrice
/ 1M input tokens$0.3
/ 1M output tokens$1.5
/ 1M cached input tokens$0.06
/ 1M cache write tokens (5 min)$0.375
/ 1M input tokens · Up to 32K input tokens$0.3
/ 1M output tokens · Up to 32K input tokens$1.5
/ 1M cached input tokens · Up to 32K input tokens$0.06
/ 1M cache write tokens (5 min) · Up to 32K input tokens$0.375
/ 1M input tokens · Up to 128K input tokens$0.5
/ 1M output tokens · Up to 128K input tokens$2.5
/ 1M cached input tokens · Up to 128K input tokens$0.1
/ 1M cache write tokens (5 min) · Up to 128K input tokens$0.625
/ 1M input tokens · Up to 256K input tokens$0.8
/ 1M output tokens · Up to 256K input tokens$4
/ 1M cached input tokens · Up to 256K input tokens$0.16
/ 1M cache write tokens (5 min) · Up to 256K input tokens$1
/ 1M input tokens · Above 256K input tokens$1.6
/ 1M output tokens · Above 256K input tokens$9.6
/ 1M cached input tokens · Above 256K input tokens$0.32
/ 1M cache write tokens (5 min) · Above 256K input tokens$2

Why teams pick it

  • Qwen3 Coder Flash for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.

Call Qwen3 Coder Flash

Qwen3 Coder Flash answers on any of the APIs below — pick the one your code already speaks and just swap in your Cloakray key.

/v1/chat/completionsOpenAI-style Chat Completions · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/chat/completions \
  -H "Authorization: Bearer ckr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "qwen3-coder-flash",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'
/v1/messagesAnthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP
curl https://api.cloakray.com/v1/messages \
  -H "Authorization: Bearer ckr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "qwen3-coder-flash",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'
/v1/responsesOpenAI-style Responses · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/responses \
  -H "Authorization: Bearer ckr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "qwen3-coder-flash",
  "input": "Hello"
}'

Conversation compaction is also available at POST /v1/responses/compact.

More from Alibaba