{"id":"qwen3-8-max","object":"model","created":1785715200,"owned_by":"alibaba","display_name":"Qwen3.8 Max","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":"Trillion-scale MoE flagship for coding, long-horizon agents, and professional work, with image and video understanding across a 1M-token context.","aliases":["qwen3.8-max"],"modality":"multimodal","type":"chat","category":"text","category_label":null,"modality_label":null,"modalities":["multimodal","text","image","video"],"input_modalities":["text","image","video"],"output_modalities":["text"],"features":["reasoning","vision","multimodal","web_search","code_interpreter","function_calling","structured_output","agentic_coding"],"structured_output":"json_schema","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":983616,"context_length":983616,"max_output_tokens":131072,"model_released_at":"2026-08-03","is_new":false,"is_featured":true,"discount":null,"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":131072},{"name":"stop","label":"Stop","type":"string","description":"Up to 4 strings where the model will stop generating further tokens.","required":false,"metadata":{"control":"stop-sequences"}},{"name":"enable_thinking","label":"Enable Thinking","type":"boolean","description":"Enable reasoning before answering.","required":false,"metadata":{"ui":{"control":"toggle","section":"Model"}},"default":true},{"name":"reasoning_effort","label":"Reasoning Effort","type":"enum","description":"Reasoning effort level. none disables thinking. low, medium, high, and max set bounded thinking budgets sized to the selected model.","required":false,"metadata":{"ui":{"control":"segmented","section":"Model"},"translate_effort_to_budget":true},"options":["none","low","medium","high","max"]},{"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":262144},{"name":"preserve_thinking","label":"Preserve Thinking","type":"boolean","description":"Include the reasoning of earlier assistant turns in the model's input on /v1/chat/completions. Return each turn's reasoning unchanged in that assistant message's reasoning_content field. The earlier reasoning is billed as input tokens. Not available when a built-in tool is on.","required":false,"metadata":{"ui":{"control":"toggle","section":"Model"},"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":true},{"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":{"ui":{"control":"toggle","section":"Vision"}},"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":{"ui":{"control":"number","section":"Vision"},"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":{"ui":{"step":0.1,"control":"slider","section":"Video"}},"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":{"ui":{"control":"toggle","section":"Video"}},"default":false},{"name":"tool_web_search","label":"Web Search","type":"boolean","description":"Search the web for real-time information. Adds $0.02 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":{"ui":{"control":"toggle","section":"Tools"},"billing":{"price_per_call":0.02},"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":{"ui":{"control":"toggle","section":"Tools"},"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":{"ui":{"control":"toggle","section":"Tools"},"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.02 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":{"ui":{"control":"toggle","section":"Tools"},"billing":{"price_per_call":0.02},"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.02 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":{"ui":{"control":"toggle","section":"Tools"},"billing":{"price_per_call":0.02},"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":"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":{"ui":{"control":"toggle","section":"Output"}},"default":false},{"name":"response_format","label":"Structured Output","type":"enum","description":"Constrain the output to valid JSON. Use JSON mode for any JSON object, or supply a JSON Schema to force an exact response shape.","required":false,"metadata":{"ui":{"control":"json","section":"Output"},"control":"structured-output","so_tier":"json_schema"}}],"supported_endpoints":["POST /v1/chat/completions","POST /v1/responses","POST /v1/messages","POST /v1beta/models/qwen3-8-max:generateContent"],"pricing":{"prompt":"0.000002","completion":"0.000006","image":"0","request":"0","input_cache_read":"0.000002"},"pricing_rows":[{"spec":"per 1M prompt tokens","label":"Input","value":"$2.00"},{"spec":"per 1M generated tokens","label":"Output","value":"$6.00"},{"spec":"per call when invoked","label":"Web search","value":"$0.02"},{"spec":"per call when invoked","label":"Text-to-image search","value":"$0.02"},{"spec":"per call when invoked","label":"Image-to-image search","value":"$0.02"},{"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":"2","label":"Input"},{"unit":"1m_tokens","usd":"6","label":"Output"},{"unit":"call","usd":"0.02","label":"Web search"},{"unit":"call","usd":"0.02","label":"Text-to-image search"},{"unit":"call","usd":"0.02","label":"Image-to-image search"},{"unit":"call","usd":"0","label":"Web extractor"},{"unit":"call","usd":"0","label":"Code interpreter"}],"limits":{"note":"Text, image, and video input are supported. Web search, web extractor, code interpreter, text-to-image search, and image-to-image search are optional built-in tools exposed through tool_* parameters. Web search, text-to-image search, and image-to-image search add $0.02 for each invoked call; web extractor and code interpreter run at no extra cost. Web extractor requires web search, and both web extractor and code interpreter require thinking. A single request can invoke a tool more than once, and each invoked call is billed. Thinking tokens are billed as output tokens. The qwen3-8-max id always serves the current Qwen3.8 Max build and moves with Alibaba's snapshot upgrades; since September 5, 2026 it serves the qwen3-8-max-0902 snapshot. Use qwen3-8-max-0902 when output must stay pinned to that exact snapshot.","tool_usage_note":"**Per-tool billing (`usage.tool_usage`)**\n\nWhen this model invokes built-in tools inside a single request, the response carries a normalized `usage.tool_usage` map alongside the token counts:\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\nTool 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."},"notes":null,"chat_url":"https://platform.empiriolabs.ai/dashboard/playground?model=qwen3-8-max","api_url":"https://docs.empiriolabs.ai/models/qwen3-8-max","logo":"https://media.empiriolabs.ai/model-logos/qwen.png","default_params":{"temperature":0.7,"top_p":0.9,"enable_thinking":true,"preserve_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"}