real-api-pricing README

项目的 README,来自 github.com/Fei2411/real-api-pricing。合并为一个 markdown 文件:README.md。

English | 中文

Real API Pricing

AI coding subscriptions sell a monthly fee, not a per-token price. This project works out what each plan actually costs per million tokens, then plots that price against public leaderboard scores to show which plans give the most capability for the money.

Real price = monthly fee ÷ tokens you can actually use in a month.

Open the interactive site → Pick models, filter channels, compare prices and allowances. English / 中文.

Real price vs. AA Intelligence Index, Pareto frontier

How to read the charts

Snapshot: 2026-12-02 · 410 plan × model points · all charts, SVG / PNG, both languages

Query from the terminal

The TypeScript CLI queries the website's current dataset and separates model, company, channel and plan. It automatically falls back to cached or bundled data when offline. Requires Node.js 22.12+. Build from this repository:

npm --prefix cli ci
npm --prefix cli run build
node cli/dist/main.js price --company Anthropic
node cli/dist/main.js allowance --company Anthropic --fee-band 0-30

JSON/CSV exports, filtering, evidence and comparisons are available. See the CLI README for installation and the command reference for output examples. Version 0.1.0 is available from this checkout. After the maintainer publishes the npm package, install it with npm install -g real-api-pricing.

For coding agents, the Real Model Price skill guides price, allowance and plan comparisons with this CLI. In Codex, invoke $real-model-price from a session that loads the repository's skills.

How the numbers are made

Every adopted value, its evidence and the reason for the choice: DECISIONS.md and the decision_note column of adopted.csv.

Pareto charts by leaderboard

Each leaderboard gets its own chart, with its own scores and snapshot date. A model missing from a board is left off that chart but stays in the price and allowance data.

AA Intelligence

SVG · PNG · 中文 SVG · 中文 PNG · chart shown at the top

Artificial Analysis Intelligence Index v5.0.1. Scores are not comparable with earlier index versions (such as v4.3): a lower number after the version change does not mean a model got worse. Rows marked [AA estimate] are Artificial Analysis's own estimates.

AA Coding Agent

SVG · PNG · 中文 SVG · 中文 PNG

AA Coding Agent

Coding Agent Index v2.1. Each score belongs to a tested harness × model × effort configuration. Higher effort doesn't change the price per token, but it can change how many tokens a task uses.

Code Arena

SVG · PNG · 中文 SVG · 中文 PNG

Code Arena

The WebDev Overall Arena Score. It measures web-app building, not general coding ability.

Agent Arena

SVG · PNG · 中文 SVG · 中文 PNG

Agent Arena

OpenDesign Arena

SVG · PNG · 中文 SVG · 中文 PNG

OpenDesign Arena

The 0–100 average task score: requirements 30 + design quality 70. OpenDesign's cost- and speed-weighted recommendation score is not used. All 16 archived models map to adopted points.

Terminal-Bench 4.0

SVG · PNG · 中文 SVG · 中文 PNG

Terminal-Bench 4.0

The official 66-task leaderboard hosted by Stanford, Harbor and the Laude Institute (snapshot 2026-09-03), with all 38 published configurations. Vendor-reported scores for models the official board doesn't list are added and labelled [self-reported], for example SWE-2 · Devin Pro at 27.3% from Cognition's launch post.

Terminal-Bench 4.0 (AA)

SVG · PNG · 中文 SVG · 中文 PNG

Terminal-Bench 4.0 (AA)

The same 66 tasks run by Artificial Analysis on its own harness (snapshot 2026-09-23). The two Terminal-Bench boards are not interchangeable. On matched configurations the median gap is about 2.6 points, but it can be much larger: Grok 4.7 xhigh scores 37.58 on the official board and 25.76 here.

DeepSWE v1.1

SVG · PNG · 中文 SVG · 中文 PNG

DeepSWE v1.1

Pass@1 on 113 tasks, official rows run on mini-swe-agent (snapshot 2026-09-03). Vendor-reported scores are added as supplements and labelled [self-reported].

Real price and monthly allowance, all plans

Real price

All 409 priced subscription and API points on one $/MTok scale.

SVG · PNG · Table · 中文 SVG · 中文 PNG · 中文表

Real price overview

Monthly allowance

The 381 subscription points with a monthly allowance, split into three bands by monthly fee in USD. Each band is ranked on its own. The undivided chart and a hybrid-scale view are in the chart index.

$0–30 · SVG · PNG · Table · 中文 SVG · 中文 PNG · 中文表

Monthly allowance, $0–30

Over $30, up to $100 · SVG · PNG · Table · 中文 SVG · 中文 PNG · 中文表

Monthly allowance, over $30 up to $100

Over $100, up to $300 · SVG · PNG · Table · 中文 SVG · 中文 PNG · 中文表

Monthly allowance, over $100 up to $300

Chinese charts count tokens in 亿 (100 million): 77.37 亿 = 7.737 billion.

Data

Points Count
All plan × model points 410
Subscriptions with a monthly allowance 381
Free during a promotion (≈$0) 1
Metered APIs at list price 28
Leaderboard Scored points
AA Intelligence 190
AA Coding Agent 115
Code Arena 304
Agent Arena 259
OpenDesign Arena 92
Terminal-Bench 4.0 165
Terminal-Bench 4.0 (AA) 209
DeepSWE v1.1 218

The largest plan families are Command Code GOAT (66 points), MiMo Token Plan (32), OpenCode Go (29), Droid Max (27), Ollama (22) and Step Plan (20).

Downloads: adopted values (CSV) · computed points (CSV) / JSON · data notes · dated evidence

Every benchmark configuration, not just the highest per model: the configuration archive (CSV) keeps all 448 records with their original labels, harness, effort, score intervals and task costs. The plan-to-configuration mappings (CSV) hold 2452 explicit references. Unknown harnesses, efforts and intervals stay empty instead of being guessed. The all-configuration interactive chart (Chinese; download and open locally, needs network access for Plotly) lets you switch between configurations and effort levels.

Known limitations

Reproduce, contribute, credit

real-api-pricing (Fei2411/real-api-pricing)

正在搜索数据库…

这是什么?这是一个数据与图表项目:用月费除以实际可用的 token 数,算出 AI 订阅方案的真实价格,再把这些真实单价与编程/智能体排行榜得分对照,绘制成帕累托前沿图。
这是需要安装的应用,还是只是一组图表和数据?它是一个静态网站,外加可下载的图表和数据表——你可以浏览交互式网站,或直接获取 SVG/PNG 图表和 CSV/JSON 数据,无需安装任何软件。
具体该怎么用它?打开交互式网站来对比模型、价格和额度,或者直接从仓库下载中英文 SVG 和 PNG 图表以及 CSV/JSON 数据表。
想自己重新生成图表需要准备什么?重新生成图表要用一个 Node 脚本(node scripts/render_svg.cjs),它依赖 'sharp' 包;仓库里也包含 Python 工具,但只是查看已发布的图表则什么都不需要。
这些价格对比有多准确?许多数字并非官方数据,而是在统一的工作负载假设下换算出来的(以缓存读取为主,输入/输出占比很小),部分排行榜得分也只是参考性的评测框架配置,并非经过核实的逐渠道实测。
每张帕累托图实际展示的是什么?每张图都把某个排行榜的得分与真实的 $/MTok 价格对照,并画出支配前沿线,订阅方案和按量计费的 API 在同一条前沿上竞争。
对比了哪些排行榜?Code Arena(WebDev Overall Arena Score)、Agent Arena、AA Intelligence、AA Coding Agent 和 OpenDesign Arena 各自都有对应的帕累托图。
数据集覆盖了多少方案和模型?最新快照(2026-09-09)涵盖 188 个已采用的方案×模型数据点,其中包括 175 个带月度额度的订阅方案点和 13 个按量计费 API 基准点。
为什么不直接报订阅费,而要统一换算成 token 价格?各家厂商的定价方式差别很大(美元/点数池、分级 token 费率、按周池与按月池等),因此在统一的工作负载假设下把它们都归一化为每百万 token 美元数,才能让各方案直接可比。
作者
Fei2411
大小
2.4 GB
星标
1.2K
更新
提交Nov 19
时长
2个月
提交 · 90 天