← All models

Qwen: Qwen 3.7 Flash
qwen/qwen3.7-flashtextVisionReasoningVideo
The fastest and cheapest model in the Qwen 3.7 line: reasoning, image input and a 1M-token context. Built for everyday work where speed and volume matter — long-text analysis, drafts, simple code.
Price in / out
Cache, read / write
Context / Max output
1M / 65.5K
Released
Jul 27, 2026
Additional rates
Above 32K prompt tokens the upstream charges more: 6.8× input, 6.2× output. Per-route rates are in the table below.
Parameters
messagesrequiredmax_tokensoptional · alias max_completion_tokensstreamtrue · falsetoolsfunction calling (OpenAI format)tool_choiceauto · none · requiredresponse_formatjson_object · json_schemaweb_search · · · providerrouting: order · only · ignore · sortstream_options{"include_usage": true}image_urlimage (data: URL)Fine-tuning · 6
temperature0–2seedoptionaltop_p0–1presence_penalty−2…2logprobstrue · falsetop_logprobs0–20How to use via API
from openai import OpenAI
client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
resp = client.chat.completions.create(
model="qwen/qwen3.7-flash",
messages=[{"role": "user", "content": "Привет"}],
temperature=0.7,
max_tokens=1024,
stream=False,
)
print(resp.choices[0].message.content)
# Стриминг: stream=True — ответ приходит чанками
for chunk in client.chat.completions.create(
model="qwen/qwen3.7-flash",
messages=[{"role": "user", "content": "Привет"}],
stream=True,
):
print(chunk.choices[0].delta.content or "", end="", flush=True)

