WHAT NEW IN X10.29 THU

AI collections from X · 22 collections · 58,925 posts

claudeIMAGE

Self-hosted Claude API relay avoids bans by mimicking Claude Code CLI

A user says they modified request fingerprints in Sub2API to imitate the Claude Code CLI, upgraded from Pro to Max x20, and have gone over a week without a ban; a full tutorial is promised.

夙愿学长
@suyuan1711Archived 11 days agoOriginally posted 2026.10.16
Self-hosted Claude API relay avoids bans by mimicking Claude Code CLI (image 1 of 4)
Self-hosted Claude API relay avoids bans by mimicking Claude Code CLI (image 2 of 4)
Self-hosted Claude API relay avoids bans by mimicking Claude Code CLI (image 3 of 4)
Self-hosted Claude API relay avoids bans by mimicking Claude Code CLI (image 4 of 4)
夙愿学长 @suyuan1711Originally posted 2026.10.16
Open original on X

卧槽!!!自建 Claude API 中转站真的成了!请叫我 Claude 最严厉的父亲😎 账号已从 Pro 升级到 Max x20,连续超过一周没封号~ 一份 Claude 订阅,就能分给朋友、同事一起用,还能把 Claude 订阅额度接进第三方 Agent,比如 Hermes。 整体思路: 1、克隆一份 Sub2API 项目,部署到自己的服务器上 2、让 Codex 改掉项目内置的 Claude 请求指纹,让每个请求都跟 Claude Code CLI 尽量一模一样 3、加一层校验,非 Claude Code 行为的请求一律拒掉,避免泄露指纹信息 最关键的是第 2 步,如果请求指纹对不上,接入 Sub2API 就是在帮你加速封号。 完整教程我这两天写出来,部署、改指纹、接第三方Agent都会讲到, 想看的话可以先关注 mark 一波。

This post quotes another post: x.com/suyuan1711/status/2108048430803398676

x.com/suyuan1711/status/2110982802795827577Archived 2026.10.17 10:13