78trust / 100

Ai Model Pricing

by Community AI Model Pricing Index in AI models & inference

x402 APIPassing, checked 2 h ago

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

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
176 ms typical, 248 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/ai_model_pricing?providers=openai%2Canthropic"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fai-data-marketplace-1042299154756.us-central1.run.app%2Fapi%2Fv1%2Fai_model_pricing
const res = await pay("https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/ai_model_pricing?providers=openai%2Canthropic");
console.log(await res.json());

Example input

{
  "providers": "openai,anthropic"
}

Example output

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

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402173 ms$0.01
5 h agoPassed402246 ms$0.01
9 h agoPassed402175 ms$0.01
12 h agoPassed402183 ms$0.01
16 h agoPassed402199 ms$0.01
19 h agoPassed402248 ms$0.01
23 h agoPassed402237 ms$0.01
27 h agoPassed402173 ms$0.01
30 h agoPassed402176 ms$0.01
34 h agoPassed402143 ms$0.01
37 h agoPassed402162 ms$0.01
43 h agoPassed402249 ms$0.01