Openrouter 部分免费模型不支持中文请求
第一条总是 429, 第二条可以正常响应. Opus 4.6 Max/GPT-5.2 Extra High 都未能确认 bug 原因, 最后确认是不支持回答中文请求, 我手动验出来的.
curl https://openrouter.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-or-v1-xxxxxxxxxxxxxxxxxxxxxx" \
-d '{
"model": "openai/gpt-oss-120b:free",
"messages": [
{
"role": "user",
"content": "你是一个专业的本地化翻译专家"
}
]
}'
curl https://openrouter.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-or-v1-xxxxxxxxxxxxxxxxxxxxxx" \
-d '{
"model": "openai/gpt-oss-120b:free",
"messages": [
{
"role": "user",
"content": "You are a professional localization translation expert"
}
]
}'
并非携带中文就返回 429, 只要开头几句提示词是中文就返 429. 如果是英文提示词要求翻译内容, 后续内容含有中文则不会返 429. 可能是阻拦意图, 而非阻拦字符.
顺便推一下我的翻译插件: https://github.com/Project-Translation/project_translator
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.