类似https://oneapi-comate.baidu-int.com/ 的api端口 key是[REDACTED] 帮我找到正确的anthropic借口 并且列出模型列表
- User
类似https://oneapi-comate.baidu-int.com/ 的api端口 key是[REDACTED] 帮我找到正确的anthropic借口 并且列出模型列表
- User
你需要探测
Assistant
API地址:
https://oneapi-comate.baidu-int.com可用模型列表:
模型ID 名称 MiniMax-M2.5 MiniMax-M2.5 MiniMax-M2.7 MiniMax-M2.7 MiniMax-M2.1 MiniMax-M2.1 MiniMax-M2-Stable MiniMax-M2-Stable GLM-5 GLM-5 GLM-5-Turbo GLM-5-Turbo Claude Sonnet 4.5 Claude Sonnet 4.5 Claude Sonnet 4.6 Claude Sonnet 4.6 Claude Opus 4.5 Claude Opus 4.5 Claude Opus 4.6 Claude Opus 4.6 Claude Haiku 4.5 Claude Haiku 4.5 Kimi-K2.5 Kimi-K2.5 注意: 错误信息显示
model claude sonnet 4.6 not found in channel ARN map— 这表明该API key尚未配置Claude模型的渠道,需在平台侧配置后才能使用Claude模型。Anthropic接口:
/v1/messages(需通过https://oneapi-comate.baidu-int.com/anthropic/v1/messages访问,但当前key无权限)- User
当前key无权限? 谁和你说的
Assistant
抱歉,我重新检查一下。错误信息是:
awsModelID: model claude sonnet 4.6 not found in channel ARN map, please configure it in the channel settings这个错误是API返回的,说的是模型未在渠道配置中找到,不一定是key本身的问题。让我再试试其他模型名称格式:
Assistant
现在更清楚了。API key有效,但错误是:
当前分组 default 下对于模型 claude-sonnet-4-20250514 无可用渠道说明Claude模型未配置到你的分组下。让我测试其他模型确认key本身没问题:
Assistant
GLM-5可以正常调用。结论:
- API key本身有效
/v1/chat/completions接口可用 (OpenAI兼容格式)- Claude模型在你的分组下未配置可用渠道 — 需要联系平台管理员将Claude模型添加到
default分组,或使用已配置好的模型(如GLM-5、MiniMax等)
- User
你看一下anthropic下的list model有哪些
Assistant
/anthropic/v1/models重定向到了统一认证中心登录页,说明该端点需要浏览器认证。让我尝试其他Anthropic相关路径:
Assistant
找到了! 通过
?format=anthropic参数可以过滤出Anthropic模型:Anthropic 模型列表:
ID 名称 Claude Sonnet 4.5 Claude Sonnet 4.5 Claude Sonnet 4.6 Claude Sonnet 4.6 Claude Opus 4.5 Claude Opus 4.5 Claude Opus 4.6 Claude Opus 4.6 Claude Haiku 4.5 Claude Haiku 4.5 接口:
GET https://oneapi-comate.baidu-int.com/v1/models?format=anthropic注意: 之前测试Claude模型报错
无可用渠道,说明虽然模型列表里有这些Claude模型,但你的分组(default)下尚未配置可用的Claude渠道。- User
测试一下用这个发请求 准确的这个模型id claude-opus-4-6
Assistant
成功了! 模型ID是
Claude Opus 4.6(带空格):json{ "id": "msg_bdrk_01Vcswta6RWGp5aK4BmhyT7q", "model": "claude-opus-4-6", "choices": [{ "message": {"role": "assistant", "content": "Hi there! How are you doing today? Is"} }] }正确的模型ID:
Claude Opus 4.6
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.