Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions models/alibaba/qwen3.8-max.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Sources (accessed 2026-08-03):
# https://docs.qwencloud.com/token-plan/personal/token-plan-personal-overview
# https://platform.qianwenai.com/docs/token-plan/personal/token-plan-personal-overview
# https://docs.qwencloud.com/developer-guides/getting-started/text-generation-models
# https://platform.qianwenai.com/docs/developer-guides/getting-started/text-generation-models
# https://docs.qwencloud.com/developer-guides/clients-and-developer-tools/opencode
# https://platform.qianwenai.com/docs/developer-guides/clients-and-developer-tools/opencode
# https://docs.qwencloud.com/developer-guides/clients-and-developer-tools/kilo-cli
# https://platform.qianwenai.com/docs/developer-guides/clients-and-developer-tools/kilo-cli
# https://github.com/QwenLM/qwen-code/issues/7198
# https://github.com/QwenLM/qwen-code/pull/7199

name = "Qwen3.8 Max"
description = "Qwen flagship for million-token multimodal reasoning and long-horizon agentic workflows"
family = "qwen"
release_date = "2026-08-03"
last_updated = "2026-08-03"
attachment = true
reasoning = true
temperature = true
tool_call = true
open_weights = false

[limit]
context = 1_000_000
output = 131_072

[modalities]
input = ["text", "image", "video"]
output = ["text"]
35 changes: 35 additions & 0 deletions providers/alibaba-token-plan-cn/models/qwen3.8-max.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Sources (accessed 2026-08-03):
# https://platform.qianwenai.com/docs/token-plan/personal/token-plan-personal-overview
# https://platform.qianwenai.com/docs/token-plan/personal/token-plan-personal-quickstart
# https://platform.qianwenai.com/docs/developer-guides/clients-and-developer-tools/opencode
# https://platform.qianwenai.com/docs/developer-guides/clients-and-developer-tools/kilo-cli
# https://platform.qianwenai.com/docs/developer-guides/text-generation/thinking
# https://platform.qianwenai.com/docs/api-reference/chat/openai-chat
# Thinking is always enabled. In thinking mode, temperature defaults to 0.6
# and values below 0.6 are raised to 0.6. This provider uses the OpenAI-compatible
# Chat API, whose native qwen3.8 effort values are low/medium/xhigh (default
# xhigh); the standard high value is accepted as an alias and maps to xhigh.
# The OpenCode guide labels its tiers low/high/xhigh and configures a 262144-token
# thinking budget for the China endpoint. `thinking_budget` (0..262144) cannot
# be combined with `reasoning_effort`. A zero budget maps to low effort; it does
# not disable thinking. API: {"reasoning_effort":"medium"} or
# {"thinking_budget":16384}. `preserve_thinking` defaults to true, so clients must
# replay every historical `reasoning_content` value unchanged.
# structured_output: the gateway accepts response_format json_schema (probed
# 2026-07-24 on the Singapore endpoint; China shares the catalogue).

base_model = "alibaba/qwen3.8-max"
structured_output = true
reasoning_options = [
{ type = "effort", values = ["low", "medium", "xhigh"] },
{ type = "budget_tokens", min = 0, max = 262_144 },
]

[interleaved]
field = "reasoning_content"

[cost]
input = 0
output = 0
cache_read = 0
cache_write = 0
35 changes: 35 additions & 0 deletions providers/alibaba-token-plan/models/qwen3.8-max.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Sources (accessed 2026-08-03):
# https://docs.qwencloud.com/token-plan/personal/token-plan-personal-overview
# https://docs.qwencloud.com/token-plan/personal/token-plan-personal-quickstart
# https://docs.qwencloud.com/developer-guides/clients-and-developer-tools/opencode
# https://docs.qwencloud.com/developer-guides/clients-and-developer-tools/kilo-cli
# https://docs.qwencloud.com/developer-guides/text-generation/thinking
# https://docs.qwencloud.com/api-reference/chat/openai-chat
# Thinking is always enabled. In thinking mode, temperature defaults to 0.6
# and values below 0.6 are raised to 0.6. This provider uses the OpenAI-compatible
# Chat API, whose native qwen3.8 effort values are low/medium/xhigh (default
# xhigh); the standard high value is accepted as an alias and maps to xhigh.
# The OpenCode guide labels its tiers low/high/xhigh and configures a 99072-token
# thinking budget for the international endpoint. `thinking_budget` (0..262144)
# cannot be combined with `reasoning_effort`. A zero budget maps to low effort;
# it does not disable thinking. API: {"reasoning_effort":"medium"} or
# {"thinking_budget":16384}. `preserve_thinking` defaults to true, so clients must
# replay every historical `reasoning_content` value unchanged.
# structured_output: the gateway accepts response_format json_schema (probed
# 2026-07-24: strict schema request returned {"n": 7}).

base_model = "alibaba/qwen3.8-max"
structured_output = true
reasoning_options = [
{ type = "effort", values = ["low", "medium", "xhigh"] },
{ type = "budget_tokens", min = 0, max = 262_144 },
]

[interleaved]
field = "reasoning_content"

[cost]
input = 0
output = 0
cache_read = 0
cache_write = 0
Loading