mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 23:41:12 +08:00
### What problem does this PR solve?
```
{
"name": "glm-4-flash",
"max_tokens": 128000,
"model_types": [
"chat"
],
"tools": {
"support": true
}
}
```
```
RAGFlow(admin)> list provider 'zhipu-ai' models;
+------------+---------------+------------+---------------+----------------+-----------+-----------+
| dimensions | max_dimension | max_tokens | model_type | name | thinking | tools |
+------------+---------------+------------+---------------+----------------+-----------+-----------+
| | | 204800 | [chat] | glm-5 | supported | supported |
| | | 204800 | [chat] | glm-5-turbo | supported | supported |
```
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
341 lines
5.9 KiB
JSON
341 lines
5.9 KiB
JSON
{
|
|
"name": "ZHIPU-AI",
|
|
"url": {
|
|
"default": "https://open.bigmodel.cn/api/paas/v4"
|
|
},
|
|
"url_suffix": {
|
|
"chat": "chat/completions",
|
|
"async_chat": "async/chat/completions",
|
|
"async_result": "async-result",
|
|
"embedding": "embeddings",
|
|
"rerank": "rerank",
|
|
"ocr": "layout_parsing",
|
|
"asr": "audio/transcriptions",
|
|
"tts": "audio/speech",
|
|
"files": "files",
|
|
"models": "models"
|
|
},
|
|
"class": "glm",
|
|
"models": [
|
|
{
|
|
"name": "glm-5",
|
|
"max_tokens": 204800,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"thinking": {
|
|
"default_value": true,
|
|
"clear_thinking": true
|
|
},
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-5-turbo",
|
|
"max_tokens": 204800,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"thinking": {
|
|
"default_value": true,
|
|
"clear_thinking": true
|
|
},
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-5v-turbo",
|
|
"max_tokens": 204800,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"thinking": {
|
|
"default_value": true,
|
|
"clear_thinking": true
|
|
},
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4.7",
|
|
"max_tokens": 204800,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"thinking": {
|
|
"default_value": true,
|
|
"clear_thinking": true
|
|
},
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4.7-flashx",
|
|
"max_tokens": 204800,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"thinking": {
|
|
"default_value": true,
|
|
"clear_thinking": true
|
|
},
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4.6",
|
|
"max_tokens": 204800,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"thinking": {
|
|
"default_value": true,
|
|
"clear_thinking": true
|
|
},
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4.6v-Flash",
|
|
"max_tokens": 131072,
|
|
"model_types": [
|
|
"chat",
|
|
"vision"
|
|
],
|
|
"thinking": {
|
|
"default_value": true,
|
|
"clear_thinking": true
|
|
},
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4.5",
|
|
"max_tokens": 131072,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"thinking": {
|
|
"default_value": true,
|
|
"clear_thinking": true
|
|
},
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4.5-x",
|
|
"max_tokens": 131072,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"thinking": {
|
|
"default_value": true,
|
|
"clear_thinking": true
|
|
},
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4.5-air",
|
|
"max_tokens": 131072,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"thinking": {
|
|
"default_value": true,
|
|
"clear_thinking": true
|
|
},
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4.5-airx",
|
|
"max_tokens": 131072,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"thinking": {
|
|
"default_value": true,
|
|
"clear_thinking": true
|
|
},
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4.5-flash",
|
|
"max_tokens": 131072,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"thinking": {
|
|
"default_value": true,
|
|
"clear_thinking": true
|
|
},
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4.5v",
|
|
"max_tokens": 64000,
|
|
"model_types": [
|
|
"vision"
|
|
],
|
|
"thinking": {
|
|
"default_value": true,
|
|
"clear_thinking": true
|
|
},
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4-plus",
|
|
"max_tokens": 131072,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4-0520",
|
|
"max_tokens": 131072,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4",
|
|
"max_tokens": 131072,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4-airx",
|
|
"max_tokens": 8000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4-air",
|
|
"max_tokens": 131072,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4-flash",
|
|
"max_tokens": 131072,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4-flashx",
|
|
"max_tokens": 131072,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4-long",
|
|
"max_tokens": 1000000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "glm-4v",
|
|
"max_tokens": 2000,
|
|
"model_types": [
|
|
"vision"
|
|
]
|
|
},
|
|
{
|
|
"name": "glm-4-9b",
|
|
"max_tokens": 8192,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "embedding-2",
|
|
"max_tokens": 512,
|
|
"model_types": [
|
|
"embedding"
|
|
]
|
|
},
|
|
{
|
|
"name": "embedding-3",
|
|
"max_tokens": 512,
|
|
"model_types": [
|
|
"embedding"
|
|
]
|
|
},
|
|
{
|
|
"name": "glm-asr-2512",
|
|
"max_tokens": 4096,
|
|
"model_types": [
|
|
"asr"
|
|
]
|
|
},
|
|
{
|
|
"name": "glm-tts",
|
|
"model_types": [
|
|
"tts"
|
|
]
|
|
},
|
|
{
|
|
"name": "glm-ocr",
|
|
"model_types": [
|
|
"ocr"
|
|
]
|
|
},
|
|
{
|
|
"name": "rerank",
|
|
"model_types": [
|
|
"rerank"
|
|
]
|
|
}
|
|
]
|
|
}
|