{"id":"qwen3-5-flash","object":"model","created":1771891200,"owned_by":"alibaba","display_name":"Qwen3.5 Flash","author":"alibaba","author_name":"Alibaba Cloud","author_logo":"https://media.empiriolabs.ai/provider-logos/alibaba.png","provider":"alibaba","provider_name":"Alibaba Cloud","provider_logo":"https://media.empiriolabs.ai/provider-logos/alibaba.png","description":"Vision-language model with hybrid linear-attention plus sparse MoE, 1M context, and fast multimodal text/image/video inference.","aliases":["qwen3.5-flash"],"modality":"text","type":"chat","category":"text","category_label":null,"modality_label":null,"modalities":["text","image","video"],"input_modalities":["text","image","video"],"output_modalities":["text"],"features":["vision","web_search","code_interpreter","function_calling","reasoning"],"structured_output":"json_object","native_inference":false,"weight_precision":null,"hugging_face_id":null,"hugging_face_revision":null,"license_credit":null,"batch_supported":null,"batch_discount_pct":null,"context_window":995904,"context_length":995904,"max_output_tokens":32768,"model_released_at":"2026-02-24","is_new":false,"is_featured":false,"discount":{"label":"Save up to 10%","percent":10},"capabilities":{"streaming":true,"system_prompt":true,"web_search":true,"images":true,"audio":false,"video":true,"three_d":false,"reasoning":true},"supported_parameters":[{"name":"temperature","label":"Temperature","type":"number","description":"Sampling temperature. 0 is deterministic and 1.99 is maximum randomness.","required":false,"metadata":{},"default":0.7,"min":0,"max":1.99},{"name":"top_p","label":"Top P","type":"number","description":"Nucleus sampling probability mass. Lower values make outputs more focused.","required":false,"metadata":{},"default":0.9,"min":0,"max":1},{"name":"max_tokens","label":"Max Tokens","type":"number","description":"Maximum output tokens. When omitted, the model's own default applies.","required":false,"metadata":{},"min":1,"max":65536},{"name":"enable_thinking","label":"Enable Thinking","type":"boolean","description":"Enable reasoning before answering. A request that forces a tool call runs without reasoning unless it sets enable_thinking.","required":false,"metadata":{"forced_tool_choice_turns_thinking_off":true},"default":true},{"name":"thinking_budget","label":"Thinking Budget","type":"number","description":"Maximum tokens reserved for reasoning when thinking is enabled. When omitted, the model decides how long to reason.","required":false,"metadata":{"ui":{"step":1,"control":"slider","section":"Model"},"visible_when":{"op":"eq","field":"enable_thinking","value":true},"clear_when_hidden":true},"min":1,"max":81920},{"name":"seed","label":"Seed","type":"number","description":"Random seed for more reproducible sampling. Reusing a seed with the same request returns similar, not always identical, output.","required":false,"metadata":{"ui":{"control":"number","section":"Advanced sampling"}},"min":0,"max":2147483647},{"name":"top_k","label":"Top K","type":"number","description":"Sample only from the K most likely tokens. When omitted, the model's own default applies.","required":false,"metadata":{"ui":{"control":"number","section":"Advanced sampling"}},"min":1,"max":100},{"name":"presence_penalty","label":"Presence Penalty","type":"number","description":"Penalty for tokens that already appeared in the generated text. Positive values encourage new topics. When omitted, the model's own default applies.","required":false,"metadata":{"ui":{"step":0.01,"control":"slider","section":"Advanced sampling"}},"min":-2,"max":2},{"name":"repetition_penalty","label":"Repetition Penalty","type":"number","description":"Higher values discourage repeated phrasing, and 1 applies no penalty. When omitted, the model's own default applies. Not available when a built-in tool is on, or on /v1/responses.","required":false,"metadata":{"ui":{"step":0.01,"control":"slider","section":"Advanced sampling"},"visible_when":[{"op":"eq","field":"tool_code_interpreter","value":false},{"op":"eq","field":"tool_image_search","value":false},{"op":"eq","field":"tool_web_extractor","value":false},{"op":"eq","field":"tool_web_search","value":false},{"op":"eq","field":"tool_web_search_image","value":false}],"clear_when_hidden":true},"min":0.1,"max":2},{"name":"n","label":"Choices","type":"number","description":"Number of answers to return. Above 1 runs only on /v1/chat/completions, with enable_thinking false and without tools, web search or logprobs. The output tokens of every answer are billed.","required":false,"metadata":{"ui":{"control":"number","section":"Advanced sampling","hide_in_playground":true},"variants":[{"max":1,"when":{"op":"eq","field":"enable_thinking","value":true}}]},"default":1,"min":1,"max":4},{"name":"logprobs","label":"Logprobs","type":"boolean","description":"Return the log probabilities of the answer tokens, not the reasoning, on /v1/chat/completions. Not available when a built-in tool is on.","required":false,"metadata":{"ui":{"control":"toggle","section":"Debug"},"visible_when":[{"op":"eq","field":"tool_code_interpreter","value":false},{"op":"eq","field":"tool_image_search","value":false},{"op":"eq","field":"tool_web_extractor","value":false},{"op":"eq","field":"tool_web_search","value":false},{"op":"eq","field":"tool_web_search_image","value":false}],"clear_when_hidden":true},"default":false},{"name":"top_logprobs","label":"Top Logprobs","type":"number","description":"Return up to this many most likely alternatives for each answer token. Needs logprobs set to true.","required":false,"metadata":{"ui":{"control":"number","section":"Debug"},"visible_when":{"op":"eq","field":"logprobs","value":true},"clear_when_hidden":true},"default":0,"min":0,"max":5},{"name":"vl_high_resolution_images","label":"High Resolution Images","type":"boolean","description":"Use higher resolution processing for image inputs. Applies when no built-in tool is enabled, and not on /v1/responses.","required":false,"metadata":{},"default":true},{"name":"max_pixels","label":"Max Pixels","type":"number","description":"Maximum pixel count per image when high resolution processing is disabled.","required":false,"metadata":{"visible_when":{"op":"eq","field":"vl_high_resolution_images","value":false},"clear_when_hidden":true},"default":2621440,"min":4096,"max":16777216},{"name":"video_fps","label":"Video FPS","type":"number","description":"Frames per second to sample from video inputs.","required":false,"metadata":{},"default":2,"min":0.1,"max":10},{"name":"treat_images_as_video","label":"Treat Images as Video","type":"boolean","description":"Treat a sequence of images as video frames.","required":false,"metadata":{},"default":false},{"name":"tool_web_search","label":"Web Search","type":"boolean","description":"Search the web for real-time information. Adds $0.015 to the request cost for each invoked call. Not used when the request also has function tools, response_format or video input.","required":false,"metadata":{"hidden_when":{"op":"exists","field":"response_format"},"clear_when_hidden":true},"default":false},{"name":"tool_web_extractor","label":"Web Extractor","type":"boolean","description":"Extract and read content from URLs. Requires Web Search and Thinking. Not used when the request also has function tools, response_format or video input.","required":false,"metadata":{"hidden_when":{"op":"exists","field":"response_format"},"clear_when_hidden":true},"default":false},{"name":"tool_code_interpreter","label":"Code Interpreter","type":"boolean","description":"Run Python code in a sandbox. Requires Thinking. Not used when the request also has function tools, response_format or video input.","required":false,"metadata":{"hidden_when":{"op":"exists","field":"response_format"},"clear_when_hidden":true},"default":false},{"name":"tool_web_search_image","label":"Text-to-Image Search","type":"boolean","description":"Search the web for images from text descriptions. Adds $0.012 to the request cost for each invoked call. Not used when the request also has function tools, response_format or video input.","required":false,"metadata":{"hidden_when":{"op":"exists","field":"response_format"},"clear_when_hidden":true},"default":false},{"name":"tool_image_search","label":"Image-to-Image Search","type":"boolean","description":"Find similar images from an uploaded image. Adds $0.012 to the request cost for each invoked call. Not used when the request also has function tools, response_format or video input.","required":false,"metadata":{"hidden_when":{"op":"exists","field":"response_format"},"clear_when_hidden":true},"default":false},{"name":"parallel_tool_calls","label":"Parallel Tool Calls","type":"boolean","description":"Allow multiple tool calls in a single assistant turn. When omitted, the model's own default applies.","required":false,"metadata":{"ui":{"control":"toggle","section":"Tools"}}},{"name":"response_format","label":"Structured Output","type":"enum","description":"Return the output as a valid JSON object (JSON mode). Describe the fields you want in your prompt.","required":false,"metadata":{"control":"structured-output","so_tier":"json_object"}},{"name":"disable_formatting","label":"Disable Formatting","type":"boolean","description":"Return the answer without EmpirioLabs formatting: citations stay as plain [N] markers and no References block is added. Applies to streamed responses that use a built-in tool.","required":false,"metadata":{},"default":false}],"supported_endpoints":["POST /v1/chat/completions","POST /v1/responses","POST /v1/messages","POST /v1beta/models/qwen3-5-flash:generateContent"],"pricing":{"prompt":"0.00000009","completion":"0.000000368","image":"0","request":"0","input_cache_read":"0.00000009"},"pricing_rows":[{"spec":"per 1M prompt tokens","label":"Input","value":"$0.090 (was $0.10)"},{"spec":"per 1M generated tokens","label":"Output","value":"$0.368 (was $0.40)"},{"spec":"per call when invoked","label":"Web search","value":"$0.015"},{"spec":"per call when invoked","label":"Text-to-image search","value":"$0.012"},{"spec":"per call when invoked","label":"Image-to-image search","value":"$0.012"},{"spec":"per call when invoked","label":"Web extractor","value":"$0.00"},{"spec":"per call when invoked","label":"Code interpreter","value":"$0.00"}],"unit_pricing":[{"unit":"1m_tokens","usd":"0.09","label":"Input"},{"unit":"1m_tokens","usd":"0.368","label":"Output"},{"unit":"call","usd":"0.015","label":"Web search"},{"unit":"call","usd":"0.012","label":"Text-to-image search"},{"unit":"call","usd":"0.012","label":"Image-to-image search"},{"unit":"call","usd":"0","label":"Web extractor"},{"unit":"call","usd":"0","label":"Code interpreter"}],"limits":{"note":"**Built-in tools** (billed only when invoked)\n\n- Web search: $0.015/call\n- Web extractor: free\n- Code interpreter: free\n- Text-to-image search: $0.012/call\n- Image-to-image search: $0.012/call\n\n**Other**\n\n- Thinking tokens are billed as output tokens\n\nText-to-Image Search and Image-to-Image Search use the Image Search pricing row. Each invoked image search is billed at that listed per-call rate.","tool_usage_note":"**Per-tool billing (`usage.tool_usage`)**\n\nWhen this model invokes tools (web search, code interpreter, etc.) inside a single request, the response carries a normalized `usage.tool_usage` map alongside the token counts. The example below shows the shape, exact field names, units, and which tools appear can vary slightly per provider:\n\n```json\n\"usage\": {\n  \"prompt_tokens\": 123,\n  \"completion_tokens\": 456,\n  \"cost_usd\": 0.0042,\n  \"tool_usage\": {\"web_search\": 3, \"code_interpreter\": 1}\n}\n```\n\nThe tool counts are already factored into `cost_usd`, they are surfaced for transparency so you can audit per-tool billing. The field is omitted when no tools were invoked."},"notes":null,"chat_url":"https://platform.empiriolabs.ai/dashboard/playground?model=qwen3-5-flash","api_url":"https://docs.empiriolabs.ai/models/qwen3-5-flash","logo":"https://media.empiriolabs.ai/model-logos/qwen.png","default_params":{"temperature":0.7,"top_p":0.9,"enable_thinking":true,"n":1,"logprobs":false,"top_logprobs":0,"vl_high_resolution_images":true,"max_pixels":2621440,"video_fps":2,"treat_images_as_video":false,"tool_web_search":false,"tool_web_extractor":false,"tool_code_interpreter":false,"tool_web_search_image":false,"tool_image_search":false,"disable_formatting":false},"status":"available"}