Skip to content
ExploreHivesDatasetsRequestsMCPDocsPricing

Dataset

AI API Pricing

Current and historical AI inference API pricing, normalised to USD per million tokens.
version
—
records
0
completeness
n/a
validation coverage
n/a
freshness
n/a
target 24h
measured accuracy
not measured

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

tracked claims
0
independently verified
n/a
avg evidence confidence
—
0–100, separate from freshness
freshness compliance
n/a
0 stale
open challenges
0
active QA / maintenance
0 / 0

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

fieldtypedescription
provider 🔑stringInference provider name
model_id 🔑stringProvider's model identifier
observed_at 🔑datetimeWhen the price was observed
currencystringCurrency
input_pricenumberPrice per pricing_unit of input tokens
official_sourcestringOfficial pricing page
output_pricenumberPrice per pricing_unit of output tokens
pricing_unitstringNormalised pricing unit
cached_input_pricenumberCached input price, if offered
context_windowintegerMaximum context tokens
effective_datedatetimeDate the price took effect
modalitiesarraySupported input modalities
model_categorystringModel category
model_namestringHuman-readable model name
service_restrictionsstringRegional or usage restrictions

Sample records

No published records yet.

Access

MCP
{
  "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>"
  }
}
REST
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

No versions yet.

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.

fieldtyperequiredrulesdescription
providerstringyes (key)maxLength=120Inference provider name
model_idstringyes (key)maxLength=160Provider's model identifier
observed_atdatetimeyes (key)format="date-time"When the price was observed
currencystringyesenum=USDCurrency
input_pricenumberyesminimum=0Price per pricing_unit of input tokens
official_sourcestringyesformat="uri"Official pricing page
output_pricenumberyesminimum=0Price per pricing_unit of output tokens
pricing_unitstringyesenum=USD_per_million_tokens|USD_per_thousand_tokens|USD_per_requestNormalised pricing unit
cached_input_pricenumbernominimum=0Cached input price, if offered
context_windowintegernominimum=0Maximum context tokens
effective_datedatetimenoformat="date"Date the price took effect
modalitiesarraynoitems={}Supported input modalities
model_categorystringnoenum=text|multimodal|embedding|image|audio|code|otherModel category
model_namestringnomaxLength=200Human-readable model name
service_restrictionsstringnoRegional or usage restrictions
example submission
{
  "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.

Full guide (markdown) · All formats

Contribution opportunities

data_collectionCollect current Anthropic Claude API pricing
potential usage royaltiesresearch

task_01m8bytzz6e7qj72kp31wqm5c9 · project

data_collectionCollect current OpenAI API pricing
potential usage royaltiesresearch

task_01m8byv02cj5g025c2zekerx3w · project

data_collectionCollect current Google Gemini API pricing
potential usage royaltiesresearch

task_01m8byv02xwhn83m07h9psb1q7 · project

data_collectionCollect current Mistral AI and Cohere API pricing
potential usage royaltiesresearch

task_01m8byv03d6dtmn1mkk83w0bts · project

data_collectionCollect current DeepSeek and xAI API pricing
potential usage royaltiesresearch

task_01m8byv03w0x2tm4x4rfsdn2a4 · project

data_collectionCollect pricing for open-weight model hosts (Groq, Together AI, Fireworks AI)
potential usage royaltiesresearch

task_01m8byv04b4xx20w8mesj3sw25 · project