API KEY 获取:
直达链接:https://console.bce.baidu.com/iam/#/iam/apikey/list
创建API Key,选择服务 ‘千帆ModelBuilder’
支持模型列表
模型版本 | model 参数值 |
ERNIE-4.0-8K-Latest | ernie-4.0-8k-latest |
ERNIE-4.0-8K-Preview | ernie-4.0-8k-preview |
ERNIE-4.0-8K | ernie-4.0-8k |
ERNIE-4.0-Turbo-8K-Latest | ernie-4.0-turbo-8k-latest |
ERNIE-4.0-Turbo-8K-Preview | ernie-4.0-turbo-8k-preview |
ERNIE-4.0-Turbo-8K | ernie-4.0-turbo-8k |
ERNIE-4.0-Turbo-128K | ernie-4.0-turbo-128k |
ERNIE-3.5-8K-Preview | ernie-3.5-8k-preview |
ERNIE-3.5-8K | ernie-3.5-8k |
ERNIE-3.5-128K | ernie-3.5-128k |
ERNIE-Speed-8K | ernie-speed-8k |
ERNIE-Speed-128K | ernie-speed-128k |
ERNIE-Speed-Pro-128K | ernie-speed-pro-128k |
ERNIE-Lite-8K | ernie-lite-8k |
ERNIE-Lite-Pro-128K | ernie-lite-pro-128k |
ERNIE-Tiny-8K | ernie-tiny-8k |
ERNIE-Character-8K | ernie-char-8k |
ERNIE-Character-Fiction-8K | ernie-char-fiction-8k |
ERNIE-Novel-8K | ernie-novel-8k |
DeepSeek-V3 | deepseek-v3 |
DeepSeek-R1 | deepseek-r1 |
DeepSeek-R1-Distill-Qwen-32B | deepseek-r1-distill-qwen-32b |
DeepSeek-R1-Distill-Qwen-14B | deepseek-r1-distill-qwen-14b |
DeepSeek-R1-Distill-Qwen-7B | deepseek-r1-distill-qwen-7b |
DeepSeek-R1-Distill-Qwen-1.5B | deepseek-r1-distill-qwen-1.5b |
DeepSeek-R1-Distill-Llama-70B | deepseek-r1-distill-llama-70b |
DeepSeek-R1-Distill-Llama-8B | deepseek-r1-distill-llama-8b |
OPENAI兼容接口,model填写以上参数值,接口地址为:https://api.lkeap.cloud.tencent.com/v1/chat/completions