Sign up Log in
n/ai · 24d ago · Edited · 1.9k views
u/liziPlatinum3 YEARS
n/aiu/lizi 3 YEARS · 24d ago

🔥每月高达 500 $ 的编码 AI,直接逆向成 2API + 号池轮询管理台!

⚠️ 上游从 0.3.19(2026-11)起把 DeepAI Code 推理收窄到 Google/Apple 登录的账号:
邮箱密码注册的号会在 /theos / 推理端点拿到 403 social_login_required。
网关会把这类账号标记为 blocked 并跳过调度;邮箱注册链路仍能产号,但已无法推理。

👉DeepAICode2API

复用桌面端登录后写入的 API Key,无需另申请密钥;纯 Go 标准库实现,注册 → 登录 → 取 Session → 验活 → 入池 一条龙,单文件约 10 MB,零外部依赖。单号每日 200 额度,包含 [前沿的计量模型] 和 [免费不计量模型]

能力 说明
双协议 OpenAI /v1/chat/completions、/v1/responses;Anthropic /v1/messages
号池治理 分组轮询、失败换号、容量退避、按账号配额调度
账号注册 邮箱注册 → 登录 → 取 Key → 验活 → 入池,CF 临时邮箱 + 代理池
控制台 单页内嵌 UI:账号 / 密钥 / 日志 / 统计 / 注册 / 设置
安全 密钥鉴权、管理口令、同源写保护、状态文件 AES-256-GCM 可选加密
可回归 3.8k 行测试,go test -race + CI 覆盖 5 个包

一、 关键事实

环节 逆向结果
应用形态 Electron 壳(app.asar)+ 独立 server(server.asar,约 200 MB)
数据目录 T3CODE_HOME 或 ~/.deepai-code,状态目录为 <base>/userdata
凭据落盘 <stateDir>/secrets/deepai-account.bin,明文 JSON(文件权限 0600)
凭据内容 {apiKey, username, isPro},apiKey 为 UUID 格式
推理入口 POST https://api.deepai.org/deepai_code/chat/completions
Responses 入口 POST https://api.deepai.org/deepai_code/responses(仅 api=openai-responses 模型)
模型目录 GET https://api.deepai.org/deepai_code/models
配额 GET https://api.deepai.org/deepai_code/theos
用量 GET https://api.deepai.org/get_usage_summary
语音转写 POST https://api.deepai.org/speech_to_text(字段 voiceRecording)
联网搜索 POST https://api.deepai.org/deepai_code/web_search
鉴权 请求头 Api-Key: <apiKey>(不是 Authorization)
协议头 X-DeepAI-Code-Theos: 2(计费车道版本)
机器指纹 X-DeepAI-Code-Machine: sha256(原始机器 UUID),用于按天发放免费 Theos
会话粘性 X-Session-Affinity(body 里的 prompt_cache_key 也会被上游使用)
容量拒绝 409 {"error":{"code":"session_busy"}} + Retry-After
浏览器登录 GET /deepai_code/desktop_auth/?state=…&port=… → 本机 /auth-callback?code=… → POST /deepai_code/desktop_auth/exchange/

二、支持的模型

ID 名称 上下文 最大输出 Theos/次 说明
glm-5.3-flash GLM 5.3 Flash 1,048,576 131,072 0 默认模型,免费
deepseek-v4.1-flash DeepSeek V4.1 Flash 1,048,576 131,072 0 免费
mimo-2.6-flash MiMo 2.6 Flash 1,048,576 131,072 0 免费
solar-mini-4 Solar Mini 4 524,288 131,072 0 免费,纯文本
gpt-6-luna GPT-6 Luna 1,048,576 128,000 0 免费
mimo-2.6-pro MiMo 2.6 Pro 1,048,576 131,072 0 免费
crouton-alpha Crouton Alpha 1,048,576 131,072 0 免费
glyph-cluster Glyph Cluster 256,000 131,072 0 免费,纯文本
deepai-cyber DeepAI Cyber 65,536 8,192 0 免费,纯文本
glm-5.3 GLM 5.3 1,048,576 131,072 3 付费,纯文本
kimi-k3 Kimi K3 1,048,576 131,072 3 付费
muse-spark-1.3 Muse Spark 1.3 1,048,576 131,072 6 付费
gpt-6.1-sol GPT-6.1 Sol 1,048,576 128,000 10 付费
gemini-4-argon Gemini 4 Argon 1,048,576 131,072 10 付费
claude-opus-5-5 Claude Opus 5.5 1,000,000 64,000 15 付费
muse-wonder Muse Wonder 1,048,576 131,072 15 付费
claude-fable-5-1 Claude Fable 5.1 1,000,000 64,000 25 付费
gpt-6-astra GPT-6 Astra 1,048,576 128,000 50 付费,仅 /v1/responses
28
50
Log into join the discussion.
QuicksilverVPN

快银 VPN,一键连接全球节点,线路稳定、延迟低。支持 Windows、macOS 等多平台,TUN 全局模式覆盖全部应用流量。无需复杂配置,下载即用。

umami.dnsl.top Learn more

50 replies

Sort order
  1. mousebeer Bronze 24d ago

    有专门的工具吗佬

    2
  2. lizi Platinum OP 3 YEARS 24d ago

    顶部放了开源地址

    0
  3. mousebeer Bronze 24d ago

    感谢佬的分享

    0
  4. lizi Platinum OP 3 YEARS 24d ago
    0
  5. aio_liven Silver 23d ago

    今天开始参水了,opus5.5路由 claude-sonnet-4-6

    1
  6. lizi Platinum OP 3 YEARS 23d ago

    是的,甚至部分还给路由到了 crouton-alpha,上游直接走 OpenRouter 🤣

    0
  7. lizi Platinum OP 3 YEARS 22d ago

    修复了,请求头有问题

    0
  8. jakefly 💬 Gold 3 YEARS 24d ago

    谢谢大佬!!!

    0
  9. lizi Platinum OP 3 YEARS 24d ago

    更新一下,地址是这个,放错项目了 🤣
    https://github.com/2951461586/DeepAICode2API

    0
  10. jakefly 💬 Gold 3 YEARS 24d ago

    没事 根据大佬给的路线 已经成功了 :12-wanan:

    0
  11. lizi Platinum OP 3 YEARS 24d ago
    0
  12. shf_huang Platinum 3 YEARS 24d ago

    顶

    0
  13. baibai_li Silver 24d ago

    大佬,能不能直接打包好啊

    0
  14. lizi Platinum OP 3 YEARS 24d ago

    可以让 AI 部署 哥哥

    0
  15. Evan ✅ Master Never leave, never forsake 24d ago

    只看看

    0
  16. Evan ✅ Master Never leave, never forsake 24d ago

    有没有部署成功的?

    0
  17. super_man Silver 23d ago

    是不是拉闸了呀,昨晚好好的,今早起来报错说让谷歌或者苹果登录才给用了

    0
  18. lizi Platinum OP 3 YEARS 23d ago

    是的

    0
  19. Penny Silver 22d ago

    感谢佬的分享

    0
  20. Str Honorary Member Master 22d ago

    掺水严重啊,各种行为指纹全部偏离官方基准

    0
  21. lizi Platinum OP 3 YEARS 22d ago

    改了下请求头,最新版本

    0
  22. Str Honorary Member Master 20d ago

    Now it sometimes throws an error:
    ValueError: Received multimodal data but multimodal processing is not enabled. Use --enable-multimodal flag to enable multimodal processing.

    Translated by AI from 简体中文

    0
  23. lizi Platinum OP 3 YEARS 20d ago

    Just get the AI to enable it.
    Didn't you guys have the AI deploy it? 😂

    Translated by AI from 简体中文

    0
  24. Continue this thread →
  25. BearPaw Master 22d ago

    谢佬分享

    0
  26. James 💯 Legend MANAGER 22d ago

    牛逼,谢谢大佬分享

    0
  27. lizi Platinum OP 3 YEARS 22d ago

    捕捉詹佬 :10-shekong: 感谢推荐~

    0
  28. _S1 Platinum 22d ago

    牛的

    0
  29. lizi Platinum OP 3 YEARS 20d ago

    2026/11/10 Added browser login authorization callback

    Translated by AI from 简体中文

    0
  30. te_xu Silver 20d ago

    Thanks for sharing, bro. I ran into a small issue — hope you can fix it.

    Translated by AI from 简体中文

    0
  31. lizi Platinum OP 3 YEARS 20d ago

    You could open an issue

    Translated by AI from 简体中文

    0
  32. lizi Platinum OP 3 YEARS 20d ago

    Or you can just ask me here too.

    Translated by AI from 简体中文

    0
  33. iop Gold 19d ago

    Let me take a look.

    Translated by AI from 简体中文

    0
  34. Opal Gold 17d ago

    You guys really know how to have fun

    Translated by AI from 简体中文

    0
  35. icetang Silver 17d ago

    Nice one.

    Translated by AI from 简体中文

    0
  36. hpcll Bronze 17d ago

    Still alive? So if I don't top up, I can only use those few domestic models?

    Translated by AI from 简体中文

    0
  37. lizi Platinum OP 3 YEARS 17d ago

    Both the free and paid metered models work.
    Normal daily quota is 200.

    Translated by AI from 简体中文

    0
  38. poin Silver 16d ago

    Gotta check it out

    Translated by AI from 简体中文

    0
  39. zzhzhou Silver 3 YEARS 14d ago

    Well written and clear, learned something from it.

    Translated by AI from 简体中文

    0
  40. ToneTone Silver 13d ago

    Thanks! Where can I buy an account? The context length written on GitHub is 32000 in full, right?

    Translated by AI from 简体中文

    0
  41. lizi Platinum OP 3 YEARS 13d ago

    Just sign up with Google / Apple and you're good.

    Translated by AI from 简体中文

    0
  42. Shappen_Ursino Bronze 13d ago

    Gave it a try and it's genuinely good, thanks!

    Translated by AI from 简体中文

    0
  43. Shappen_Ursino Bronze 7d ago

    Been using this for a while now, mostly with Gemini and Claude models, and they feel kind of dumbed down. Still, thanks for sharing, mate.

    Translated by AI from 简体中文

    0
  44. luannv 💬 Bronze 13d ago

    im using opencode and what wrong happening

    0
  45. kof97zip Diamond 13d ago

    Huh, are the signup bots in on it together now too....

    Translated by AI from 简体中文

    0
  46. lizi Platinum OP 3 YEARS 12d ago

    The keygen doesn't work anymore.

    Translated by AI from 简体中文

    0
  47. AGAGAG666 Silver 3 YEARS 7d ago

    Bro, can this still be done now?

    Translated by AI from 简体中文

    0
  48. fiycat Gold 7d ago

    Thanks for sharing

    Translated by AI from 简体中文

    0
  49. nuon7063 Gold 7d ago

    Why doesn't it work in the dsh client anymore? It used to work. And every time the deepai client updates, the project has to be updated too.

    Translated by AI from 简体中文

    0
  50. lizi Platinum OP 3 YEARS 7d ago

    Sometimes it just doesn't work — depends on how stable the upstream servers are.
    If the client protocol side hasn't been updated, the project doesn't really need to align with it.

    Translated by AI from 简体中文

    0