Qwen3.8 Omni Flash API

Omni-modal reasoner that reads text, images, audio, and video and answers in text, with a 1M token context, thinking, and native web search.

Alibaba CloudText Generation1M contextReleased Sep 17, 2026SingaporeProprietary EndpointNew

About Qwen3.8 Omni Flash

Omni-modal reasoner that reads text, images, audio, and video and answers in text, with a 1M token context, thinking, and native web search.

Supports text, image, audio, and video input, thinking mode with enable_thinking and thinking_budget up to 262144 tokens, function calling, structured output including strict JSON Schema, and the tool_web_search built-in tool. Thinking tokens are billed as output tokens.

Also known as Alibaba Cloud Qwen3.8 Omni Flash

reasoningvisionaudio invideoweb searchfunction callingstructured output

Qwen3.8 Omni Flash specs

Model ID
qwen3-8-omni-flash
Author
Alibaba Cloud
Category
Text Generation
Released
Sep 17, 2026
Context window
1M tokens
Max output
131,072 tokens
Input
TextImageAudioVideo
Output
Text
Structured output
JSON Schema
Region
Singapore
Endpoints
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/qwen3-8-omni-flash:generateContent
Alternate model IDs
qwen3.8-omni-flash

Qwen3.8 Omni Flash API pricing

Live pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.

Type
Spec
Rate
Input
per 1M prompt tokens
$0.30
Output
per 1M generated tokens
$0.94
Web search
per call when invoked
$0.02
Compare on the full pricing page

How to call the Qwen3.8 Omni Flash API

Qwen3.8 Omni Flash serves the OpenAI-compatible Chat Completions API. Point any OpenAI SDK at https://api.empiriolabs.ai/v1 with your EmpirioLabs API key and use the model id qwen3-8-omni-flash. Get an API key from the EmpirioLabs dashboard.

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3-8-omni-flash",
    "messages": [
      {"role": "user", "content": "Write a haiku about the ocean."}
    ]
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    base_url="https://api.empiriolabs.ai/v1",
    api_key="YOUR_EMPIRIOLABS_API_KEY",
)

response = client.chat.completions.create(
    model="qwen3-8-omni-flash",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
Full Qwen3.8 Omni Flash API reference

Qwen3.8 Omni Flash API parameters

Request parameters supported by the Qwen3.8 Omni Flash API on EmpirioLabs. Defaults apply when a field is omitted.

ParameterTypeDefaultRange / valuesDescription
temperaturenumber0.70 to 2Sampling temperature. 0 is deterministic and 2 is maximum randomness.
top_pnumber0.90 to 1Nucleus sampling probability mass. Lower values make outputs more focused.
max_tokensnumber40961 to 131072Maximum output tokens.
stopstring--Up to 4 strings where the model will stop generating further tokens.
enable_thinkingbooleantrue-Enable reasoning before answering.
reasoning_effortenummediumnone, low, medium, high, maxReasoning effort level. none disables thinking. low, medium, high, and max set bounded thinking budgets sized to the selected model.
thinking_budgetnumber327681 to 262144Maximum tokens reserved for reasoning when thinking is enabled.
vl_high_resolution_imagesbooleantrue-Use higher resolution processing for image inputs.
max_pixelsnumber26214404096 to 16777216Maximum pixel count per image when high resolution processing is disabled.
video_fpsnumber20.1 to 10Frames per second to sample from video inputs.
treat_images_as_videobooleanfalse-Treat a sequence of images as video frames.
tool_web_searchbooleanfalse-Search the web for real-time information. Adds $0.02 to the request cost for each invoked call.
disable_formattingbooleanfalse-Return raw provider-style output without EmpirioLabs source formatting where supported.
response_formatenum--Constrain the output to valid JSON. Use JSON mode for any JSON object, or supply a JSON Schema to force an exact response shape.

Good to know

Text, image, audio, and video input are supported, and the model replies in text. Thinking is on by default; use enable_thinking to turn it off and thinking_budget to cap it at up to 262144 tokens. Thinking tokens are billed as output tokens. Web search is an optional built-in tool exposed through tool_web_search and adds $0.02 for each invoked call; a single request can invoke it more than once, and each invoked call is billed. For audio input, pass the file as a URL or a base64 data URI. A video's soundtrack is billed as audio tokens alongside its video tokens.

Per-tool billing (usage.tool_usage)

When this model invokes built-in tools inside a single request, the response carries a normalized usage.tool_usage map alongside the token counts:

"usage": {
  "prompt_tokens": 123,
  "completion_tokens": 456,
  "cost_usd": 0.0042,
  "tool_usage": {"web_search": 3}
}

Tool counts are already factored into cost_usd and are surfaced for transparency so you can audit per-tool billing. The field is omitted when no tools were invoked.

Qwen3.8 Omni Flash API: common questions

How much does the Qwen3.8 Omni Flash API cost?

On EmpirioLabs, Qwen3.8 Omni Flash is billed pay as you go: Input $0.30 per 1M prompt tokens; Output $0.94 per 1M generated tokens; Web search $0.02 per call when invoked. The live rate card on this page always matches what the API charges.

What is the context window of Qwen3.8 Omni Flash?

Qwen3.8 Omni Flash supports a 1M-token context window with up to 131,072 output tokens per response.

Is the Qwen3.8 Omni Flash API OpenAI-compatible?

Yes. Qwen3.8 Omni Flash serves the OpenAI-compatible Chat Completions API, so existing OpenAI SDKs work by pointing base_url at https://api.empiriolabs.ai/v1 and setting the model id to qwen3-8-omni-flash.

Can I try Qwen3.8 Omni Flash in the browser before integrating?

Yes. The EmpirioLabs playground runs Qwen3.8 Omni Flash in the browser with the same parameters the API exposes, so you can test prompts before writing code.

How do I get a Qwen3.8 Omni Flash API key?

Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make.

Ready to use better endpoints?

Check out our pricing or reach out if you want your own model deployed on our stack.