← 随机比特 / 所有内容

你给 AI 配了张信用卡,默认每月 100 刀

2026-05-07 · 随机比特

<section style=“max-width:100%;margin:0 auto;padding:0 0 30px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.8!important;color:#333!important;background-color:#ffffff!important;word-wrap:break-word;”> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px; font-size:16px;color:#1a1a1a!important;”>4 月 30 日 Cloudflare 发了个东西,容易被读成又一次 SDK 升级——但真正的变化在付款和部署权限。这更像是 agent 从工具调用走向外部状态变更的分界点。</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>它叫 Stripe Projects——准确说是 Cloudflare 跟 Stripe 一起推的一套协议,把"agent 注册账户 → agent 用信用卡付款 → agent 买域名 → agent 把站点 deploy 上线"这四步串成了一条命令。初始授权之后,agent 不再需要人手动进 Cloudflare 后台、复制 API token 或输入信用卡信息。agent 跑完,世界上多了一个新域名、多了一笔账单、多了一个跑在公网上的服务。</p> <figure><img src=“images/01-read-write-spend.png” alt=“01-read-write-spend”></figure> <h2 style=“font-size:18px;font-weight:700;color:#333!important;line-height:1.4!important;margin:30px 0 15px;padding-left:12px;border-left:4px solid #07c160;”>为什么这不是又一个 SDK 升级</h2> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>agent 的动作语义变了。</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>之前 agent 能做的事可以分两类。<strong style=“font-weight:700;color:#000!important;”>read:</strong>调外部 API 拿数据,调完即弃,错了大不了再调一次。<strong style=“font-weight:700;color:#000!important;”>有限的 write:</strong>在它自己沙箱里写文件、在它自己对话里回复用户——错了清掉重来就行。这两类动作的共同点是<strong style=“font-weight:700;color:#000!important;”>可回滚</strong>​。错答案不会变成你信用卡账单上的一行字。</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>Cloudflare 这次让 agent 做的三件事——<strong style=“font-weight:700;color:#000!important;”>spend、occupy、deploy</strong>——一件都不可回滚。</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>钱花出去了不能 ctrl+Z。域名注册了占着就是占着,下一个想要这个域名的人来晚了。服务上线了就是上线了,公网上有人能访问,搜索引擎可能已经爬过。这是 agent 行动半径第一次从"沙箱内"跨进"沙箱外",且踏入的是一个<strong style=“font-weight:700;color:#000!important;”>没有撤销键</strong>的世界。</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>输出端从"返回值"变成了"外部状态变更"——很多人把这条新闻读成 agent 又多了几个工具调用,错了。</p> <h2 style=“font-size:18px;font-weight:700;color:#333!important;line-height:1.4!important;margin:30px 0 15px;padding-left:12px;border-left:4px solid #07c160;”>关键变化藏在默认值里</h2> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>Cloudflare 这套协议出厂自带一个 spending cap:<strong style=“font-weight:700;color:#000!important;”>每个供应商每月默认 100 刀</strong>​。</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>100 刀不多。请你想清楚这个默认值——它不是"你可以选择给 agent 配预算",是"agent 出厂自带 100 刀月度预算,你要么留着、要么调高、要么调低"。</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>以前你给 agent 配 API key 的时候,你会想"它每个月能调多少次"。从今天起,你要想的是"它每个月能花多少钱"。计量单位从 token / call 变成了 USD。</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>这是 agent 经济的第一道分水岭,悄悄藏在一个默认值里。</p> <h2 style=“font-size:18px;font-weight:700;color:#333!important;line-height:1.4!important;margin:30px 0 15px;padding-left:12px;border-left:4px solid #07c160;”>协议设计 vs 治理设计</h2> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>agent 框架过去两年都在做 agent 协议设计:怎么让 agent 把事做出来。Prompt 怎么写、tool descriptions 怎么列、上下文怎么管、错误怎么 retry。</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>当 agent 能花钱、能占资源、能上线服务的时候,命题完全换了一个——叫 agent <strong style=“font-weight:700;color:#000!important;”>治理</strong>设计:谁来约束它的破坏半径。具体到四个问题:</p> <ul style=“margin:16px 0;padding-left:24px;;list-style-type:disc!important;list-style-position:outside;”> <li style=“margin:8px 0;line-height:1.8!important;color:#333!important; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>它一个月最多能花多少?</li> <li style=“margin:8px 0;line-height:1.8!important;color:#333!important; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>它能占哪些不可回滚的资源(域名、子域、API quota)?</li> <li style=“margin:8px 0;line-height:1.8!important;color:#333!important; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>它能上线到哪些环境(test / staging / prod)?</li> <li style=“margin:8px 0;line-height:1.8!important;color:#333!important; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>谁有 stop button,按下去多少秒生效?</li> </ul> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>这四个问题,prompt 写得再漂亮、tool description 列得再齐都答不了。这是另一套东西。</p> <figure><img src=“images/02-protocol-vs-governance.png” alt=“02-protocol-vs-governance”></figure> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>那个 100 刀的默认 cap,本质上就是治理层第一次以默认值的形态出现在产品里。它没给你一个开关让你选,它替你做了一个保守的选择,然后让你自己觉得"100 刀好像有点少,我调到 500 吧"——一调,治理责任就接管到使用者手里。这个设计很聪明,因为它强制把"agent 该花多少钱"这件事从隐性变成显性。</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>100 刀只是开始。预算之外的三个问题——占什么资源、上线到哪、谁有 stop button——目前协议层都没答案。</p> <h2 style=“font-size:18px;font-weight:700;color:#333!important;line-height:1.4!important;margin:30px 0 15px;padding-left:12px;border-left:4px solid #07c160;”>工程师的身份也在跟着变</h2> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>当 agent 能 spend / occupy / deploy 时,工程师的角色也悄悄换了一档。</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>以前工程师的工作是写代码、调接口、看 PR、按发布——执行层的活。现在多了一类完全不同的任务:定 spending cap、列 capability、配 stop button、定义"什么样的失败要立刻停"。这是治理层的活。</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>这两层活的技能完全不重合。会写代码的人未必擅长设计风险边界;擅长边界设计的人很多并不写最快的代码。<strong style=“font-weight:700;color:#000!important;”>你以前积累的算法 / 框架 / 调优经验是壁垒,现在不再是;以前没人重视的"容量规划 / 失败模式 / 审计能力"反而成为新差异化</strong>​。</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>这种身份切换让一部分工程师感到模糊和焦虑。但事实是它正在用 agent 协议形态被强制推进——每一个像"100 刀默认 cap"这样的产品决策,都是把工程师往治理层推一步。</p> <h2 style=“font-size:18px;font-weight:700;color:#333!important;line-height:1.4!important;margin:30px 0 15px;padding-left:12px;border-left:4px solid #07c160;”>以后 API key 要分成 read 和 spend 两类</h2> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>下次想给某个自动化脚本配 API key 的时候,停一下,问自己一句:</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”><strong style=“font-weight:700;color:#000!important;”>这个 key 后面接的是 read,还是 spend?</strong></p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>read 类,按以前的工程实践配就行——配额、retry、监控。</p> <p style=“margin:15px 0!important;line-height:1.8!important;color:#333!important;text-align:justify; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size:16px;”>spend 类,要先想清楚 4 个治理问题(最多花多少、占什么、上线到哪、谁能停)再配 key。今天起,这两件事需要分开想了。</p> </section>