Files
ragflow/conf/models/cometapi.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

158 lines
2.9 KiB
JSON

{
"name": "CometAPI",
"url": {
"default": "https://api.cometapi.com"
},
"url_suffix": {
"chat": "v1/chat/completions",
"models": "api/models",
"embedding": "v1/embeddings",
"balance": "https://query.cometapi.com/user/quota",
"tts": "v1/audio/speech",
"asr": "v1/audio/transcriptions"
},
"class": "cometapi",
"models": [
{
"name": "gpt-5.5",
"content_length": 1050000,
"max_output": 128000,
"model_types": [
"chat",
"vision"
],
"thinking": {
"default_value": true,
"clear_thinking": true
},
"tools": {
"support": true
}
},
{
"name": "gpt-5.4-mini",
"content_length": 400000,
"max_output": 128000,
"model_types": [
"chat",
"vision"
],
"thinking": {
"default_value": true,
"clear_thinking": true
},
"tools": {
"support": true
}
},
{
"name": "gpt-5",
"content_length": 400000,
"max_output": 128000,
"model_types": [
"chat",
"vision"
],
"thinking": {
"default_value": true,
"clear_thinking": true
},
"tools": {
"support": true
}
},
{
"name": "gpt-4o",
"content_length": 128000,
"max_output": 16384,
"model_types": [
"chat",
"vision"
],
"tools": {
"support": true
}
},
{
"name": "claude-sonnet-4-6",
"content_length": 1000000,
"max_output": 128000,
"model_types": [
"chat",
"vision"
],
"tools": {
"support": true
}
},
{
"name": "gemini-3-pro-preview",
"content_length": 1048576,
"max_output": 65536,
"model_types": [
"chat",
"vision"
],
"tools": {
"support": true
}
},
{
"name": "deepseek-v3.2",
"content_length": 131072,
"max_output": 8192,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "qwen3-235b-a22b",
"content_length": 131072,
"max_output": 32768,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "text-embedding-3-small",
"max_tokens": 8191,
"model_types": [
"embedding"
]
},
{
"name": "text-embedding-3-large",
"max_tokens": 8191,
"model_types": [
"embedding"
]
},
{
"name": "text-embedding-ada-002",
"max_tokens": 8191,
"model_types": [
"embedding"
]
},
{
"name": "whisper-1",
"model_types": [
"asr"
]
},
{
"name": "tts-1",
"max_tokens": 8192,
"model_types": [
"tts"
]
}
]
}