Skip to content

Build and run agents you can see, understand and trust.

feat(model): add model cards for the latest models (#2727)

DavdGao3ce1c467a9bf
diff --git a/src/agentscope/model/_anthropic/_models/claude-fable-5-1.yaml b/src/agentscope/model/_anthropic/_models/claude-fable-5-1.yaml
new file mode 100644
index 000000000..80a0193cd
--- /dev/null
+++ b/src/agentscope/model/_anthropic/_models/claude-fable-5-1.yaml
@@ -0,0 +1,38 @@
+name: claude-fable-5-1
+label: Claude Fable 5.1
+status: active
+
+input_types:
+ - text/plain
+ - application/x-thinking
+ - image/jpeg
+ - image/png
+ - image/gif
+ - image/webp
+ - application/pdf
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+context_size: 1000000
+output_size: 128000
+
+parameter_overrides:
+ max_tokens: {"maximum": 128000}
+ # Thinking is always on here and cannot be disabled or budgeted —
+ # ``reasoning_effort`` is the only depth control it accepts.
+ thinking_enable:
+ hidden: true
+ thinking_budget:
+ hidden: true
+ thinking_mode:
+ default: adaptive
+ anyOf:
+ - enum: [adaptive]
+ type: string
+ - type: "null"
+ # Defaults to "omitted" on these models, which renders as empty thinking
+ # blocks — ask for summaries explicitly.
+ thinking_display:
+ default: summarized
diff --git a/src/agentscope/model/_dashscope/_models/deepseek-v4.1-flash.yaml b/src/agentscope/model/_dashscope/_models/deepseek-v4.1-flash.yaml
new file mode 100644
index 000000000..3b651454d
--- /dev/null
+++ b/src/agentscope/model/_dashscope/_models/deepseek-v4.1-flash.yaml
@@ -0,0 +1,28 @@
+name: deepseek-v4.1-flash
+label: DeepSeek V4.1 Flash
+status: active
+
+input_types:
+ - text/plain
+ - image/bmp
+ - image/jpeg
+ - image/png
+ - image/tiff
+ - image/webp
+ - image/heic
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+context_size: 1000000
+output_size: 393216
+
+parameter_overrides:
+ max_tokens: {"maximum": 393216}
+ # Max chain-of-thought is 393216 tokens.
+ thinking_budget: {"maximum": 393216}
+ # Voice only applies to omni-style models; hide the field for this
+ # non-omni model so the frontend popover doesn't render it.
+ voice:
+ hidden: true
diff --git a/src/agentscope/model/_dashscope/_models/glm-5.3.yaml b/src/agentscope/model/_dashscope/_models/glm-5.3.yaml
new file mode 100644
index 000000000..6511e03ce
--- /dev/null
+++ b/src/agentscope/model/_dashscope/_models/glm-5.3.yaml
@@ -0,0 +1,22 @@
+name: glm-5.3
+label: GLM 5.3
+status: active
+
+input_types:
+ - text/plain
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+context_size: 1048576
+output_size: 131072
+
+parameter_overrides:
+ max_tokens: {"maximum": 131072}
+ # Max chain-of-thought is 131072 tokens.
+ thinking_budget: {"maximum": 131072}
+ # Voice only applies to omni-style models; hide the field for this
+ # non-omni model so the frontend popover doesn't render it.
+ voice:
+ hidden: true
diff --git a/src/agentscope/model/_dashscope/_models/qwen3.8-flash.yaml b/src/agentscope/model/_dashscope/_models/qwen3.8-flash.yaml
new file mode 100644
index 000000000..3d16c1303
--- /dev/null
+++ b/src/agentscope/model/_dashscope/_models/qwen3.8-flash.yaml
@@ -0,0 +1,30 @@
+name: qwen3.8-flash
+label: Qwen3.8-Flash
+status: active
+
+input_types:
+ - text/plain
+ - application/x-thinking
+ - image/bmp
+ - image/jpeg
+ - image/png
+ - image/tiff
+ - image/webp
+ - image/heic
+ - video/mp4
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+context_size: 1000000
+output_size: 131072
+
+parameter_overrides:
+ max_tokens: {"maximum": 131072}
+ # Max chain-of-thought is 262144 tokens, independent of max_tokens.
+ thinking_budget: {"maximum": 262144}
+ # Voice only applies to omni-style models; hide the field for this
+ # non-omni model so the frontend popover doesn't render it.
+ voice:
+ hidden: true
diff --git a/src/agentscope/model/_dashscope/_models/qwen3.8-omni-flash.yaml b/src/agentscope/model/_dashscope/_models/qwen3.8-omni-flash.yaml
new file mode 100644
index 000000000..08e015888
--- /dev/null
+++ b/src/agentscope/model/_dashscope/_models/qwen3.8-omni-flash.yaml
@@ -0,0 +1,29 @@
+name: qwen3.8-omni-flash
+label: Qwen3.8-Omni-Flash
+status: active
+
+input_types:
+ - text/plain
+ - image/bmp
+ - image/jpeg
+ - image/png
+ - image/tiff
+ - image/webp
+ - image/heic
+ - audio/mp3
+ - audio/wav
+ - audio/flac
+ - video/mp4
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+context_size: 1000000
+output_size: 131072
+
+parameter_overrides:
+ max_tokens: {"maximum": 131072}
+ # Text-only output: this omni model cannot speak, so hide the voice field.
+ voice:
+ hidden: true
diff --git a/src/agentscope/model/_deepseek/_models/deepseek-flash.yaml b/src/agentscope/model/_deepseek/_models/deepseek-flash.yaml
new file mode 100644
index 000000000..e46b483f7
--- /dev/null
+++ b/src/agentscope/model/_deepseek/_models/deepseek-flash.yaml
@@ -0,0 +1,22 @@
+name: deepseek-flash
+label: DeepSeek Flash
+status: active
+
+input_types:
+ - text/plain
+ - application/x-thinking
+ - image/jpeg
+ - image/png
+ - image/gif
+ - image/webp
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+context_size: 1000000
+output_size: 384000
+
+parameter_overrides:
+ max_tokens:
+ maximum: 384000
diff --git a/src/agentscope/model/_gemini/_models/gemini-3.7-flash.yaml b/src/agentscope/model/_gemini/_models/gemini-3.7-flash.yaml
new file mode 100644
index 000000000..b4be6bf9f
--- /dev/null
+++ b/src/agentscope/model/_gemini/_models/gemini-3.7-flash.yaml
@@ -0,0 +1,25 @@
+name: gemini-3.7-flash
+label: Gemini 3.7 Flash
+status: active
+
+input_types:
+ - text/plain
+ - image/jpeg
+ - image/png
+ - image/gif
+ - image/webp
+ - audio/mp3
+ - audio/wav
+ - video/mp4
+ - application/pdf
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+context_size: 1048576
+output_size: 65536
+
+parameter_overrides:
+ max_tokens:
+ maximum: 65536
diff --git a/src/agentscope/model/_gemini/_models/gemini-3.8-flash.yaml b/src/agentscope/model/_gemini/_models/gemini-3.8-flash.yaml
new file mode 100644
index 000000000..bc1fd14fe
--- /dev/null
+++ b/src/agentscope/model/_gemini/_models/gemini-3.8-flash.yaml
@@ -0,0 +1,25 @@
+name: gemini-3.8-flash
+label: Gemini 3.8 Flash
+status: active
+
+input_types:
+ - text/plain
+ - image/jpeg
+ - image/png
+ - image/gif
+ - image/webp
+ - audio/mp3
+ - audio/wav
+ - video/mp4
+ - application/pdf
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+context_size: 1048576
+output_size: 65536
+
+parameter_overrides:
+ max_tokens:
+ maximum: 65536
diff --git a/src/agentscope/model/_ollama/_models/gemma4.yaml b/src/agentscope/model/_ollama/_models/gemma4.yaml
new file mode 100644
index 000000000..64c1fc777
--- /dev/null
+++ b/src/agentscope/model/_ollama/_models/gemma4.yaml
@@ -0,0 +1,21 @@
+name: gemma4
+label: Gemma 4 E4B
+status: active
+
+input_types:
+ - text/plain
+ - image/jpeg
+ - image/png
+ - image/gif
+ - image/webp
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+context_size: 131072
+output_size: 8192
+
+parameter_overrides:
+ max_tokens:
+ maximum: 8192
diff --git a/src/agentscope/model/_ollama/_models/qwen3.8-27b.yaml b/src/agentscope/model/_ollama/_models/qwen3.8-27b.yaml
new file mode 100644
index 000000000..4cf99bb96
--- /dev/null
+++ b/src/agentscope/model/_ollama/_models/qwen3.8-27b.yaml
@@ -0,0 +1,21 @@
+name: qwen3.8
+label: Qwen3.8 27B
+status: active
+
+input_types:
+ - text/plain
+ - image/jpeg
+ - image/png
+ - image/gif
+ - image/webp
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+context_size: 262144
+output_size: 8192
+
+parameter_overrides:
+ max_tokens:
+ maximum: 8192
diff --git a/src/agentscope/model/_openai_chat/_models/gpt-6-astra.yaml b/src/agentscope/model/_openai_chat/_models/gpt-6-astra.yaml
new file mode 100644
index 000000000..7c2fdf0d5
--- /dev/null
+++ b/src/agentscope/model/_openai_chat/_models/gpt-6-astra.yaml
@@ -0,0 +1,29 @@
+name: gpt-6-astra
+label: GPT-6 Astra
+status: active
+
+input_types:
+ - text/plain
+ - image/jpeg
+ - image/png
+ - image/gif
+ - image/webp
+ - application/pdf
+
+output_types:
+ - text/plain
+
+context_size: 1050000
+output_size: 128000
+
+parameter_overrides:
+ max_tokens:
+ maximum: 128000
+ # Reasoning happens internally and is never returned as content, so the
+ # thinking toggle has nothing to surface — reasoning_effort is the knob.
+ thinking_enable:
+ hidden: true
+ # Voice only applies to omni-style models; hide the field for this
+ # non-omni model so the frontend popover doesn't render it.
+ voice:
+ hidden: true
diff --git a/src/agentscope/model/_openai_response/_models/gpt-6-astra.yaml b/src/agentscope/model/_openai_response/_models/gpt-6-astra.yaml
new file mode 100644
index 000000000..d929531c0
--- /dev/null
+++ b/src/agentscope/model/_openai_response/_models/gpt-6-astra.yaml
@@ -0,0 +1,25 @@
+name: gpt-6-astra
+label: GPT-6 Astra
+status: active
+
+input_types:
+ - text/plain
+ - image/jpeg
+ - image/png
+ - image/gif
+ - image/webp
+ - application/pdf
+
+output_types:
+ - text/plain
+
+context_size: 1050000
+output_size: 128000
+
+parameter_overrides:
+ max_tokens:
+ maximum: 128000
+ # Reasoning happens internally and is never returned as content, so the
+ # thinking toggle has nothing to surface — reasoning_effort is the knob.
+ thinking_enable:
+ hidden: true
diff --git a/src/agentscope/model/_volcengine/_models/doubao-seed-2-1-pro-260915.yaml b/src/agentscope/model/_volcengine/_models/doubao-seed-2-1-pro-260915.yaml
new file mode 100644
index 000000000..b29545e5a
--- /dev/null
+++ b/src/agentscope/model/_volcengine/_models/doubao-seed-2-1-pro-260915.yaml
@@ -0,0 +1,19 @@
+name: doubao-seed-2-1-pro-260915
+label: Doubao Seed 2.1 Pro (260915)
+status: active
+
+input_types:
+ - text/plain
+ - application/x-thinking
+ - image/*
+ - video/*
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+# Source: https://www.volcengine.com/docs/82379/1330310
+# The official model list specifies a 1024k context window and a 256k
+# maximum answer length for doubao-seed-2-1-pro-260915.
+context_size: 1024000
+output_size: 256000
diff --git a/src/agentscope/model/_volcengine/_models/doubao-seed-2-1-turbo-260628.yaml b/src/agentscope/model/_volcengine/_models/doubao-seed-2-1-turbo-260628.yaml
new file mode 100644
index 000000000..9135282f3
--- /dev/null
+++ b/src/agentscope/model/_volcengine/_models/doubao-seed-2-1-turbo-260628.yaml
@@ -0,0 +1,19 @@
+name: doubao-seed-2-1-turbo-260628
+label: Doubao Seed 2.1 Turbo
+status: active
+
+input_types:
+ - text/plain
+ - application/x-thinking
+ - image/*
+ - video/*
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+# Source: https://www.volcengine.com/docs/82379/1330310
+# The official model list specifies a 256k context window and a 256k
+# maximum answer length for doubao-seed-2-1-turbo-260628.
+context_size: 256000
+output_size: 256000
diff --git a/src/agentscope/model/_xai/_models/grok-4.6.yaml b/src/agentscope/model/_xai/_models/grok-4.6.yaml
new file mode 100644
index 000000000..2433b59e6
--- /dev/null
+++ b/src/agentscope/model/_xai/_models/grok-4.6.yaml
@@ -0,0 +1,21 @@
+name: grok-4.6
+label: Grok 4.6
+status: active
+
+input_types:
+ - text/plain
+ - image/jpeg
+ - image/png
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+context_size: 500000
+# xAI publishes no max-output figure for any Grok model. Derived as 1/16 of
+# the context window, matching the ratio of providers that do publish one.
+output_size: 32000
+
+parameter_overrides:
+ max_tokens:
+ maximum: 32000
diff --git a/tests/model_volcengine_test.py b/tests/model_volcengine_test.py
index a62879939..312b2c4d3 100644
--- a/tests/model_volcengine_test.py
+++ b/tests/model_volcengine_test.py
@@ -644,10 +644,13 @@ class TestVolcengineModelParameters(unittest.TestCase):
def test_verified_model_card(self) -> None:
"""The versioned model ID is discoverable with Ark capabilities."""
- cards = VolcengineChatModel.list_models()
+ cards = [
+ card
+ for card in VolcengineChatModel.list_models()
+ if card.name == "doubao-seed-2-1-pro-260628"
+ ]
self.assertEqual(len(cards), 1)
- self.assertEqual(cards[0].name, "doubao-seed-2-1-pro-260628")
self.assertEqual(cards[0].context_size, 256000)
self.assertEqual(cards[0].output_size, 256000)
self.assertIn("image/*", cards[0].input_types)