llm-api-prices
收藏资源简介:
LLM API价格指数每日快照数据集,收录了来自553个LLM API端点的实时、经过验证的价格信息。数据每日通过自动同步更新,每个价格均从提供商官方定价页面读取并交叉验证,附带验证日期和来源URL,确保准确性。数据集包含三个文件:models.csv(每个端点一行,包含提供商、模型名称、每百万输入/输出/缓存输入Token的美元价格、上下文窗口长度、许可证、验证日期和来源URL)、pricing-history.csv(价格变化日志,仅记录价格实际发生变化时的数据点,共588行,随时间增长更具价值)、all.json(完整嵌套数据集,包含schema_version字段以保证稳定性)。该数据集适用于LLM API成本分析、价格比较、市场趋势研究等任务。许可协议为CC BY 4.0,使用时需注明来源为API Price Index (apipriceindex.com)。
LLM API Price Index Daily Snapshot dataset, containing real-time, verified pricing information from 553 LLM API endpoints. Data is updated daily via automatic synchronization, and each price is read from the official pricing page of the provider and cross-verified, with verification date and source URL to ensure accuracy. The dataset includes three files: models.csv (one row per endpoint, containing provider, model name, price per million input/output/cached input tokens in USD, context window length, license, verification date, and source URL), pricing-history.csv (price change log, only recording data points when prices actually change, 588 rows, becoming more valuable over time), and all.json (a complete nested dataset with a schema_version field for stability). This dataset is suitable for tasks such as LLM API cost analysis, price comparison, and market trend research. License: CC BY 4.0, with attribution required to API Price Index (apipriceindex.com).
数据集概述:LLM API Price Index
LLM API 价格指数每日快照是一个提供实时、可验证的LLM API价格信息的数据集,其数据来源于apipriceindex.com。
核心内容
- 数据规模:截至2026-09-07T08:15:03Z,数据集追踪了553个端点,并每日通过自动化同步进行更新。
- 数据准确性:每条价格记录均直接读取自提供商的官方定价页面,经过交叉验证,并附带验证日期和来源URL,确保数据可靠。
文件结构与内容
数据集包含以下文件,文件格式有CSV和JSON:
| 文件 | 内容说明 |
|---|---|
models.csv |
每个被追踪的端点一行数据:包含提供商、模型、每百万输入/输出/缓存输入tokens的美元价格、上下文窗口、许可证、验证日期以及来源URL等字段 |
pricing-history.csv |
价格账本:每个(端点, 日期)对应一行,仅在价格实际变动时记录(共588行)。该文件数据随时间积累,价值日益增加 |
all.json |
完整的嵌套数据集,带有稳定契约(通过schema_version字段实现) |
数据来源与更新
- 每日快照:当前数据集为每日生成的快照,可能不是最新数据。
- 实时数据源:更新鲜的数据可通过以下方式获取:
- 数据集端点:https://apipriceindex.com/api/all.json
- OpenAPI规范接口:https://apipriceindex.com/openapi.json
- MCP服务器(用于智能体):
pip install apipriceindex-mcp(注册于registry.modelcontextprotocol.io,标识为io.github.apipriceindex/mcp) - 相关文档及稳定契约说明:https://apipriceindex.com/use-this-data/
许可与引用
- 许可证:采用CC BY 4.0协议,允许自由使用、修改和再发布,但需注明出处。
- 引用要求:使用时,需注明来源为 API Price Index (apipriceindex.com)。
- 内容边界:数据集不包含来自第三方(如LMArena、Artificial Analysis、MTEB)的基准测试评分,因为这些数据并非数据集所有者拥有,无权进行再分发。
语言与标签
- 数据集内容主要为英文。
- 标签:
llm、api、pricing、tokens、costs。 - 数据规模分类为
n<1K(数据量很小)。





