AI Model Pricing

Because keeping up with AI pricing shouldn't require its own AI.

Compare API pricing across every major provider -- scraped daily from official sources. Free JSON API, no auth required.

-- model prices -- providers Updated: --
Loading pricing data...

JSON API for Developers

All data is served as static JSON via CDN. No authentication required. No rate limits. No cost. Call from anywhere.

All Models

Complete pricing database with every provider and model.

/api/v1/pricing.json

By Provider

All models from a single provider.

/api/v1/providers/{provider}.json

By Family

All models in a family (e.g., gpt-5, claude-4).

/api/v1/families/{family}.json

Single Model

Detailed pricing for one model by its ID.

/api/v1/models/{model_id}.json

By Modality

Models by output type: text, image_gen, audio, vision, embedding, video_gen.

/api/v1/modalities/{modality}.json

API Index

Discover all endpoints and available providers/families.

/api/v1/index.json

Quick Start

// Fetch all pricing data
const res = await fetch("https://ai-model-pricing.com/api/v1/pricing.json");
const data = await res.json();

// Or fetch a single provider
const openai = await fetch("https://ai-model-pricing.com/api/v1/providers/openai.json");
const openaiData = await openai.json();
console.log(openaiData.models); // Array of OpenAI models with pricing

// Or fetch by modality (text, image_gen, audio, vision, embedding, video_gen)
const textModels = await fetch("https://ai-model-pricing.com/api/v1/modalities/text.json");
const textData = await textModels.json();
console.log(textData.model_count); // Number of text generation models