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