Grok Bot 例程成本审计:从 $397 降到 $45
把 Grok Bot 的定时例程分成事件触发、哈希检查、夜间草稿三类,避免每 5 分钟空跑烧钱,月成本可降到约 $45。
YOUR GROK BOT ISN'T BROKEN, YOUR F*CKING SCHEDULE IS most routines were set to every 5 minutes just to be safe. that's 8,640 wakes a month per routine, about $397, and most of them find nothing the idea: before a routine spends a token, decide what kind of routine it really is. there are only three kinds same bot, same model, same prompt. one routine drops to $45 a month you just tell Grok Bot this: audit my routines and sort them into three kinds here's the split: → trigger: a webhook, Slack, GitHub or email event wakes it, the clock gets deleted → check + clock: the slowest schedule that works, one hash first, a full run only on change → night step: no human awake, so it ends at a draft or an Allow automatically rule → the check costs $0.0043, the full run $0.046, so 19 quiet wakes cost less than 2 real runs it still stops you at three moments: → any Ask first rule matches, those always wait for you → an approval from an unattended run sits for about 10 minutes, then it expires and nothing runs → anything that sends, publishes, pays or deletes Events wake it. The hash decides. You approve. the full tree > every routine names the one signal that proves a change > events replace the clock wherever they exist > the rest gets the slowest schedule plus a read-only check > night steps end at a draft or an Allow automatically rule > Ask first rules cover sending, publishing, money and deletes > one csv line per run, because the app keeps only the last 20 paste the tree and this prompt into Grok Bot ↓ "Audit my routines against this tree: 1. List every routine with its schedule, trigger and monthly cost. 2. Sort each one into trigger, check plus clock, or night step. 3. Move every routine an event can announce off its clock. 4. Put a read-only hash check in front of every routine that keeps a clock. 5. Add Ask first rules for sending, publishing, purchases and deletes, and end night steps at a draft. Show me the old and new monthly cost side by side. Nothing changes until I say go." ↳ http://docs.x.ai/grok-bot/approvals-security-and-privacy sort them once. ten routines, one check each, and the bill finally matches the work.
这条是引用着另一条写的:x.com/gippp69/status/2109235458383216811