Files
ragflow/conf/models/tokenhub.json
jay77721 47ecc2a231 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>
2026-08-05 15:22:57 +08:00

103 lines
1.8 KiB
JSON

{
"name": "TokenHub",
"url": {
"default": "https://aitok.cc/v1"
},
"url_suffix": {
"chat": "chat/completions",
"models": "models",
"embedding": "embeddings"
},
"class": "tokenhub",
"models": [
{
"name": "gpt-4o-mini",
"content_length": 128000,
"max_output": 16384,
"model_types": [
"chat",
"vision"
],
"tools": {
"support": true
}
},
{
"name": "gpt-4o",
"content_length": 128000,
"max_output": 16384,
"model_types": [
"chat",
"vision"
],
"tools": {
"support": true
}
},
{
"name": "gpt-4",
"content_length": 8192,
"max_output": 8192,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "gpt-4-turbo",
"content_length": 128000,
"max_output": 4096,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "claude-3-5-sonnet",
"content_length": 200000,
"max_output": 8192,
"model_types": [
"chat",
"vision"
],
"tools": {
"support": true
}
},
{
"name": "gemini-1.5-pro",
"content_length": 2097152,
"max_output": 8192,
"model_types": [
"chat"
],
"thinking": {
"default_value": true,
"clear_thinking": true
},
"tools": {
"support": true
}
},
{
"name": "gemini-1.5-flash",
"content_length": 1048576,
"max_output": 8192,
"model_types": [
"chat"
],
"thinking": {
"default_value": true,
"clear_thinking": true
},
"tools": {
"support": true
}
}
]
}