Files
ragflow/conf/models/tokenhub.json
ちー bb6cfc14e6 feat[go]: implement provider: TokenHub (#15159)
### What problem does this PR solve?

implement provider TokenHub

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2026-05-25 16:02:50 +08:00

75 lines
1.2 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",
"max_tokens": 128000,
"model_types": [
"chat",
"vision"
]
},
{
"name": "gpt-4o",
"max_tokens": 128000,
"model_types": [
"chat",
"vision"
]
},
{
"name": "gpt-4",
"max_tokens": 8191,
"model_types": [
"chat"
]
},
{
"name": "gpt-4-turbo",
"max_tokens": 8191,
"model_types": [
"chat"
]
},
{
"name": "claude-3-5-sonnet",
"max_tokens": 8192,
"model_types": [
"chat",
"vision"
]
},
{
"name": "gemini-1.5-pro",
"max_tokens": 1048576,
"model_types": [
"chat"
],
"thinking": {
"default_value": true,
"clear_thinking": true
}
},
{
"name": "gemini-1.5-flash",
"max_tokens": 1048576,
"model_types": [
"chat"
],
"thinking": {
"default_value": true,
"clear_thinking": true
}
}
]
}