Skip to content
Runstage

Alibaba Qwen

Qwen 3.8 Flash

High-throughput 1M-context multimodal model ideal for interactive studio workflows.

Published API pricing
$0.16537 in / $0.51818 out / 1M
See all tiers
Input / 1M$0.16537
Output / 1M$0.51818
Cached / 1M$0.01764
API model ID
OpenAI-compatible APIqwen3.8-flash
Endpoint
POST /api/v1/chat/completions
Input
Text · Image
Output
Text · JSON · Tool calls
Rate
$0.16537 in / $0.51818 out / 1M
Context window
1,000,000 tokens
Sample prompt

“Design a concise 3-shot storyboard for a 10-second architectural lighting reel, returning valid JSON.”

Best for

API reference

API model ID
qwen3.8-flash
Model developer
Alibaba Qwen
Modality
Language & Reasoning
Input
Text · Image
Output
Text · JSON · Tool calls
Endpoints
POST /api/v1/chat/completionsGET /api/v1/modelsMCP runstage_chat
Infrastructure
Direct GPU fleet
Context window
1,000,000 tokens
Max output
128,000 tokens (gateway cap)
JSON schema
Structured JSON schema
Stop sequences
Supported

Request parameters

  • modelstring · required

    Exact Runstage model slug (qwen3.8-flash).

  • messagesarray · required

    OpenAI-compatible conversation array with role and content.

  • max_tokensinteger · optional

    Maximum completion tokens supported by the Runstage gateway (up to 128,000).

  • temperaturenumber · optional

    Sampling temperature controlling determinism vs. creativity (0.0 – 2.0).

Additional parameters

  • top_p
  • response_format
  • tools
  • tool_choice
  • stop

Quickstart

Copy a working request using model ID qwen3.8-flash. Check a free pre-run quote first (final cost settles on completion), then run with your Runstage API key.

Open interactive Playground
curl -X POST 'https://runstage.dev/api/v1/chat/completions' \
  -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{   "model": "qwen3.8-flash",   "max_tokens": 512,   "messages": [     {       "role": "user",       "content": "Design a concise 3-shot storyboard for a 10-second architectural lighting reel, returning valid JSON."     }   ] }'

Pricing

Billable unit and optionsRate (USD)
Input tokensPer 1,000,000 prompt tokens$0.16537
Output tokensPer 1,000,000 completion tokens (including reasoning)$0.51818
Cached input readPer 1,000,000 cached prompt tokens$0.01764
Typical studio turnExample 4,000 input + 500 output tokens$0.00092

Billing notes

  • Read live per-token pricing from GET /v1/models. Always set maxRetries: 0 on chat completions.
  • Billed per prompt and completion token from your prepaid Runstage wallet with per-key USD spend caps.

Live catalog rates on Runstage. Prepaid USD credits with per-key spend caps.

Compare in full catalog