V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
kevin96
V2EX  ›  Claude

近期免费的 opus 渠道

  •  
  •   kevin96 · 2 天前 · 14995 次点击
    1. Replit:量大管饱,有大佬已经放焚决了,可以邮箱注册,1 个号是 5 刀的额度,但是如果你免费绑个卡搞会员,然后再撤掉会员,那么就是 120 刀 x2=240 刀的额度。

    2. Anything:开个注册机就能批量刷免费号,基本对于邮箱后缀没有要求,然后再叠加 2api 的软件,也是好用的,就是慢一点。

    3. Accio:有额度,但是注册似乎有点困难了,对于 代理线路、邮箱后缀等都要求好严,基本就是注册机碰运气,而且还经常封号,我本地处于别注册别封号的状态,基本能维持可用,属于保底方案了。

    免费白嫖 Claude 模型教程,3 分钟就能用

    1. 注册 打开 Replit 注册账号,选择 免费计划。

    2. 输入 Prompt 在首页输入下面的 Prompt ,按提示继续操作。

    目标:在 Replit pnpm monorepo 中建立 OpenAI 兼容反代 API 并发布。
    
     [环境准备] 
    1. 在 Replit Integrations 中添加 OpenAI 和 Anthropic AI 集成
    2. 设置 Secret:PROXY_API_KEY (任意字符串,作为 Bearer Token )、SESSION_SECRET
    
     [ API Server 修改] 
    文件:artifacts/api-server/src/routes/proxy.ts
    - 创建 GET /v1/models ,返回模型列表( gpt-5.2, gpt-5-mini, gpt-5-nano, o4-mini, o3, claude-opus-4-6, claude-sonnet-4-6, claude-haiku-4-5 )
    - 创建 POST /v1/chat/completions:
      - 验证 Authorization: Bearer ${PROXY_API_KEY},失败返回 401
      - 按 model 前缀分发:gpt/o 开头→OpenAI client ,claude 开头→Anthropic client
      - Anthropic 需转换格式:提取 system 消息,messages 只保留 user/assistant
      - 支持 stream=true:设置 Content-Type: text/event-stream ,X-Accel-Buffering: no ,res.flushHeaders()
      - OpenAI 流:直接透传 chunk ,每块 res.flush()
      - Anthropic 流:将 content_block_delta 转为 OpenAI chunk 格式,每块 res.flush()
      - 每 5 秒发送 keepalive (": keepalive\n\n"),req.on("close") 时 clearInterval ,用 try/finally 防 500
      - 非流:等待完整响应后返回 OpenAI 格式 JSON
      - Express body limit 设为 50mb
    
    文件:artifacts/api-server/src/app.ts
    - app.use("/v1", proxyRouter)
    
    文件:artifacts/api-server/.replit-artifact/artifact.toml
    - paths 数组加入 "/v1"
    
     [前端门户] 
    用 createArtifact({ artifactType: "react-vite", slug: "api-portal", previewPath: "/", title: "API Portal" }) 创建 artifact
    
    App.tsx 功能:
    - fetch(`${window.location.origin}/api/healthz`) 检测在线状态
    - 展示 Base URL 、/v1/models 、/v1/chat/completions 、API Key 说明
    - 复制按钮
    - CherryStudio 4 步设置指引
    - 模型列表
    - 深色主题
    
     [发布] 
    - 启动两个 workflow:api-server 和 api-portal
    - presentArtifact({ artifactId: "artifacts/api-portal" })
    - suggestDeploy()
    - 发布后域名即为 CherryStudio 的 Base URL
    
    
    1. 填写 API Key 创建过程中会弹出窗口,让你填写 API Key。 这个 Key 需要自己创建,并且一定要保存好,后面不会再显示。

    1. 获取地址 创建完成后,会显示一个接口地址,例如:
    https://xxx--username.replit.app
    

    Base URL:上面的地址 API Key:你刚才填写的那个 Key

    203 条回复    2026-04-10 10:09:00 +08:00
    1  2  3  
    dockerhub
        201
    dockerhub  
       5 小时 54 分钟前   ❤️ 1
    L 站的内容原样搬过来,原来是卖虚拟卡的。。。隔天就封号,1 块多的虚拟卡你卖 4 块,鬼才
    test0x01
        202
    test0x01  
       2 小时 10 分钟前 via Android
    imch1n
        203
    imch1n  
       1 小时 33 分钟前
    扑街咯, 没取消订阅,被 ban 了....
    You have been banned from using Replit for this reason: "Resource Abuse". If you believe that there has been a mistake and/or would like to appeal, you can reach out to us at [email protected]. Please use the email address associated with this account when requesting an appeal. You can read more about our rules and community guidelines at https://docs.replit.com/legal-and-security-info/trust-and-safety.

    - The Replit team
    1  2  3  
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   5444 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 03:42 · PVG 11:42 · LAX 20:42 · JFK 23:42
    ♥ Do have faith in what you're doing.