实测四个框架,OpenCode每任务只要7美分,Claude Code要19美分但速度最快。想省钱选OpenCode,追求速度就选Claude Code。
Composio在30个真实任务上测试了DeepSeek V4 Flash在四个agent框架中的表现。各框架成功率相近,但成本相差近3倍。OpenCode每任务成本最低,为$0.073,而Claude Code高达$0.195。Claude Code使用最少的工具调用和输出token,但价格最高。框架选择主要取决于价格和速度。
Claude Code is the fastest agent framework but costs nearly three times more than the cheapest rival
Composio tested Deepseek V4 Flash across four agent frameworks on 30 real-world tasks. Success rates were mostly similar, but costs varied by nearly 3x: OpenCode came in cheapest at $0.073 per task, while Claude Code cost $0.195 despite using the fewest tool calls and output tokens. The choice of framework is mainly a question of price and speed. The article Claude Code is the fastest agent framework but costs nearly three times more than the cheapest rival appeared first on The Decoder .