curl --location --request GET '/api/index/models' \
--header 'token: {{api-token}}'
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"chatModels": [
{
"id": 1,
"channel": "openai",
"name": "GPT3.5",
"logo": "http://www.php-cw.localhost/resource/image/models/gpt3.5.png",
"remarks": "",
"is_default": 1,
"is_free": 0,
"models": [
{
"support_image": 0,
"id": 1,
"name": "gpt-3.5-turbo",
"alias": "gpt-3.5-turbo",
"price": "0"
},
{
"support_image": 0,
"id": 2,
"name": "gpt-3.5-turbo-0125",
"alias": "gpt-3.5-turbo-0125",
"price": "0"
},
{
"support_image": 0,
"id": 3,
"name": "gpt-3.5-turbo-1106",
"alias": "gpt-3.5-turbo-1106",
"price": "0"
},
{
"support_image": 0,
"id": 4,
"name": "gpt-3.5-turbo-instruct",
"alias": "gpt-3.5-turbo-instruct",
"price": "0"
}
]
},
{
"id": 2,
"channel": "openai",
"name": "GPT4.0",
"logo": "http://www.php-cw.localhost/resource/image/models/gpt4.0.png",
"remarks": "",
"is_default": 1,
"is_free": 0,
"models": [
{
"support_image": 0,
"id": 200,
"name": "gpt-4",
"alias": "gpt-4",
"price": "0"
},
{
"support_image": 0,
"id": 201,
"name": "gpt-4-32k",
"alias": "gpt-4-32k",
"price": "0"
},
{
"support_image": 0,
"id": 202,
"name": "gpt-4-0613",
"alias": "gpt-4-32k-0613",
"price": "0"
},
{
"support_image": 0,
"id": 203,
"name": "gpt-4-turbo",
"alias": "gpt-4-turbo",
"price": "0"
},
{
"support_image": 0,
"id": 204,
"name": "gpt-4-turbo-2024-04-09",
"alias": "gpt-4-turbo-2024-04-09",
"price": "0"
},
{
"support_image": 0,
"id": 205,
"name": "gpt-4-turbo-preview",
"alias": "gpt-4-turbo-preview",
"price": "0"
},
{
"support_image": 0,
"id": 206,
"name": "gpt-4-0125-preview",
"alias": "gpt-4-0125-preview",
"price": "0"
},
{
"support_image": 0,
"id": 207,
"name": "gpt-4-1106-preview",
"alias": "gpt-4-1106-preview",
"price": "0"
},
{
"support_image": 1,
"id": 208,
"name": "gpt-4-vision-preview",
"alias": "gpt-4-vision-preview",
"price": "0"
},
{
"support_image": 1,
"id": 209,
"name": "gpt-4-1106-vision-preview",
"alias": "gpt-4-1106-vision-preview",
"price": "0"
},
{
"support_image": 1,
"id": 210,
"name": "gpt-4o",
"alias": "gpt-4o",
"price": "0"
},
{
"support_image": 1,
"id": 211,
"name": "gpt-4o-2024-05-13",
"alias": "gpt-4o-2024-05-13",
"price": "0"
}
]
},
{
"id": 3,
"channel": "xunfei",
"name": "讯飞星火",
"logo": "http://www.php-cw.localhost/resource/image/models/xunfei.png",
"remarks": "",
"is_default": 1,
"is_free": 0,
"models": [
{
"support_image": 0,
"id": 300,
"name": "general",
"alias": "general",
"price": "0"
},
{
"support_image": 0,
"id": 301,
"name": "generalv2",
"alias": "generalv2",
"price": "0"
},
{
"support_image": 0,
"id": 302,
"name": "generalv3",
"alias": "generalv3",
"price": "0"
},
{
"support_image": 0,
"id": 303,
"name": "generalv3.5",
"alias": "generalv3.5",
"price": "0"
}
]
},
{
"id": 4,
"channel": "zhipu",
"name": "智普清言",
"logo": "http://www.php-cw.localhost/resource/image/models/zhipu.png",
"remarks": "",
"is_default": 1,
"is_free": 0,
"models": [
{
"support_image": 0,
"id": 400,
"name": "glm-3-turbo",
"alias": "glm-3-turbo",
"price": "0"
},
{
"support_image": 1,
"id": 401,
"name": "glm-4v",
"alias": "glm-4v",
"price": "0"
},
{
"support_image": 0,
"id": 402,
"name": "glm-4",
"alias": "glm-4",
"price": "0"
}
]
},
{
"id": 5,
"channel": "baidu",
"name": "文心一言",
"logo": "http://www.php-cw.localhost/resource/image/models/baidu.png",
"remarks": "",
"is_default": 1,
"is_free": 0,
"models": [
{
"support_image": 0,
"id": 500,
"name": "ERNIE-Bot",
"alias": "ERNIE-Bot",
"price": "0"
},
{
"support_image": 0,
"id": 501,
"name": "ERNIE-Bot-turbo",
"alias": "ERNIE-Bot-turbo",
"price": "0"
},
{
"support_image": 0,
"id": 502,
"name": "ERNIE-Bot 4.0",
"alias": "ERNIE-Bot 4.0",
"price": "0"
},
{
"support_image": 0,
"id": 503,
"name": "ERNIE-Bot-8K",
"alias": "ERNIE-Bot-8K",
"price": "0"
}
]
},
{
"id": 6,
"channel": "qwen",
"name": "通义千问",
"logo": "http://www.php-cw.localhost/resource/image/models/qwen.png",
"remarks": "",
"is_default": 1,
"is_free": 0,
"models": [
{
"support_image": 0,
"id": 600,
"name": "qwen-turbo",
"alias": "qwen-turbo",
"price": "0"
},
{
"support_image": 0,
"id": 601,
"name": "qwen-max",
"alias": "qwen-max",
"price": "0"
},
{
"support_image": 0,
"id": 602,
"name": "qwen-plus",
"alias": "qwen-plus",
"price": "0"
},
{
"support_image": 0,
"id": 603,
"name": "qwen-max-longcontext",
"alias": "qwen-max-longcontext",
"price": "0"
}
]
},
{
"id": 7,
"channel": "openai",
"name": "API2d",
"logo": "http://www.php-cw.localhost/resource/image/models/api2d.png",
"remarks": "",
"is_default": 1,
"is_free": 0,
"models": [
{
"support_image": 0,
"id": 710,
"name": "gpt-3.5-turbo",
"alias": "gpt-3.5-turbo",
"price": "0"
},
{
"support_image": 0,
"id": 711,
"name": "gpt-3.5-turbo-0125",
"alias": "gpt-3.5-turbo-0125",
"price": "0"
},
{
"support_image": 0,
"id": 712,
"name": "gpt-3.5-turbo-1106",
"alias": "gpt-3.5-turbo-1106",
"price": "0"
},
{
"support_image": 0,
"id": 713,
"name": "gpt-3.5-turbo-instruct",
"alias": "gpt-3.5-turbo-instruct",
"price": "0"
},
{
"support_image": 0,
"id": 750,
"name": "gpt-4",
"alias": "gpt-4",
"price": "0"
},
{
"support_image": 0,
"id": 751,
"name": "gpt-4-32k",
"alias": "gpt-4-32k",
"price": "0"
},
{
"support_image": 0,
"id": 752,
"name": "gpt-4-0613",
"alias": "gpt-4-32k-0613",
"price": "0"
},
{
"support_image": 0,
"id": 753,
"name": "gpt-4-turbo",
"alias": "gpt-4-turbo",
"price": "0"
},
{
"support_image": 0,
"id": 754,
"name": "gpt-4-turbo-2024-04-09",
"alias": "gpt-4-turbo-2024-04-09",
"price": "0"
},
{
"support_image": 0,
"id": 755,
"name": "gpt-4-turbo-preview",
"alias": "gpt-4-turbo-preview",
"price": "0"
},
{
"support_image": 0,
"id": 756,
"name": "gpt-4-0125-preview",
"alias": "gpt-4-0125-preview",
"price": "0"
},
{
"support_image": 0,
"id": 757,
"name": "gpt-4-1106-preview",
"alias": "gpt-4-1106-preview",
"price": "0"
},
{
"support_image": 1,
"id": 758,
"name": "gpt-4-vision-preview",
"alias": "gpt-4-vision-preview",
"price": "0"
},
{
"support_image": 1,
"id": 759,
"name": "gpt-4-1106-vision-preview",
"alias": "gpt-4-1106-vision-preview",
"price": "0"
},
{
"support_image": 1,
"id": 760,
"name": "gpt-4o",
"alias": "gpt-4o",
"price": "0"
},
{
"support_image": 1,
"id": 761,
"name": "gpt-4o-2024-05-13",
"alias": "gpt-4o-2024-05-13",
"price": "0"
}
]
},
{
"id": 8,
"channel": "openai",
"name": "ChatGLM2-6B",
"logo": "http://www.php-cw.localhost/resource/image/models/zhipu.png",
"remarks": "",
"is_default": 1,
"is_free": 0,
"models": [
{
"support_image": 0,
"id": 800,
"name": "ChatGLM2-6B",
"alias": "ChatGLM2-6B",
"price": "0"
}
]
}
],
"vectorModels": [
{
"id": 210,
"channel": "openai",
"name": "text-embedding-ada-002",
"logo": "http://www.php-cw.localhost/resource/image/models/openai.png",
"remarks": "",
"is_free": 0,
"alias": "OpenAI(ada)",
"price": "0"
},
{
"id": 220,
"channel": "openai",
"name": "text-embedding-3-small",
"logo": "http://www.php-cw.localhost/resource/image/models/openai.png",
"remarks": "",
"is_free": 0,
"alias": "OpenAI(small)",
"price": "1"
},
{
"id": 230,
"channel": "openai",
"name": "text-embedding-3-large",
"logo": "http://www.php-cw.localhost/resource/image/models/openai.png",
"remarks": "",
"is_free": 0,
"alias": "OpenAI(large)",
"price": "0"
},
{
"id": 240,
"channel": "xunfei",
"name": "xunfei",
"logo": "http://www.php-cw.localhost/resource/image/models/xunfei.png",
"remarks": "",
"is_free": 0,
"alias": "科大讯飞",
"price": "0"
},
{
"id": 250,
"channel": "zhipu",
"name": "zhipu",
"logo": "http://www.php-cw.localhost/resource/image/models/zhipu.png",
"remarks": "",
"is_free": 0,
"alias": "智普清言",
"price": "0"
},
{
"id": 260,
"channel": "openai",
"name": "m3e-large",
"logo": "http://www.php-cw.localhost/resource/image/models/m3e.png",
"remarks": "",
"is_free": 0,
"alias": "M3e(large)",
"price": "0"
}
]
}
}