$0.01
per call · USD Coin on Base
AI model pricing comparison table: what every AI model costs right now — GPT-5, GPT-4o, Claude 5, Claude Sonnet, Gemini 3 Pro, Llama 4, DeepSeek V4, Grok 4 and 2,000+ more. One normalized dataset of LLM token cost and inference pricing across OpenAI, Anthropic, Google and 70+ providers, refreshed hourly. Compare models by price, rank by cost, pick the cheapest model for any workload.
Endpoint
GET https://modelprices.xyz/ai-model-pricing3
Calls / 30d
1
Unique payers / 30d
Aug 28
Last called
exact
Payment scheme
Call this service
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://modelprices.xyz/ai-model-pricing", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://modelprices.xyz/ai-model-pricing" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"generated_at": "2026-07-14T02:00:00.000Z",
"model_count": 2164,
"models": [
{
"id": "claude-sonnet-5",
"input_per_mtok": 3,
"output_per_mtok": 15,
"provider": "anthropic"
}
],
"provider_count": 72
}Payment details
0x63a20fa244d3e6a8902121e99704b7f857dc6ebbUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of AI & Inference and the homepage with a featured placement.
More from Modelprices & similar services
Modelprices · LLM Prices
modelprices.xyz
Compare AI model prices side-by-side: a live price leaderboard of LLM token cost for GPT-5, Claude 5, Claude Sonnet, Gemini 3 Pro, Llama 4, DeepSeek V4, Grok 4, Mistral Large and 2,000+ more models across 70+ providers (OpenAI, Anthropic, Google, Meta, xAI). Inference cost per token — input, output, cache and batch USD per 1M tokens — ranked, normalized into one table, cross-checked across two sources, refreshed hourly. Find the cheapest model and estimate token budgets.
Modelprices · LLM Limits
modelprices.xyz
AI model capability, specs and limits table for 2,000+ LLMs — GPT-5, GPT-4o, Claude 5, Claude Sonnet, Gemini 3 Pro, Llama 4, DeepSeek V4 and more: context window size, max output tokens, vision/audio/function-calling/reasoning support. Compare model constraints side-by-side across every provider to pick the right model for long-context, multimodal, or tool-use workloads. Refreshed hourly.
Modelprices · LLM Price Changes
modelprices.xyz
LLM price-change alert feed: track when OpenAI, Anthropic, Google or any AI provider reprices GPT, Claude, Gemini or any model's inference cost per token — old vs new price, percent delta, when it happened, plus newly launched and removed models. Structured JSON diffed from hourly snapshots; ideal for cost monitoring, repricing triggers, and AI market intelligence.