C

Community AI Model Pricing Index · AI Model Pricing

by Community AI Model Pricing Index

GETBase

$0.01

per call · USD Coin on Base

Fetch a current third-party aggregated model-pricing snapshot from LiteLLM. Buyers should verify final pricing with each provider.

Endpoint

GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/ai_model_pricing

3

Calls / 30d

2

Unique payers / 30d

Aug 28

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/ai_model_pricing", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/ai_model_pricing?providers=openai%2Canthropic" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "caveat": "Third-party aggregated pricing. Verify final purchasing decisions with the model...",
  "count": 30,
  "fetched_at": "2026-08-07T07:32:42.020Z",
  "marketplace_metadata": {
    "availability": "operational",
    "billable": true,
    "data_mode": "live_source",
    "source": "LiteLLM community pricing database"
  },
  "models": [
    "[nested detail omitted from the challenge header; see the full example in /openapi.json]"
  ],
  "source": "LiteLLM community pricing database",
  "source_url": "https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.jso...",
  "success": true
}

Payment details

Pay to0x8647f7d7a1368a467ad1ff757fbc2e7167973558
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from Community AI Model Pricing Index & similar services