求问droid 的 byok + sub2api 如何使用

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

配置如下,这个配置对应的是我使用 sub2api 反代 codex 出来的,但是不知道为啥在 cli 里面识别成 opus 4.6:
image1304×518 45.3 KB
image3026×1156 198 KB

按照上面的选项发完消息后就报错:
image2378×296 22 KB

用买的中转站,模型名称符合预期,但是发消息又报 402:
image1380×412 40.6 KB
image1348×928 51.6 KB
image3008×828 103 KB
image1706×516 69 KB
抓包显示需要支付方式,而且看起来请求似乎走到官网了?:
image1920×1086 279 KB
image3026×1130 160 KB
我已经添加了支付方式的,处于 free lan
image2468×590 62.7 KB

求助大佬们,正确的配置方法是啥啊?

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

(帖子已被作者删除)


--【贰】--:

自定义模型配置文件 $HOME/.factory/settings.json

{ "customModels": [ { "model": "gpt-5.4", "id": "custom:GPT-5.4-0", "index": 0, "baseUrl": "https://icoe.pp.ua/v1", "apiKey": "sk-你的密钥", "displayName": "GPT-5.4", "maxOutputTokens": 128000, "noImageSupport": false, "provider": "openai" } ] }

启动 dro

阅读全文
问题描述:

配置如下,这个配置对应的是我使用 sub2api 反代 codex 出来的,但是不知道为啥在 cli 里面识别成 opus 4.6:
image1304×518 45.3 KB
image3026×1156 198 KB

按照上面的选项发完消息后就报错:
image2378×296 22 KB

用买的中转站,模型名称符合预期,但是发消息又报 402:
image1380×412 40.6 KB
image1348×928 51.6 KB
image3008×828 103 KB
image1706×516 69 KB
抓包显示需要支付方式,而且看起来请求似乎走到官网了?:
image1920×1086 279 KB
image3026×1130 160 KB
我已经添加了支付方式的,处于 free lan
image2468×590 62.7 KB

求助大佬们,正确的配置方法是啥啊?

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

(帖子已被作者删除)


--【贰】--:

自定义模型配置文件 $HOME/.factory/settings.json

{ "customModels": [ { "model": "gpt-5.4", "id": "custom:GPT-5.4-0", "index": 0, "baseUrl": "https://icoe.pp.ua/v1", "apiKey": "sk-你的密钥", "displayName": "GPT-5.4", "maxOutputTokens": 128000, "noImageSupport": false, "provider": "openai" } ] }

启动 dro

阅读全文