使用sub2api或者cpanewapi怎么把gpt5.4锁定到xhigh和fast呢
- 内容介绍
- 文章标签
- 相关推荐
新手上路,刚刚根据佬友的技术大拿指导搭建了newapi和cpa 现在不知道怎么映射到xhigh和fast 提前感谢技术大佬
网友解答:--【壹】--:
没什么特别的感觉,所以说是据说。这个就看每个人自己的感觉了
--【贰】--: intak48:
service_tier
我查问5.4它是这么回答我的 有没有生效是怎么检测的呢?
--【叁】--:
我不敢肯定,因为没有测试证据。我只能说我cpa里使用这个参数,公益站能看到推理强度显示的是xhigh,之前使用oauth的时候,我也和你一样,使用的是模型名加参数,当时还不会在cpa里设置参数。后来用公益站了,才学的。
--【肆】--:
这样啊。谢谢大佬解惑。到时候我去试试看!
--【伍】--:
佬,你的instructions提示词是干什么的呀
--【陆】--:
目前是公益站,我自建CPA的话,按你截图设置,是不是用模型名字5.4就行,不用加xhigh
--【柒】--:
我自己用的笨方法,我在 OpenCode 里用,改了配置
"provider": {
"sub2api": {
"npm": "@ai-sdk/openai",
"name": "Sub2API",
"options": {
"baseURL": "https://sub2api.example.com/v1",
"apiKey": "sk-123456"
},
"models": {
"gpt-5.4": {
"name": "GPT-5.4",
"id": "gpt-5.4",
"reasoning": true,
"temperature": false,
"tool_call": true,
"attachment": true,
"modalities": {
"input": ["text", "image", "pdf"],
"output": ["text"]
},
"limit": {
"context": 1050000,
"output": 128000
},
"options": {
"store": false,
"reasoningEffort": "xhigh",
"reasoningSummary": "auto",
"textVerbosity": "low",
"include": ["reasoning.encrypted_content"]
},
"variants": {
"none": {
"reasoningEffort": "none",
"reasoningSummary": "auto",
"textVerbosity": "low",
"include": ["reasoning.encrypted_content"]
},
"low": {
"reasoningEffort": "low",
"reasoningSummary": "auto",
"textVerbosity": "low",
"include": ["reasoning.encrypted_content"]
},
"medium": {
"reasoningEffort": "medium",
"reasoningSummary": "auto",
"textVerbosity": "low",
"include": ["reasoning.encrypted_content"]
},
"high": {
"reasoningEffort": "high",
"reasoningSummary": "auto",
"textVerbosity": "low",
"include": ["reasoning.encrypted_content"]
},
"xhigh": {
"reasoningEffort": "xhigh",
"reasoningSummary": "auto",
"textVerbosity": "low",
"include": ["reasoning.encrypted_content"]
}
}
}
}
}
}
--【捌】--: intak48:
ervice_tier这个就是开fast,同样你可以使用service_tier关
直接使用5.4这样就直接调用xhigh了嘛?不用在设置什么了?
--【玖】--:
你这个openclaw是接的本地CPA吗?并且如果你cpa接公益站,公益站已经有了xhigh,你直接使用xhigh就是了,不用特别设置,并且你看我截图,适用模型里,只写了5.4和5.3codex。要是别的名称,是无法适用到下面的参数的。
--【拾】--:
据说service_tier这个就是开fast,同样你可以使用service_tier关键字在社区里查一下
--【拾壹】--:
破限呀,你看有个CTF单词。完整内容你可以社区搜索一下
--【拾贰】--:
cpa1182×638 36 KB
cpa的配置
--【拾叁】--:
咨询一下大佬 开了fast滞后质量会下降吗
--【拾肆】--:
我是这样的,并且我在公益站的使用记录里,看到推理强度确实也是xhigh
--【拾伍】--:
image586×483 65.5 KB
调用的时候用1还是2呢
--【拾陆】--:
佬 这个fast怎么开的呢谢谢佬的讲解啊
新手上路,刚刚根据佬友的技术大拿指导搭建了newapi和cpa 现在不知道怎么映射到xhigh和fast 提前感谢技术大佬
网友解答:--【壹】--:
没什么特别的感觉,所以说是据说。这个就看每个人自己的感觉了
--【贰】--: intak48:
service_tier
我查问5.4它是这么回答我的 有没有生效是怎么检测的呢?
--【叁】--:
我不敢肯定,因为没有测试证据。我只能说我cpa里使用这个参数,公益站能看到推理强度显示的是xhigh,之前使用oauth的时候,我也和你一样,使用的是模型名加参数,当时还不会在cpa里设置参数。后来用公益站了,才学的。
--【肆】--:
这样啊。谢谢大佬解惑。到时候我去试试看!
--【伍】--:
佬,你的instructions提示词是干什么的呀
--【陆】--:
目前是公益站,我自建CPA的话,按你截图设置,是不是用模型名字5.4就行,不用加xhigh
--【柒】--:
我自己用的笨方法,我在 OpenCode 里用,改了配置
"provider": {
"sub2api": {
"npm": "@ai-sdk/openai",
"name": "Sub2API",
"options": {
"baseURL": "https://sub2api.example.com/v1",
"apiKey": "sk-123456"
},
"models": {
"gpt-5.4": {
"name": "GPT-5.4",
"id": "gpt-5.4",
"reasoning": true,
"temperature": false,
"tool_call": true,
"attachment": true,
"modalities": {
"input": ["text", "image", "pdf"],
"output": ["text"]
},
"limit": {
"context": 1050000,
"output": 128000
},
"options": {
"store": false,
"reasoningEffort": "xhigh",
"reasoningSummary": "auto",
"textVerbosity": "low",
"include": ["reasoning.encrypted_content"]
},
"variants": {
"none": {
"reasoningEffort": "none",
"reasoningSummary": "auto",
"textVerbosity": "low",
"include": ["reasoning.encrypted_content"]
},
"low": {
"reasoningEffort": "low",
"reasoningSummary": "auto",
"textVerbosity": "low",
"include": ["reasoning.encrypted_content"]
},
"medium": {
"reasoningEffort": "medium",
"reasoningSummary": "auto",
"textVerbosity": "low",
"include": ["reasoning.encrypted_content"]
},
"high": {
"reasoningEffort": "high",
"reasoningSummary": "auto",
"textVerbosity": "low",
"include": ["reasoning.encrypted_content"]
},
"xhigh": {
"reasoningEffort": "xhigh",
"reasoningSummary": "auto",
"textVerbosity": "low",
"include": ["reasoning.encrypted_content"]
}
}
}
}
}
}
--【捌】--: intak48:
ervice_tier这个就是开fast,同样你可以使用service_tier关
直接使用5.4这样就直接调用xhigh了嘛?不用在设置什么了?
--【玖】--:
你这个openclaw是接的本地CPA吗?并且如果你cpa接公益站,公益站已经有了xhigh,你直接使用xhigh就是了,不用特别设置,并且你看我截图,适用模型里,只写了5.4和5.3codex。要是别的名称,是无法适用到下面的参数的。
--【拾】--:
据说service_tier这个就是开fast,同样你可以使用service_tier关键字在社区里查一下
--【拾壹】--:
破限呀,你看有个CTF单词。完整内容你可以社区搜索一下
--【拾贰】--:
cpa1182×638 36 KB
cpa的配置
--【拾叁】--:
咨询一下大佬 开了fast滞后质量会下降吗
--【拾肆】--:
我是这样的,并且我在公益站的使用记录里,看到推理强度确实也是xhigh
--【拾伍】--:
image586×483 65.5 KB
调用的时候用1还是2呢
--【拾陆】--:
佬 这个fast怎么开的呢谢谢佬的讲解啊

