Model Library/Qwen3.8 Flash
Qwen3.8 Flash

Qwen3.8 Flash

qwen/qwen3.8-flash
by Qwen

Partner

Input price
$0.15/ M tokens
Output price
$0.47/ M tokens
Context window
977Ktokens
Max output
128Ktokens

Qwen3.8-Flash is Alibaba's multimodal MoE model and an early preview of the Qwen4 architecture: 125B total parameters with only 6B activated per token, plus a 51B N-gram embedding, built on GDN + QSA hybrid attention. It accepts text, image and video input across a 1M-token context and emits up to 131K tokens, with thinking mode on by default and switchable off. Built for coding, agentic workflows, visual and long-document understanding, and long-video analysis at a fraction of the cost of comparable frontier models.

Features

Serverless API

Docs

qwen/qwen3.8-flash is available via Novita's serverless API, where you pay per token. There are several ways to call the API, including OpenAI-compatible endpoints with exceptional reasoning performance.

Available Serverless

Run queries immediately, pay only for usage

Input$0.15 / M Tokens
Cache Read$0.016 / M Tokens
Cache Write(5m)$0.2 / M Tokens
Output$0.47 / M Tokens
  1. Get your API key

    Sign up and create a key to run the code below. The API is OpenAI-compatible.

  2. Make your first request

    The API is OpenAI-compatible: point any OpenAI SDK at the base URL and pass this model ID.

    Base URL
    https://api.novita.ai/openaihttps://api.novita.ai/anthropic
    Model ID
    qwen/qwen3.8-flash
    API Endpoint
    chat/completionsresponses
    1from openai import OpenAI
    2
    3client = OpenAI(
    4    api_key="<Your API Key>",
    5    base_url="https://api.novita.ai/openai"
    6)
    7
    8response = client.chat.completions.create(
    9    model="qwen/qwen3.8-flash",
    10    messages=[
    11        {"role": "system", "content": "You are a helpful assistant."},
    12        {"role": "user", "content": "Hello, how are you?"}
    13    ],
    14    max_tokens=131072,
    15    temperature=0.7
    16)
    17
    18print(response.choices[0].message.content)