ai-api-pricing
收藏资源简介:
AICostBudget AI API 定价数据集是一个公开维护和整理的表格数据集,旨在为AI API模型的成本估算、大型语言模型(LLM)预算规划和模型价格比较提供机器可读的定价记录。它主要服务于开发者、SaaS构建者、AI财务运营(FinOps)团队、研究人员和技术文档撰写者。数据集包含来自OpenAI、Anthropic Claude、Google Gemini、DeepSeek、xAI Grok、Mistral AI、Cohere等多家主流AI服务提供商的规范化定价信息,以CSV和JSON格式提供,包括train.csv、prices.csv、prices.json和meta.json等文件。数据字段详尽,涵盖提供商标识符、模型标识符、模型名称、定价货币、输入/输出token价格、来源URL、验证日期等。该数据集适用于比较不同AI模型价格、估算月度成本、构建成本监控仪表板、规划SaaS产品预算以及跟踪定价历史变化等场景。数据来源于提供商官方页面,经过人工验证和定期更新,但建议在生产决策前通过提供商官方渠道进行最终核实。数据集采用Creative Commons Attribution 4.0 International许可证。
The AICostBudget AI API Pricing Dataset is a publicly maintained and organized tabular dataset designed to provide machine-readable pricing records for AI API model cost estimation, large language model (LLM) budget planning, and model price comparison. It primarily serves developers, SaaS builders, AI financial operations (FinOps) teams, researchers, and technical documentation writers. The dataset contains normalized pricing information from major AI service providers including OpenAI, Anthropic Claude, Google Gemini, DeepSeek, xAI Grok, Mistral AI, and Cohere, available in CSV and JSON formats, with files such as train.csv, prices.csv, prices.json, and meta.json. Data fields are comprehensive, covering provider identifiers, model identifiers, model names, pricing currency, input/output token prices, source URLs, verification dates, and more. It is suitable for various use cases such as comparing prices of different AI models, estimating monthly API usage costs, building LLM cost monitoring dashboards, budgeting for AI features in SaaS products, and tracking historical pricing changes. Data is sourced from provider pricing pages, product documentation, API, or announcements, manually verified, and regularly updated through automated processes. However, it is recommended to always verify with provider pricing pages, contracts, billing dashboards, and invoices for final confirmation before making production budget decisions. The dataset is licensed under the Creative Commons Attribution 4.0 International license.
数据集概述
数据集名称:AICostBudget AI API Pricing Dataset
许可协议:Creative Commons Attribution 4.0 International (CC-BY-4.0)
语言:英语
标签:表格数据、AI API定价、LLM定价、AI模型定价、Token成本、AI FinOps、定价数据、开放数据、CSV、JSON、开发者工具
数据集内容
该数据集提供AI API模型定价数据,用于成本估算、LLM预算规划和模型价格比较。数据集包含以下文件:
train.csv:用于Hugging Face数据集查看器的CSV快照prices.csv:标准化的可下载CSV表示prices.json:完整的机器可读JSON表示meta.json:数据集版本、生成时间、验证日期和覆盖范围元数据
未知或未充分验证的价格以null表示,绝不会为0。
覆盖范围
当前数据集版本可能涵盖以下提供商:
- OpenAI
- Anthropic Claude
- Google Gemini
- DeepSeek
- xAI Grok
- Mistral AI
- Cohere
数据字段
CSV文件使用标准化的定价字段,常见字段包括:
| 字段 | 描述 |
|---|---|
provider_id |
稳定的提供商标识符 |
model_id |
稳定的模型标识符 |
display_name |
人类可读的模型名称 |
model_family |
模型系列或产品线 |
status |
当前记录状态 |
currency |
定价货币 |
unit |
定价单位,通常为每百万Token |
input |
标准输入Token价格 |
output |
标准输出Token价格 |
cached_input |
缓存输入或缓存读取价格(如有) |
cache_write |
缓存写入价格(如有) |
batch_input |
批量输入Token价格(如有) |
batch_output |
批量输出Token价格(如有) |
official_source_url |
用于来源检查的提供商页面或文档URL |
accessed_at |
访问来源的日期和时间 |
last_verified_at |
最近验证日期 |
effective_from |
定价生效日期(如有) |
notes |
来源解释和定价说明 |
用例
- 比较AI模型价格
- 估算月度AI API成本
- 构建LLM成本仪表板
- 规划SaaS AI功能预算
- 追踪模型定价变化
数据来源与更新
- 价格数据来源于提供商的定价页面、产品文档、提供商API或提供商公告
- 不使用第三方计算器、搜索片段、论坛帖子或竞争对手聚合器作为最终价格证据
- GitHub源仓库包含自动化检查,包括:不可达的提供商URL、过期的
last_verified_at值、无效或不完整的数据、模式和数据验证失败 - 最新版本和验证信息可查看
meta.json
限制
- 提供商定价可能在下次验证更新前发生变化
- 部分提供商使用区域、层级、合同或协商定价
- 某些模型在长上下文请求或特殊服务层级可能有不同价格
- 未知或未充分验证的字段保持为
null - 发布的模型记录不表示认可或合作
- 最终计费决策应通过提供商的定价页面、合同、计费仪表板和发票验证
许可证
- 数据集采用知识共享署名4.0国际许可协议(CC-BY-4.0)
- 源代码仓库代码单独采用MIT许可证
引用格式
AICostBudget. AICostBudget AI API Pricing Dataset. https://github.com/aicostbudget/ai-api-pricing-data
数据下载链接
CSV快照:https://huggingface.co/datasets/aicostbudget-ai/ai-api-pricing/resolve/main/train.csv
标准化CSV:https://huggingface.co/datasets/aicostbudget-ai/ai-api-pricing/resolve/main/prices.csv
完整JSON:https://huggingface.co/datasets/aicostbudget-ai/ai-api-pricing/resolve/main/prices.json
数据集元数据:https://huggingface.co/datasets/aicostbudget-ai/ai-api-pricing/resolve/main/meta.json





