feat: populate content_length and max_output from official docs (#17836)

## Summary

- Verify and populate `content_length` (context window) and `max_output`
(max generation tokens) for all **478 chat/vision models** across **47
provider configs**
- Data sourced from **official API documentation** via 12 parallel
agents + targeted web verification
- Update Go test assertions to match verified values

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
jay77721
2026-08-05 15:22:57 +08:00
committed by GitHub
parent 310275208b
commit 47ecc2a231
48 changed files with 927 additions and 450 deletions

View File

@@ -35,7 +35,8 @@
},
{
"name": "claude-opus-4-7",
"max_tokens": 200000,
"content_length": 1000000,
"max_output": 128000,
"model_types": [
"chat"
],
@@ -45,7 +46,8 @@
},
{
"name": "claude-opus-4-6",
"max_tokens": 200000,
"content_length": 1000000,
"max_output": 128000,
"model_types": [
"chat"
],
@@ -66,7 +68,8 @@
},
{
"name": "claude-haiku-4-5-20251001",
"max_tokens": 200000,
"content_length": 200000,
"max_output": 64000,
"model_types": [
"chat"
],
@@ -76,7 +79,8 @@
},
{
"name": "gpt-5.4",
"max_tokens": 400000,
"content_length": 1050000,
"max_output": 128000,
"model_types": [
"chat"
],
@@ -86,7 +90,8 @@
},
{
"name": "gpt-5.4-mini",
"max_tokens": 400000,
"content_length": 400000,
"max_output": 128000,
"model_types": [
"chat"
],
@@ -96,7 +101,8 @@
},
{
"name": "gpt-5.4-nano",
"max_tokens": 400000,
"content_length": 400000,
"max_output": 128000,
"model_types": [
"chat"
],
@@ -106,7 +112,8 @@
},
{
"name": "gpt-4o-mini",
"max_tokens": 128000,
"content_length": 128000,
"max_output": 16384,
"model_types": [
"chat"
],
@@ -116,7 +123,8 @@
},
{
"name": "Qwen/Qwen3-Max",
"max_tokens": 131072,
"content_length": 262144,
"max_output": 8192,
"model_types": [
"chat"
],
@@ -126,7 +134,8 @@
},
{
"name": "Qwen/Qwen3-Coder",
"max_tokens": 131072,
"content_length": 262144,
"max_output": 65536,
"model_types": [
"chat"
],
@@ -136,7 +145,8 @@
},
{
"name": "Qwen/Qwen3-32B",
"max_tokens": 131072,
"content_length": 131072,
"max_output": 32768,
"model_types": [
"chat"
],
@@ -146,7 +156,8 @@
},
{
"name": "Qwen/Qwen3-VL-235B-A22B-Instruct",
"max_tokens": 131072,
"content_length": 262144,
"max_output": 8192,
"model_types": [
"chat"
],
@@ -156,7 +167,8 @@
},
{
"name": "kimi-k2.6",
"max_tokens": 200000,
"content_length": 262144,
"max_output": 131072,
"model_types": [
"chat"
],
@@ -166,7 +178,8 @@
},
{
"name": "glm-5.1",
"max_tokens": 128000,
"content_length": 200000,
"max_output": 128000,
"model_types": [
"chat"
],
@@ -176,7 +189,8 @@
},
{
"name": "MiniMax-M2.7",
"max_tokens": 1000000,
"content_length": 204800,
"max_output": 128000,
"model_types": [
"chat"
],
@@ -186,7 +200,8 @@
},
{
"name": "MiniMax-M2",
"max_tokens": 1000000,
"content_length": 204800,
"max_output": 128000,
"model_types": [
"chat"
],
@@ -196,7 +211,8 @@
},
{
"name": "gemini-2.5-pro",
"max_tokens": 1000000,
"content_length": 1048576,
"max_output": 65536,
"model_types": [
"chat"
],
@@ -206,7 +222,8 @@
},
{
"name": "gemini-2.5-flash",
"max_tokens": 1000000,
"content_length": 1048576,
"max_output": 65536,
"model_types": [
"chat"
],