AI Model Pricing Tracker avatar

AI Model Pricing Tracker

Pricing

Pay per usage

Go to Apify Store
AI Model Pricing Tracker

AI Model Pricing Tracker

Track real-time AI pricing: 445+ API models and 65 subscription plans from OpenAI, Anthropic, Google, xAI, Mistral, GitHub, Cursor, and more. Filter by provider, price, or sort order. Export JSON data for cost analysis and budgeting.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Sakib Al Hasan Naim

Sakib Al Hasan Naim

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Real-time pricing for 445+ AI models and 65 subscription plans from 13 providers — all in one place.

What It Does

Fetches current API pricing (per-token costs) and subscription plans from OpenRouter and major AI providers. Every run returns fresh, structured JSON data you can use for cost analysis, budgeting, market research, and competitive intelligence.

Data Included

  • 445+ API models — input, output, cache pricing per million tokens
  • 65 subscription plans — ChatGPT, Claude, Gemini, Grok, Copilot, Cursor, Windsurf, Mistral, Perplexity, Replit, and more
  • 13 providers — OpenAI, Anthropic, Google, xAI, Mistral, Microsoft, GitHub, Cursor, Windsurf, Replit, Perplexity, Cohere, Meta

Input Parameters

ParameterTypeDefaultDescription
providersstring[][]Filter by provider (e.g. ["openai", "anthropic"])
minPricenumber0Minimum prompt price ($/M tokens)
maxPricenumber0Maximum price (0 = no limit)
includeFreebooleantrueInclude free models
sortBystring"price-asc"Sort: price-asc, price-desc, name, context-desc

Output Schema

Each API model entry:

{
"model_id": "openai/gpt-4o",
"name": "GPT-4o",
"provider": "openai",
"type": "api",
"pricing": {
"prompt_per_m_tokens": 2.5,
"completion_per_m_tokens": 10.0,
"cache_read_per_m_tokens": 1.25
},
"context_length": 128000,
"is_free": false
}

Each subscription plan entry:

{
"provider": "openai",
"plan_name": "ChatGPT Plus",
"type": "subscription",
"price_monthly_usd": 20,
"features": ["GPT-5.6", "Deep Research", "Codex"],
"url": "https://chatgpt.com/pricing/"
}

How to Use

Quick Start

  1. Add this Actor to your account
  2. Click Start with default input (empty {})
  3. Check the Dataset tab for results

Filter by Provider

{"providers": ["openai", "anthropic", "google"]}

Find Cheapest Models (exclude free)

{"includeFree": false, "sortBy": "price-asc", "maxPrice": 1.0}

Via API

# Set your token
export APIFY_TOKEN=your_token
# Run the Actor
curl "https://api.apify.com/v2/acts/asN08mVaKBET0T81t/runs?token=$APIFY_TOKEN" \
-X POST \
-d '{"providers": ["openai"]}' \
-H 'Content-Type: application/json'
# Get results
curl "https://api.apify.com/v2/datasets/YOUR_DATASET_ID/items?token=$APIFY_TOKEN"

Via Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("naimhasan/ai-model-pricing").call(input={
"providers": ["openai", "anthropic"],
"sortBy": "price-asc"
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"{item['model_id']}: ${item['pricing']['prompt_per_m_tokens']}/M")

Via JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('naimhasan/ai-model-pricing').call({
providers: ['openai', 'anthropic'],
sortBy: 'price-asc'
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach(item => console.log(`${item.model_id}: $${item.pricing.prompt_per_m_tokens}/M`));

Use Cases

  • Cost optimization — find the cheapest model for your workload
  • Market research — track AI pricing trends over time
  • Budget planning — estimate API costs before committing
  • Competitive analysis — compare providers side by side
  • Product building — power AI cost calculators or comparison tools

Data Source

  • API pricing: OpenRouter (real-time, 445+ models)
  • Subscription plans: Manually curated and verified against official pricing pages (last verified September 2026)

Pricing

Free to use. Standard Apify platform compute costs apply.

Updates

Data refreshes on every run. Subscription plans are updated when providers change pricing. Run the Actor on a schedule to track price changes over time.


Built with ❤️ by naimhasan