CODEX如何使用CPA的号池

2026-04-11 11:521阅读0评论SEO资讯
  • 内容介绍
  • 文章标签
  • 相关推荐
问题描述:

config.toml配置文件如下

model_provider = "cliproxyapi"

model = “gpt-5.3-codex”

model_reasoning_effort = “xhigh”

[model_providers.cliproxyapi]

name = “cliproxyapi”

base_url = “http://127.0.0.1:8317/v1”

wire_api = “responses”

在CPA后台一直报401,确定auth.json中使用的是正确的apikey
image1129×635 50.2 KB

网友解答:
--【壹】--:

正常openai协议是能正常使用的,但是response就不行


--【贰】--:

terminal里设置api key试试

setx CPA_API_KEY “sk-”

config里
env_key = “CPA_API_KEY”
wire_api = “responses”


--【叁】--:

我有一部分是 401,然后其他的都正常


--【肆】--: inless427:

model_reasoning_effort = “xhigh”

model_reasoning_effort = “xhigh” 我这里填的是 high 其他跟你差不多


--【伍】--:

同样的key,在cherry里面是正常的,应该不是key的问题

不过cherry里面的response也用不了


--【陆】--:

model_provider = "custom" model = "gpt-5.4" review_model = "gpt-5.4" model_reasoning_effort = "xhigh" preferred_auth_method = "apikey" web_search = "live" disable_response_storage = true [model_providers.custom] name = "custom" base_url = "http://192.168.8.117:8181/v1" # ← 需要修改成你自己部署的 2API 地址 requires_openai_auth = true wire_api = "responses" [windows] sandbox = "unelevated"

用这个试试,sub2api用的这个很顺
应该是custom吧,模型提供者。cpa又不是厂商


--【柒】--:

你的api key没设置对吧


--【捌】--:

不行


--【玖】--:

解决了,最后发现是系统变量里面已经有了一个key,codex似乎优先读取了系统变量,将原变量删除以后,正常了

标签:快问快答
问题描述:

config.toml配置文件如下

model_provider = "cliproxyapi"

model = “gpt-5.3-codex”

model_reasoning_effort = “xhigh”

[model_providers.cliproxyapi]

name = “cliproxyapi”

base_url = “http://127.0.0.1:8317/v1”

wire_api = “responses”

在CPA后台一直报401,确定auth.json中使用的是正确的apikey
image1129×635 50.2 KB

网友解答:
--【壹】--:

正常openai协议是能正常使用的,但是response就不行


--【贰】--:

terminal里设置api key试试

setx CPA_API_KEY “sk-”

config里
env_key = “CPA_API_KEY”
wire_api = “responses”


--【叁】--:

我有一部分是 401,然后其他的都正常


--【肆】--: inless427:

model_reasoning_effort = “xhigh”

model_reasoning_effort = “xhigh” 我这里填的是 high 其他跟你差不多


--【伍】--:

同样的key,在cherry里面是正常的,应该不是key的问题

不过cherry里面的response也用不了


--【陆】--:

model_provider = "custom" model = "gpt-5.4" review_model = "gpt-5.4" model_reasoning_effort = "xhigh" preferred_auth_method = "apikey" web_search = "live" disable_response_storage = true [model_providers.custom] name = "custom" base_url = "http://192.168.8.117:8181/v1" # ← 需要修改成你自己部署的 2API 地址 requires_openai_auth = true wire_api = "responses" [windows] sandbox = "unelevated"

用这个试试,sub2api用的这个很顺
应该是custom吧,模型提供者。cpa又不是厂商


--【柒】--:

你的api key没设置对吧


--【捌】--:

不行


--【玖】--:

解决了,最后发现是系统变量里面已经有了一个key,codex似乎优先读取了系统变量,将原变量删除以后,正常了

标签:快问快答