Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Shipping on a 10M-Token Budget

说明与用途

通过测试优先生成和令牌预算管理 AI 令牌使用,实现零成本开发。

问题

Managing AI token usage to keep monthly costs zero while developing with a free tier.

结果

Zero-dollar month achieved by disciplined test-first generation, token budgeting, and minimal manual edits.

工作流

  • Write a failing test for the new feature
  • Send the test to the model and request the smallest implementation that passes
  • Record the prompt and completion token counts with token-budget.sh
  • Check remaining allowance before each generation
  • Verify the output by running the test and reviewing the diff
  • Merge only if the test passes and the diff is clean
  • Deploy by pushing to GitHub and hitting the health endpoint
  • Repeat for each subsequent feature or refactor

证据

The monthly bill was zero dollars.

来源

Write the failing test before the model writes the code.

来源

Three gates stand before every generation.

来源

  • 记录日期: 2026-09-06T11:52:23.955Z