sub2api反代codex问题

sub2api反代codex问题 图片 1

在chatgpt2api这个项目里面注册的账号,虽然存活时间短,但持续补货也能正常使用。 直接把chatgpt2api里面的接口接入CCS再接入Codex是能正常使用的。 在网页端直接测试也是没问题的。

cdn3.ldstatic.com/original/4X/9/b/a/9bad6f29525dc33a6289a293036ae6d4cfdb7306.pngcdn3.ldstatic.com/original/4X/2/3/1/231...aca77846478c1a654fd05f6491becc293.jpeg

但是把账号导入到sub2api里面,再接入CCS,一调用就报401 Unauthorized。

cdn3.ldstatic.com/original/4X/b/4/f/b4ffde8bc0a6c27f6386a09c4cd7da1660ecd3c4.png

不接入CSS,直接在sub2api测试账号也不行。

cdn3.ldstatic.com/original/4X/b/a/e/bae0dca922eec566fbab02a81396ad1e6b633c7a.png

是sub2api调用上游的方法有问题吗?

sub2api导出账号内容是这样的:

{

“exported_at”: “2026-06-17T19:01:12Z”,

“proxies”: ,

“accounts”: [

{

“name”: “GPT #10”,

“platform”: “openai”,

“type”: “oauth”,

“credentials”: {

“access_token”: “ey…”,

“chatgpt_user_id”: “user-Su9WDV6ma5M2db9AbgfFIFD7”,

“expires_at”: “2026-06-27T06:35:47Z”,

“model_mapping”: {

“codex-auto-review”: “codex-auto-review”,

“gpt-4o-audio-preview”: “gpt-4o-audio-preview”,

“gpt-4o-realtime-preview”: “gpt-4o-realtime-preview”,

“gpt-5.2”: “gpt-5.2”,

“gpt-5.2-2025-12-11”: “gpt-5.2-2025-12-11”,

“gpt-5.2-chat-latest”: “gpt-5.2-chat-latest”,

“gpt-5.2-pro”: “gpt-5.2-pro”,

“gpt-5.2-pro-2025-12-11”: “gpt-5.2-pro-2025-12-11”,

“gpt-5.3-codex”: “gpt-5.3-codex”,

“gpt-5.3-codex-spark”: “gpt-5.3-codex-spark”,

“gpt-5.4”: “gpt-5.4”,

“gpt-5.4-2026-03-05”: “gpt-5.4-2026-03-05”,

“gpt-5.4-mini”: “gpt-5.4-mini”,

“gpt-5.5”: “gpt-5.5”,

“gpt-image-1”: “gpt-image-1”,

“gpt-image-1.5”: “gpt-image-1.5”,

“gpt-image-2”: “gpt-image-2”

}

},

“extra”: {

“access_token_sha256”: “eec8796301432845695408a078b39960b00e87c69edc52060628dc6b85d7be66”,

“import_source”: “codex_session”,

“imported_at”: “2026-06-17T18:40:37Z”,

“openai_oauth_responses_websockets_v2_enabled”: false,

“openai_oauth_responses_websockets_v2_mode”: “off”,

“privacy_mode”: “training_off”

},

“concurrency”: 10,

“priority”: 1,

“rate_multiplier”: 1,

“expires_at”: 1782542147,

“auto_pause_on_expired”: true

}

]

}

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论