Original post · AI translation
@vnjogani 据我所知,Reason 增加了一个 codemode 工具,模型会编写一段 JavaScript,并行执行搜索、读取文件和测试,然后只返回有用的结果。
@rohanpaul_ai 我不明白具体是怎么做到的。难道不是每个代理运行框架都这样做吗?通过保持历史记录稳定来利用缓存?
Original
@rohanpaul_ai I dont get the how. Isnt that what every harness does? Leverage caching by keeping history stable?
Reason Machines 刚刚推出了 Reason,这是一个编码代理运行框架,封装了 GPT-6 Astra 这样的单一模型,完成任务的成本比 OpenAI 的 Codex 低 22%。
具体做法:传统编码代理每一步都会把上下文重新发送给模型,因此 Reason 减少了这部分负担:
Reason 将固定指令和精简的工具列表放在每次提示的开头,只在末尾添加新的代码和结果,绝不改写或重新排列前面的文本,从而使各轮之间的提示前缀保持完全一致。
由于每一轮都以完全相同的文本开头,OpenAI 会识别出它来自上一轮,并对这些重复的 token 按便宜 90% 的价格计费,即每 100 万个 token 收费 1 美元,而不是 10 美元。
Original
Reason Machines just launched Reason, a coding harness that wraps a single model like GPT-6 Astra and solved tasks 22% cheaper than OpenAI’s Codex. How: A traditional coding agent resends its context to the model on every step, so Reason trims that load: Reason holds the prompt prefix identical between turns, by putting its fixed instructions and small tool list at the top of every prompt and only adding new code and results at the end, never rewriting or reshuffling the earlier text. Since every turn starts with the exact same text, OpenAI recognizes it from the previous turn and bills those repeated tokens 90% cheaper, at $1 instead of $10 per million.