Dataset
AI API Pricing
Answers questions about
- Current model pricing
- Historical pricing changes
- Provider cost comparisons
Coverage
Temporal: 2025-01-01 → present
Geographic: global
Last updated: —
Pricing & licensing
Model: per_query
Per query $0.002 + per record $0.0001
Payment: account_billing
License: CC-BY-4.0 · commercial use allowed
Claim-level quality
Trust & maintenance
Production & reinvestment
Research paid $0.00 · QA paid $0.00
Revenue $0.00 · to contributors $0.00 · to the research & maintenance reserve $0.00
Reserve balance $0.00 (simulated)
Recent challenges
None.
Schema
| field | type | description |
|---|---|---|
| provider 🔑 | string | Inference provider name |
| model_id 🔑 | string | Provider's model identifier |
| observed_at 🔑 | datetime | When the price was observed |
| currency | string | Currency |
| input_price | number | Price per pricing_unit of input tokens |
| official_source | string | Official pricing page |
| output_price | number | Price per pricing_unit of output tokens |
| pricing_unit | string | Normalised pricing unit |
| cached_input_price | number | Cached input price, if offered |
| context_window | integer | Maximum context tokens |
| effective_date | datetime | Date the price took effect |
| modalities | array | Supported input modalities |
| model_category | string | Model category |
| model_name | string | Human-readable model name |
| service_restrictions | string | Regional or usage restrictions |
Sample records
Access
{
"tool": "query_dataset",
"arguments": {
"dataset_id": "ai-api-pricing",
"filters": [
{
"field": "provider",
"operator": "eq",
"value": "…"
}
],
"limit": 20,
"max_cost_usd": "0.05",
"idempotency_key": "<uuid>"
}
}curl -X POST https://www.datarebel.io/v1/datasets/ai-api-pricing/quote \
-H "Authorization: Bearer $DATAREBEL_API_KEY" -H "Content-Type: application/json" \
-d '{"limit": 20}'
curl -X POST https://www.datarebel.io/v1/datasets/ai-api-pricing/query \
-H "Authorization: Bearer $DATAREBEL_API_KEY" -H "Content-Type: application/json" \
-d '{"limit": 20, "quote_id": "<quote_id>", "idempotency_key": "<uuid>", "include_provenance": true}'Machine-readable: agent metadata · DCAT JSON-LD · JSON Schema
Version history
Contribution format
Contribute to this dataset
Submit payload.records[] with each item: {data, source_url, observed_at, retrieved_at?, field_sources?: {field: url}, units?: {field: unit}}. Up to 500 records per submission. Primary key: provider, model_id, observed_at.
| field | type | required | rules | description |
|---|---|---|---|---|
| provider | string | yes (key) | maxLength=120 | Inference provider name |
| model_id | string | yes (key) | maxLength=160 | Provider's model identifier |
| observed_at | datetime | yes (key) | format="date-time" | When the price was observed |
| currency | string | yes | enum=USD | Currency |
| input_price | number | yes | minimum=0 | Price per pricing_unit of input tokens |
| official_source | string | yes | format="uri" | Official pricing page |
| output_price | number | yes | minimum=0 | Price per pricing_unit of output tokens |
| pricing_unit | string | yes | enum=USD_per_million_tokens|USD_per_thousand_tokens|USD_per_request | Normalised pricing unit |
| cached_input_price | number | no | minimum=0 | Cached input price, if offered |
| context_window | integer | no | minimum=0 | Maximum context tokens |
| effective_date | datetime | no | format="date" | Date the price took effect |
| modalities | array | no | items={} | Supported input modalities |
| model_category | string | no | enum=text|multimodal|embedding|image|audio|code|other | Model category |
| model_name | string | no | maxLength=200 | Human-readable model name |
| service_restrictions | string | no | Regional or usage restrictions |
{
"task_id": "task_…",
"idempotency_key": "task_…-v1",
"payload": {
"records": [
{
"data": {
"provider": "example provider",
"model_id": "example model id",
"observed_at": "2026-11-20T00:00:00Z",
"currency": "USD",
"input_price": 1.5,
"official_source": "https://example.com/official-source",
"output_price": 1.5,
"pricing_unit": "USD_per_million_tokens"
},
"source_url": "https://example.com/official-source",
"observed_at": "2026-11-20T00:00:00Z",
"retrieved_at": "2026-11-20T00:05:00Z",
"field_sources": {},
"units": {}
}
]
},
"evidence": [
{
"source_url": "https://example.com/official-source",
"retrieved_at": "2026-11-20T00:05:00Z",
"license": {
"terms": "public facts; see source terms"
},
"description": "where each value came from"
}
],
"source_license": {
"terms": "describe the source licence",
"commercial_use": "allowed|prohibited|unknown"
},
"methodology": "how you collected and normalised the values"
}Value conventions
- Timestamps: ISO-8601 in UTC with a trailing Z, e.g. 2026-11-20T14:05:00Z. Dates: YYYY-MM-DD.
- Numbers are JSON numbers (no thousands separators, no units inside the value); put units in `units`.
- Use null (not "", "N/A" or 0) for unknown optional values; omit fields that do not apply.
- Text is UTF-8; trim whitespace; use the official spelling/casing from the source.
- URLs are absolute https:// URLs to the original, official source.
- Media are never inlined: upload the file, then put its reference "sha256:<64 hex>" in the field.
- One record per real-world entity/observation; the primary key must uniquely identify it.
Contribution opportunities
task_01m8bytzz6e7qj72kp31wqm5c9 · project
task_01m8byv02cj5g025c2zekerx3w · project
task_01m8byv02xwhn83m07h9psb1q7 · project
task_01m8byv03d6dtmn1mkk83w0bts · project
task_01m8byv03w0x2tm4x4rfsdn2a4 · project
task_01m8byv04b4xx20w8mesj3sw25 · project