✨ A free resource from the makers of Vizra - Agent evals for Laravel

Real-time AI & LLM Model Pricing

From the creators of Vizra

Writing evals for your AI agents? Compare costs across 113+ models to budget accurately.
Free API with real-time pricing data updated daily.

113
AI Models Tracked
8
Providers Supported
Free
API Access

AI Model Pricing Comparison

Model ↕ Provider ↕ Input $/1M ↕ Output $/1M ↕
gpt-5-nano Openai $0.05 $0.40
us-gov.nvidia.nemotron-nano-3-30b Aws $0.072 $0.288
us-gov.nvidia.nemotron-nano-9b-v2 Aws $0.072 $0.276
together-ai-up-to-4b Together $0.10 $0.10
gpt-6-luna Openai $0.10 $0.50
claude-haiku-5-5 Anthropic $0.10 $0.50
us-gov.anthropic.claude-haiku-5-5 Aws $0.12 $0.60
gpt-4o-mini Openai $0.15 $0.60
gpt-4o-mini-search-preview Openai $0.15 $0.60
us-gov.nvidia.nemotron-super-3-120b Aws $0.18 $0.78
gpt-5.6-luna Openai $0.20 $1.2
gpt-5.4-nano Openai $0.20 $1.25
jamba-1.5 Other $0.20 $0.40
jamba-1.5-mini Other $0.20 $0.40
jamba-1.5-mini@001 Other $0.20 $0.40
jamba-mini-1.6 Other $0.20 $0.40
jamba-mini-1.7 Other $0.20 $0.40
together-ai-4.1b-8b Together $0.20 $0.20
us-gov.nvidia.nemotron-nano-12b-v2 Aws $0.24 $0.72
gemini-3.1-flash-lite-preview Google $0.25 $1.5
gemini-3.1-flash-lite Google $0.25 $1.5
gpt-5-mini Openai $0.25 $2
gemini-3.5-flash-lite Google $0.30 $2.5
gemini-robotics-er-1.5-preview Google $0.30 $2.5
together-ai-8.1b-21b Together $0.30 $0.30
deepseek-v4-flash Deepseek $0.30 $1.2
deepseek-v4-flash-vision-exp Deepseek $0.30 $1.2
deepseek-flash Deepseek $0.30 $1.2
gpt-4.1-mini Openai $0.40 $1.6
chatdolphin Other $0.50 $0.50
dolphin Other $0.50 $0.50
gemini-3-flash-preview Google $0.50 $3
c4ai-aya-expanse-32b Cohere $0.50 $1.5
gpt-audio-mini Openai $0.60 $2.4
gemini-3.6-flash Google $0.75 $3.75
gemini-3.7-flash Google $0.75 $3.75
gpt-5.4-mini Openai $0.75 $4.5
gemini-3.8-flash Google $0.75 $3.75
together-ai-21.1b-41b Together $0.80 $0.80
together-ai-41.1b-80b Together $0.90 $0.90
claude-haiku-4-5 Anthropic $1 $5
command-nightly Cohere $1 $2
gemini-2.5-pro-preview-tts Google $1 $20
gemini-robotics-er-2-preview Google $1 $5
gpt-6.1-terra Openai $1 $5
gpt-5 Openai $1.25 $10
gpt-5.1 Openai $1.25 $10
gpt-5-search-api Openai $1.25 $10
deepseek-v4-pro Deepseek $1.32 $3.96
gemini-omni-flash-preview Google $1.5 $9
gemini-3.5-flash Google $1.5 $9
gemini-3.8-flash-cyber Google $1.5 $7.5
gpt-5.2 Openai $1.75 $14
gpt-5.3-codex Openai $1.75 $14
together-ai-81.1b-110b Together $1.8 $1.8
claude-sonnet-5 Anthropic $2 $10
gemini-3.1-pro-preview Google $2 $12
gemini-3.1-pro-preview-customtools Google $2 $12
gpt-4.1 Openai $2 $8
gpt-5.6-terra Openai $2 $12
jamba-1.5-large Other $2 $8
jamba-1.5-large@001 Other $2 $8
jamba-large-1.6 Other $2 $8
jamba-large-1.7 Other $2 $8
o3 Openai $2 $8
gpt-6-sol Openai $2 $10
claude-sonnet-5-5 Anthropic $2 $10
gpt-6.1-sol Openai $2 $10
us-gov.anthropic.claude-sonnet-5 Aws $2.4 $12
us-gov.anthropic.claude-sonnet-5-5 Aws $2.4 $12
gpt-4o Openai $2.5 $10
gpt-audio Openai $2.5 $10
gpt-audio-1.5 Openai $2.5 $10
gpt-4o-search-preview Openai $2.5 $10
gpt-5.4 Openai $2.5 $15
us-gov.xai.grok-4.6 Aws $2.64 $7.92
claude-sonnet-4-5 Anthropic $3 $15
claude-sonnet-4-6 Anthropic $3 $15
j2-light Other $3 $3
gpt-5.6 Openai $4 $20
gpt-5.6-sol Openai $4 $20
claude-opus-5-5 Anthropic $4 $20
us-gov.anthropic.claude-opus-5-5 Aws $4.8 $24
claude-opus-4-5 Anthropic $5 $25
claude-opus-4-6 Anthropic $5 $25
claude-opus-4-7 Anthropic $5 $25
claude-opus-5 Anthropic $5 $25
claude-opus-4-8 Anthropic $5 $25
gpt-5.5 Openai $5 $30
gpt-rosalind-research Openai $5 $25
gpt-rosalind-discovery Openai $5 $25
us-gov.anthropic.claude-opus-4-8 Aws $6 $30
us-gov.anthropic.claude-opus-5 Aws $6 $30
claude-fable-5 Anthropic $10 $50
j2-mid Other $10 $10
text-unicorn Other $10 $28
text-unicorn@001 Other $10 $28
claude-mythos-5 Anthropic $10 $50
claude-fable-5-1 Anthropic $10 $50
gpt-6-astra Openai $10 $50
claude-mythos-5-1 Anthropic $10 $50
gpt-6-astra-law Openai $10 $50
us-gov.anthropic.claude-fable-5-1 Aws $12 $60
gpt-5.6-cyber Openai $12.5 $75
gpt-5.5-cyber Openai $12.5 $75
gpt-5.5-cyber-preview Openai $12.5 $75
gpt-5-pro Openai $15 $120
j2-ultra Other $15 $15
gpt-6-rosalind Openai $15 $75
o3-pro Openai $20 $80
gpt-5.2-pro Openai $21 $168
gpt-5.5-pro Openai $30 $180
gpt-5.4-pro Openai $30 $180

Token Cost Calculator

0 characters ≈ 0 tokens
Enter text to see cost estimates

Free API Access

Get real-time pricing data for your applications:

GET https://vizra.ai/api/v1/pricing/ai-models
<?php

// Using file_get_contents
$response = file_get_contents('https://vizra.ai/api/v1/pricing/ai-models');
$pricing = json_decode($response, true);

// Display all models and their prices
foreach ($pricing['data']['models'] as $model => $data) {
    echo $model . ': $' . $data['input_price_per_million'] . "/M tokens\n";
}

// Or use with the Vizra AI Tokens package
// composer require vizra-ai/ai-tokens

use VizraAi\AiTokens\TokenCalculator;

$calculator = new TokenCalculator();
$cost = $calculator->calculateCost('gpt-4', 'Your text here');
echo "Cost: $" . $cost;
// Fetch pricing data
async function getPricing() {
    const response = await fetch('https://vizra.ai/api/v1/pricing/ai-models');
    const data = await response.json();
    
    // Access specific model pricing
    const gpt4Price = data.data.models['gpt-4'].input_price_per_million;
    console.log(`GPT-4 Input Price: $${gpt4Price}/M tokens`);
    
    // List all models
    Object.entries(data.data.models).forEach(([model, pricing]) => {
        console.log(`${model}: $${pricing.input_price_per_million}/M input tokens`);
    });
}

// Calculate costs for your usage
function calculateCost(model, inputTokens, outputTokens) {
    const pricing = data.data.models[model];
    const inputCost = (inputTokens / 1000000) * pricing.input_price_per_million;
    const outputCost = (outputTokens / 1000000) * pricing.output_price_per_million;
    return inputCost + outputCost;
}
import requests
import json

# Fetch pricing data
response = requests.get('https://vizra.ai/api/v1/pricing/ai-models')
data = response.json()

# Access pricing for specific models
models = data['data']['models']
gpt4_price = models['gpt-4']['input_price_per_million']
print(f"GPT-4 Input Price: ${gpt4_price}/M tokens")

# List all models with their pricing
for model, pricing in models.items():
    input_price = pricing['input_price_per_million']
    output_price = pricing['output_price_per_million']
    print(f"{model}:")
    print(f"  Input: ${input_price}/M tokens")
    print(f"  Output: ${output_price}/M tokens")

# Calculate costs for your usage
def calculate_cost(model_name, input_tokens, output_tokens):
    model = models[model_name]
    input_cost = (input_tokens / 1_000_000) * model['input_price_per_million']
    output_cost = (output_tokens / 1_000_000) * model['output_price_per_million']
    return input_cost + output_cost
Rate Limit
100 requests/hour per IP
Cache
Data cached for 1 hour
Updates
Daily at 2 AM UTC

Ready to Eval Your Laravel AI Agents?

Vizra Evals writes agent evals as Pest tests and prices every run with this same pricing data, so cost regressions show up alongside quality regressions.