编码 Agent 成本

AI 编码 Agent 成本计算器

用真实会话数、时长、仓库大小和模型组合估算编码 Agent 的月度成本和计划压力。

Claude API estimate $0.00
Codex credits 0.0
Updated May 19, 2026

中文说明

这页适合在选择 Claude Code、Codex、Cursor 或自建编码 Agent 流程前做预算,重点看长上下文、输出 token、重复重试和订阅/API 混用风险。

第一版中文页保留部分英文 API 字段、模型名和表单标签,方便和官方文档、价格表、开发工具配置项对应。计算结果只做预算和选型参考,最终价格、限额和条款以官方后台或服务商当前公开说明为准。

How to use this calculator

Start with your real monthly coding pattern. A large monorepo agent session can use far more context than a short bug fix, so adjust input tokens and output tokens instead of relying on a single default.

If the pay-as-you-go estimate is near a subscription price, compare subscriptions first. If the estimate is low or spiky, pay-as-you-go with spend limits may be simpler.

What this does not know

This tool cannot see your account quota, hidden provider-side caching, prompt compression, or plan-specific fair-use windows. Treat every number as a planning estimate and confirm with each product's billing or usage dashboard.

Source notes

  • Anthropic pricing for Claude API input, cached input, output, and runtime assumptions.
  • OpenAI Codex rate card for Codex credit estimates by model.
  • Cursor pricing for plan comparison context.
  • Prices and product rules change. Edit the inputs before making a purchase decision.