Qwen3.7 Flash

Qwen3.7 Flash
Alibaba Cloud · Text Generation
POST /v1/chat/completions

Fast Qwen3.7 vision-language model for text, image, video, tool use, and agentic tasks, with implicit caching and a 1M token context.

At a glance

FieldValue
Model idqwen3-7-flash
Model release date2026-07-15
Input modalitiesText, Image, Video
Output modalitiesText
Context window1M
Weight precision-
Max output tokens65,536
RegionSingapore
Featuresreasoning, vision, video, web_search, code_interpreter, function_calling, prefix_continuation, cache, agentic_coding
Native inferenceNo
NewYes
Structured outputJSON Mode
Supported endpointsPOST /v1/chat/completions, POST /v1/responses, POST /v1/messages, POST /v1beta/models/qwen3-7-flash:generateContent
Alternate model idsqwen3.7-flash

Pricing

ChargeSpecRate
Inputper 1M prompt tokens<=32K $0.03; 32K-256K $0.10; 256K-1M $0.20
Outputper 1M generated tokens<=32K $0.13; 32K-256K $0.40; 256K-1M $0.80
Implicit cache readper 1M cached input tokens<=32K $0.006; 32K-256K $0.02; 256K-1M $0.04
Web searchper request when enabled$0.03
Image Searchper call$0.03

Example request

$curl https://api.empiriolabs.ai/v1/chat/completions \
> -H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
> -H 'Content-Type: application/json' \
> -d '{"model": "qwen3-7-flash", "messages": [{"role":"user","content":"Hello"}]}'

Parameters

ParameterTypeRequiredDefaultDescription
temperaturenumberno0.7Sampling temperature. 0 is deterministic and 2 is maximum randomness. · Range: 0 – 2
top_pnumberno0.9Nucleus sampling probability mass. Lower values make outputs more focused. · Range: 0 – 1
max_tokensnumberno4096Maximum output tokens. · Range: 1 – 65536
stopstringno-Up to 4 strings where the model will stop generating further tokens.
enable_thinkingbooleannotrueEnable reasoning before answering.
reasoning_effortenumno"medium"Reasoning effort level. none disables thinking. low, medium, high, and max set bounded thinking budgets sized to the selected model. · Allowed: none, low, medium, high, max
thinking_budgetnumberno32768Maximum tokens reserved for reasoning when thinking is enabled. · Range: 1 – 131072
vl_high_resolution_imagesbooleannotrueUse higher resolution processing for image inputs.
max_pixelsnumberno2621440Maximum pixel count per image when high resolution processing is disabled. · Range: 4096 – 16777216
video_fpsnumberno2Frames per second to sample from video inputs. · Range: 0.1 – 10
treat_images_as_videobooleannofalseTreat a sequence of images as video frames.
tool_web_searchbooleannotrueSearch the web for real-time information. Adds $0.03 to the request cost for each invoked call.
tool_web_extractorbooleannotrueExtract and read content from URLs. Requires Web Search and Thinking.
tool_code_interpreterbooleannotrueRun Python code in a sandbox. Requires Thinking.
tool_web_search_imagebooleannotrueSearch the web for images from text descriptions. Adds $0.03 to the request cost for each invoked call.
tool_image_searchbooleannotrueFind similar images from an uploaded image. Adds $0.03 to the request cost for each invoked call.
response_formatenumno-Return the output as a valid JSON object (JSON mode). Describe the fields you want in your prompt.
disable_formattingbooleannofalseReturn raw provider-style output without EmpirioLabs source formatting where supported.

Notes

Token pricing is tiered by prompt size and steps up above 32K and again above 256K input tokens. Cached prompt tokens are billed at the implicit cache rate for the matching tier. Web Search, Text-to-Image Search, and Image-to-Image Search are billed only when invoked.

Text-to-Image Search and Image-to-Image Search use the Image Search pricing row. Thinking tokens are billed as output 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. Tool counts are already factored into cost_usd and are surfaced for transparency.

Variants

:variant1

FieldValue
Model idqwen3-7-flash:variant1
Model release date2026-07-15
RegionChina
Context window1M
Weight precision-
Max output tokens65,536
Featuresreasoning, vision, video, web_search, code_interpreter, function_calling, prefix_continuation, cache, agentic_coding
Native inferenceNo
Structured outputJSON Mode
Supported endpointsPOST /v1/chat/completions, POST /v1/responses, POST /v1/messages, POST /v1beta/models/qwen3-7-flash:variant1:generateContent

Pricing

ChargeSpecRate
Inputper 1M prompt tokens<=32K $0.028 (was $0.03); 32K-256K $0.083 (was $0.10); 256K-1M $0.165 (was $0.20)
Outputper 1M generated tokens<=32K $0.11 (was $0.13); 32K-256K $0.33 (was $0.40); 256K-1M $0.66 (was $0.80)
Implicit cache readper 1M cached input tokens<=32K $0.006; 32K-256K $0.017 (was $0.02); 256K-1M $0.033 (was $0.04)
Web searchper request when enabled$0.01
Image Searchper call$0.01

Parameters

ParameterTypeRequiredDefaultDescription
temperaturenumberno0.7Sampling temperature. 0 is deterministic and 2 is maximum randomness. · Range: 0 – 2
top_pnumberno0.9Nucleus sampling probability mass. Lower values make outputs more focused. · Range: 0 – 1
max_tokensnumberno4096Maximum output tokens. · Range: 1 – 65536
stopstringno-Up to 4 strings where the model will stop generating further tokens.
enable_thinkingbooleannotrueEnable reasoning before answering.
reasoning_effortenumno"medium"Reasoning effort level. none disables thinking. low, medium, high, and max set bounded thinking budgets sized to the selected model. · Allowed: none, low, medium, high, max
thinking_budgetnumberno32768Maximum tokens reserved for reasoning when thinking is enabled. · Range: 1 – 131072
vl_high_resolution_imagesbooleannotrueUse higher resolution processing for image inputs.
max_pixelsnumberno2621440Maximum pixel count per image when high resolution processing is disabled. · Range: 4096 – 16777216
video_fpsnumberno2Frames per second to sample from video inputs. · Range: 0.1 – 10
treat_images_as_videobooleannofalseTreat a sequence of images as video frames.
tool_web_searchbooleannotrueSearch the web for real-time information. Adds $0.01 to the request cost for each invoked call.
tool_web_extractorbooleannotrueExtract and read content from URLs. Requires Web Search and Thinking.
tool_code_interpreterbooleannotrueRun Python code in a sandbox. Requires Thinking.
tool_web_search_imagebooleannotrueSearch the web for images from text descriptions. Adds $0.01 to the request cost for each invoked call.
tool_image_searchbooleannotrueFind similar images from an uploaded image. Adds $0.01 to the request cost for each invoked call.
response_formatenumno-Return the output as a valid JSON object (JSON mode). Describe the fields you want in your prompt.
disable_formattingbooleannofalseReturn raw provider-style output without EmpirioLabs source formatting where supported.

Notes

China pricing is discounted versus Singapore. Token pricing is tiered by prompt size and steps up above 32K and again above 256K input tokens. Implicit cache input uses the cached-token row. Web Search, Text-to-Image Search, and Image-to-Image Search are billed only when invoked.

Text-to-Image Search and Image-to-Image Search use the Image Search pricing row. China paid tool calls are $0.01 each. Thinking tokens are billed as output 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. Tool counts are already factored into cost_usd and are surfaced for transparency.


Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/qwen3-7-flash.