Social Media Sentiment Pulse: Grok 5 (Tier 1)

Grok 5 vs Grok 4.1
Complete Comparison: 25,000 input tokens × 5,000 output tokens
Comparison Mode
⚡ 30% Cached

Complete comparison of pricing, performance, and capabilities for 2 leading AI models with 30% Cached.

⚡ Caching Optimized (up to 90% savings) 📊 Batch API
Comparison Criteria Grok 5
xAI
Grok 4.1
xAI
Calculation Results (Current Inputs) (30% cached)
Input Tokens N/A (Special Pricing) 25,000
Output Tokens N/A (Special Pricing) 5,000
Cost Breakdown
Input Cost N/A (Special Pricing) $0.031250 (rounded ~ $0.03)
Output Cost N/A (Special Pricing) $0.012500 (rounded ~ $0.01)
Unit Cost (Audio/OCR) $0.000000 $0.000000
Service Fees $0.000000 $0.000000
Total Cost $0.028250 (rounded ~ $0.03) Best Value $0.035313 (rounded ~ $0.04) Most Expensive
Processing Time 1 minute, 1.91 seconds Slowest 58.54 seconds Fastest
Tokens per Second N/A (Special Pricing) 550
Time to First Token 190ms Best 200ms Worst
Cost per 1K tokens N/A (Special Pricing) $0.001177
Tokens per Dollar N/A (Special Pricing) 849,558
Cost per 1 Million Tokens (Informational)
Input Cost / 1M (Base) N/A (Special Pricing) $1.250000
Output Cost / 1M (Base) N/A (Special Pricing) $2.500000
Input Cost / 1M (Optimized) N/A (Special Pricing) $1.250000
Optimizations: No optimizations applied
Output Cost / 1M (Optimized) N/A (Special Pricing) $2.500000
Optimizations: No optimizations applied
Capabilities & Advanced Features
Images Support ✓ Supported ✓ Supported
Video Support ✓ Supported ✓ Supported
Audio Support ✓ Supported ✓ Supported
OCR Support ✗ Not Supported ✓ Supported
Caching Support
30
✓ Supported ✓ Supported
Batch API Support ✓ Supported ✗ Not Supported
Tool Usage Support ✓ Supported ✓ Supported
Scroll horizontally to see all data

🔄 Compare Different AI Models

1

First Model

2

Second Model

Select providers and models above, then click "Compare Models" to update the comparison.
All other parameters will be preserved from the current comparison.

Click Recalculate to update after making changes

Select AI Model

Grok 5
xAIMax Context: 1,000,000 tokens
$1.25 / $2.5 per 1M tokens (Standard)
State-dependent pricing active. Current tier: Standard
Use Batch API (50% discount)
30%
Provider-specific multipliers applied after all calculations
Enable for cache discounts
Select platform to enforce context limits
Number of requests (max 1M). Summary view auto-enabled >10k.

Calculate Token Costs

$0.017500 Input Cost
$0.010000 Output Cost
$0.000000 Unit Cost
$0.000000 Search Cost
$0.000000 Request Fee
$0.000000 Tool Fee
$0.000000 Code Execution
30,000Total Tokens
$0.000942Cost per 1K
1,061,947Tokens per $
🔄 Cliff Pricing Active: Using Standard pricing (standard) based on token volume.
📊 Advanced Cost Breakdown

Processing Speed

1m 1s Processing Time
520 Tokens/Second
190ms Time to First Token
486 Effective Speed

Model Comparison

Select a model to see comparisons with competitors.

Model Information

Select a model to see detailed information.

🔄 Advanced Options

⚡ Optimization
Flat fee per session (e.g., $0.03 for Code Interpreter)
Hourly storage fee for cached data
First 50 hours free, $0.05/hour after

🧠 Reasoning & Thinking
Manual thinking tokens (billed at output rate)

🔧 Special Modes
Enable 6.0x Fast Mode multiplier

📚 Research & Citations
Enable $1.00/$4.00 rates + $10.00/1k search
Enable research tier pricing
Fee per source cited

🎤 Realtime Audio & Video
Session length for billing
📊 Multiple Models Detected: This page contains data for 2 models. See the detailed comparison table above, and switch between models using tabs below.

Grok 5 xAI 1000000

$0.028250 (rounded ~ $0.03)
Total Cost
⚡ 30% Cached 📊 Batch API 🔧 Tools
👁️
Vision/Images
✓ Available
🎧
Audio Processing
✓ Available
🎥
Video Analysis
✓ Available
🔧
Tool Usage
✓ Available
📄
OCR Support
✗ Not Available
📊
Batch API
✓ Available
Caching
✓ Available
90% savings

💰 Total Cost Calculation (from Plugin)

Base Cost (No Optimizations) $0.035000 (rounded ~ $0.04) Input: $0.025000 (rounded ~ $0.03)
Output: $0.010000
Optimized Cost $0.028250 (rounded ~ $0.03) Input: $0.025000 (rounded ~ $0.03)
Output: $0.010000
Unit: $0.000000
Fees: $0.000000
Total Savings $0.006750 (rounded ~ $0.01) 19.3% discount

Advanced Cost Breakdown (from Plugin)

📊 Batch API
20.0% off
Asynchronous processing discount
📊 Cliff Pricing
Standard
standard pricing (threshold: 200,000)

Detailed Cost Analysis (from Plugin)

For 25,000 input tokens and 5,000 output tokens:

  • Input Cost: $0.025000 (rounded ~ $0.03)
  • Output Cost: $0.010000
  • Total Cost: $0.028250 (rounded ~ $0.03)
  • Cost per 1K tokens: $0.000942
  • Tokens per dollar: 1,061,947 tokens
  • Context Window: 1000000 tokens

Speed & Performance Analysis

With a processing speed of 520 tokens per second and 190ms time to first token:

  • Processing Time: 1 minute, 1.91 seconds
  • Latency: 190 milliseconds to first token
  • Base Throughput: 520 tokens/second
  • Effective Throughput: 486 tokens/second (temperature-adjusted)

Best Use Cases

Real-time X data analysis for PR and brand management.

Want this applied to YOUR actual stack?

This calculator shows the math for Grok 5. Your decision needs more — current infrastructure, compliance requirements, actual workload patterns, volume tiers — that change which model is right for you.

Get a $39 personalized AI Architecture Audit. PDF tailored to your stack, delivered in under 60 seconds. 7-day no-questions-asked refund.

Get my instant AI audit — $39 →

Grok 4.1 xAI 1000000

$0.035313 (rounded ~ $0.04)
Total Cost
⚡ 30% Cached 📊 Batch API 🔧 Tools
👁️
Vision/Images
✓ Available
🎧
Audio Processing
✓ Available
🎥
Video Analysis
✓ Available
🔧
Tool Usage
✓ Available
📄
OCR Support
✓ Available
📊
Batch API
✗ Not Available
Caching
✓ Available
90% savings

💰 Total Cost Calculation (from Plugin)

Base Cost (No Optimizations) $0.043750 (rounded ~ $0.04) Input: $0.031250 (rounded ~ $0.03)
Output: $0.012500 (rounded ~ $0.01)
Optimized Cost $0.035313 (rounded ~ $0.04) Input: $0.031250 (rounded ~ $0.03)
Output: $0.012500 (rounded ~ $0.01)
Unit: $0.000000
Fees: $0.000000
Total Savings $0.008438 (rounded ~ $0.01) 19.3% discount

Detailed Cost Analysis (from Plugin)

For 25,000 input tokens and 5,000 output tokens:

  • Input Cost: $0.031250 (rounded ~ $0.03)
  • Output Cost: $0.012500 (rounded ~ $0.01)
  • Total Cost: $0.035313 (rounded ~ $0.04)
  • Cost per 1K tokens: $0.001177
  • Tokens per dollar: 849,558 tokens
  • Context Window: 1000000 tokens

Speed & Performance Analysis

With a processing speed of 550 tokens per second and 200ms time to first token:

  • Processing Time: 58.54 seconds
  • Latency: 200 milliseconds to first token
  • Base Throughput: 550 tokens/second
  • Effective Throughput: 514 tokens/second (temperature-adjusted)

Best Use Cases

Real-time X data analysis for PR and brand management.

Want this applied to YOUR actual stack?

This calculator shows the math for Grok 4.1. Your decision needs more — current infrastructure, compliance requirements, actual workload patterns, volume tiers — that change which model is right for you.

Get a $39 personalized AI Architecture Audit. PDF tailored to your stack, delivered in under 60 seconds. 7-day no-questions-asked refund.

Get my instant AI audit — $39 →

✨ Market Recommendations AI Model Registry

← Back to Grok 5
📋 Active Input Parameters
Input Tokens: 25,000
Output Tokens: 5,000
Batch API: Enabled (50% discount)
Cached Tokens: 30%
Tools: Enabled
Rank AI Model & Provider Total Cost vs Grok 5 vs Grok 4.1
🏆 Mistral Small 3
Mistral AI
$0.000831 Best Value ↓ 97.1% cheaper ↓ 97.6% cheaper
🥈 Gemini 3.1 Flash Lite
Google
$0.003016 ↓ 89.3% cheaper ↓ 91.5% cheaper
🥉 Mistral Large 3
Mistral AI
$0.004156 ↓ 85.3% cheaper ↓ 88.2% cheaper
#4 Gemini 3.5 Flash-Lite
Google
$0.004494 ↓ 84.1% cheaper ↓ 87.3% cheaper
#5 Gemini 2.5 Flash
Google
$0.004494 ↓ 84.1% cheaper ↓ 87.3% cheaper
#6 Gemini 3.8 Flash
Google
$0.008109 (rounded ~ $0.01) ↓ 71.3% cheaper ↓ 77% cheaper
#7 GPT-5.4 mini
OpenAI
$0.009047 ↓ 68% cheaper ↓ 74.4% cheaper
#8 o4-mini Deep Research
OpenAI
$0.009563 ↓ 66.2% cheaper ↓ 72.9% cheaper
#9 o4-mini
OpenAI
$0.010519 ↓ 62.8% cheaper ↓ 70.2% cheaper
#10 Claude Haiku 4.5
Anthropic
$0.010813 ↓ 61.7% cheaper ↓ 69.4% cheaper
#11 Gemini 3.1 Flash
Google
$0.012063 (rounded ~ $0.01) ↓ 57.3% cheaper ↓ 65.8% cheaper
#12 GPT-5.6 Luna
OpenAI
$0.012063 (rounded ~ $0.01) ↓ 57.3% cheaper ↓ 65.8% cheaper
#13 Gemini 3.6 Flash
Google
$0.016219 (rounded ~ $0.02) ↓ 42.6% cheaper ↓ 54.1% cheaper
#14 Gemini 3.5 Flash
Google
$0.018094 (rounded ~ $0.02) ↓ 36% cheaper ↓ 48.8% cheaper
#15 Claude Sonnet 5
Anthropic
$0.021625 (rounded ~ $0.02) ↓ 23.5% cheaper ↓ 38.8% cheaper
#16 GPT-5.3 Codex Spark
OpenAI
$0.025484 (rounded ~ $0.03) ↓ 9.8% cheaper ↓ 27.8% cheaper
#17 GPT-5.3 Instant
OpenAI
$0.025484 (rounded ~ $0.03) ↓ 9.8% cheaper ↓ 27.8% cheaper
#18 Grok 4.3
xAI
$0.028250 (rounded ~ $0.03) Same price ↓ 20% cheaper
#19 Grok 4.20 Beta
xAI
$0.028250 (rounded ~ $0.03) Same price ↓ 20% cheaper
#20 GPT-5.6 Terra
OpenAI
$0.030156 ↑ 6.7% more ↓ 14.6% cheaper
#21 Claude Sonnet 4.6
Anthropic
$0.032438 (rounded ~ $0.03) ↑ 14.8% more ↓ 8.1% cheaper
#22 Gemini 2.5 Pro
Google
$0.036406 (rounded ~ $0.04) ↑ 28.9% more ↑ 3.1% more
#23 Gemini 3.1 Pro
Google
$0.048250 (rounded ~ $0.05) ↑ 70.8% more ↑ 36.6% more
#24 Claude Opus 4.7
Anthropic
$0.054063 (rounded ~ $0.05) ↑ 91.4% more ↑ 53.1% more
#25 Claude Opus 5
Anthropic
$0.054063 (rounded ~ $0.05) ↑ 91.4% more ↑ 53.1% more
#26 Claude Opus 4.8
Anthropic
$0.054063 (rounded ~ $0.05) ↑ 91.4% more ↑ 53.1% more
#27 Claude Opus 4.6
Anthropic
$0.054063 (rounded ~ $0.05) ↑ 91.4% more ↑ 53.1% more
#28 GPT-5.4
OpenAI
$0.060313 ↑ 113.5% more ↑ 70.8% more
#29 GPT-5.4 Thinking
OpenAI
$0.060313 ↑ 113.5% more ↑ 70.8% more
#30 GPT-5.5 Instant
OpenAI
$0.060313 ↑ 113.5% more ↑ 70.8% more
#31 GPT-5.6 Sol
OpenAI
$0.060313 ↑ 113.5% more ↑ 70.8% more
#32 o3 Deep Research
OpenAI
$0.095625 (rounded ~ $0.10) ↑ 238.5% more ↑ 170.8% more
#33 Claude Fable 5.1
Anthropic
$0.106719 (rounded ~ $0.11) ↑ 277.8% more ↑ 202.2% more
#34 Claude Mythos 5.1
Anthropic
$0.106719 (rounded ~ $0.11) ↑ 277.8% more ↑ 202.2% more
#35 Claude Fable 5
Anthropic
$0.108125 (rounded ~ $0.11) ↑ 282.7% more ↑ 206.2% more
#36 Claude Mythos 5
Anthropic
$0.108125 (rounded ~ $0.11) ↑ 282.7% more ↑ 206.2% more
#37 GPT-5.5
OpenAI
$0.120625 ↑ 327% more ↑ 241.6% more
#38 o3 Pro
OpenAI
$0.191250 (rounded ~ $0.19) ↑ 577% more ↑ 441.6% more
#39 GPT-6 Astra
OpenAI
$0.216250 (rounded ~ $0.22) ↑ 665.5% more ↑ 512.4% more
#40 GPT-5.2 Pro
OpenAI
$0.305813 (rounded ~ $0.31) ↑ 982.5% more ↑ 766% more
#41 GPT-5.2 Pro
OpenAI
$0.305813 (rounded ~ $0.31) ↑ 982.5% more ↑ 766% more
🏆

Mistral Small 3
Mistral AI

$0.000831
vs Grok 5: ↓ 97.1%
vs Grok 4.1: ↓ 97.6%
🥈

Gemini 3.1 Flash Lite
Google

$0.003016
vs Grok 5: ↓ 89.3%
vs Grok 4.1: ↓ 91.5%
🥉

Mistral Large 3
Mistral AI

$0.004156
vs Grok 5: ↓ 85.3%
vs Grok 4.1: ↓ 88.2%
#4

Gemini 3.5 Flash-Lite
Google

$0.004494
vs Grok 5: ↓ 84.1%
vs Grok 4.1: ↓ 87.3%
#5

Gemini 2.5 Flash
Google

$0.004494
vs Grok 5: ↓ 84.1%
vs Grok 4.1: ↓ 87.3%
#6

Gemini 3.8 Flash
Google

$0.008109 (rounded ~ $0.01)
vs Grok 5: ↓ 71.3%
vs Grok 4.1: ↓ 77%
#7

GPT-5.4 mini
OpenAI

$0.009047
vs Grok 5: ↓ 68%
vs Grok 4.1: ↓ 74.4%
#8

o4-mini Deep Research
OpenAI

$0.009563
vs Grok 5: ↓ 66.2%
vs Grok 4.1: ↓ 72.9%
#9

o4-mini
OpenAI

$0.010519
vs Grok 5: ↓ 62.8%
vs Grok 4.1: ↓ 70.2%
#10

Claude Haiku 4.5
Anthropic

$0.010813
vs Grok 5: ↓ 61.7%
vs Grok 4.1: ↓ 69.4%
#11

Gemini 3.1 Flash
Google

$0.012063 (rounded ~ $0.01)
vs Grok 5: ↓ 57.3%
vs Grok 4.1: ↓ 65.8%
#12

GPT-5.6 Luna
OpenAI

$0.012063 (rounded ~ $0.01)
vs Grok 5: ↓ 57.3%
vs Grok 4.1: ↓ 65.8%
#13

Gemini 3.6 Flash
Google

$0.016219 (rounded ~ $0.02)
vs Grok 5: ↓ 42.6%
vs Grok 4.1: ↓ 54.1%
#14

Gemini 3.5 Flash
Google

$0.018094 (rounded ~ $0.02)
vs Grok 5: ↓ 36%
vs Grok 4.1: ↓ 48.8%
#15

Claude Sonnet 5
Anthropic

$0.021625 (rounded ~ $0.02)
vs Grok 5: ↓ 23.5%
vs Grok 4.1: ↓ 38.8%
#16

GPT-5.3 Codex Spark
OpenAI

$0.025484 (rounded ~ $0.03)
vs Grok 5: ↓ 9.8%
vs Grok 4.1: ↓ 27.8%
#17

GPT-5.3 Instant
OpenAI

$0.025484 (rounded ~ $0.03)
vs Grok 5: ↓ 9.8%
vs Grok 4.1: ↓ 27.8%
#18

Grok 4.3
xAI

$0.028250 (rounded ~ $0.03)
vs Grok 5: Same
vs Grok 4.1: ↓ 20%
#19

Grok 4.20 Beta
xAI

$0.028250 (rounded ~ $0.03)
vs Grok 5: Same
vs Grok 4.1: ↓ 20%
#20

GPT-5.6 Terra
OpenAI

$0.030156
vs Grok 5: ↑ 6.7%
vs Grok 4.1: ↓ 14.6%
#21

Claude Sonnet 4.6
Anthropic

$0.032438 (rounded ~ $0.03)
vs Grok 5: ↑ 14.8%
vs Grok 4.1: ↓ 8.1%
#22

Gemini 2.5 Pro
Google

$0.036406 (rounded ~ $0.04)
vs Grok 5: ↑ 28.9%
vs Grok 4.1: ↑ 3.1%
#23

Gemini 3.1 Pro
Google

$0.048250 (rounded ~ $0.05)
vs Grok 5: ↑ 70.8%
vs Grok 4.1: ↑ 36.6%
#24

Claude Opus 4.7
Anthropic

$0.054063 (rounded ~ $0.05)
vs Grok 5: ↑ 91.4%
vs Grok 4.1: ↑ 53.1%
#25

Claude Opus 5
Anthropic

$0.054063 (rounded ~ $0.05)
vs Grok 5: ↑ 91.4%
vs Grok 4.1: ↑ 53.1%
#26

Claude Opus 4.8
Anthropic

$0.054063 (rounded ~ $0.05)
vs Grok 5: ↑ 91.4%
vs Grok 4.1: ↑ 53.1%
#27

Claude Opus 4.6
Anthropic

$0.054063 (rounded ~ $0.05)
vs Grok 5: ↑ 91.4%
vs Grok 4.1: ↑ 53.1%
#28

GPT-5.4
OpenAI

$0.060313
vs Grok 5: ↑ 113.5%
vs Grok 4.1: ↑ 70.8%
#29

GPT-5.4 Thinking
OpenAI

$0.060313
vs Grok 5: ↑ 113.5%
vs Grok 4.1: ↑ 70.8%
#30

GPT-5.5 Instant
OpenAI

$0.060313
vs Grok 5: ↑ 113.5%
vs Grok 4.1: ↑ 70.8%
#31

GPT-5.6 Sol
OpenAI

$0.060313
vs Grok 5: ↑ 113.5%
vs Grok 4.1: ↑ 70.8%
#32

o3 Deep Research
OpenAI

$0.095625 (rounded ~ $0.10)
vs Grok 5: ↑ 238.5%
vs Grok 4.1: ↑ 170.8%
#33

Claude Fable 5.1
Anthropic

$0.106719 (rounded ~ $0.11)
vs Grok 5: ↑ 277.8%
vs Grok 4.1: ↑ 202.2%
#34

Claude Mythos 5.1
Anthropic

$0.106719 (rounded ~ $0.11)
vs Grok 5: ↑ 277.8%
vs Grok 4.1: ↑ 202.2%
#35

Claude Fable 5
Anthropic

$0.108125 (rounded ~ $0.11)
vs Grok 5: ↑ 282.7%
vs Grok 4.1: ↑ 206.2%
#36

Claude Mythos 5
Anthropic

$0.108125 (rounded ~ $0.11)
vs Grok 5: ↑ 282.7%
vs Grok 4.1: ↑ 206.2%
#37

GPT-5.5
OpenAI

$0.120625
vs Grok 5: ↑ 327%
vs Grok 4.1: ↑ 241.6%
#38

o3 Pro
OpenAI

$0.191250 (rounded ~ $0.19)
vs Grok 5: ↑ 577%
vs Grok 4.1: ↑ 441.6%
#39

GPT-6 Astra
OpenAI

$0.216250 (rounded ~ $0.22)
vs Grok 5: ↑ 665.5%
vs Grok 4.1: ↑ 512.4%
#40

GPT-5.2 Pro
OpenAI

$0.305813 (rounded ~ $0.31)
vs Grok 5: ↑ 982.5%
vs Grok 4.1: ↑ 766%
#41

GPT-5.2 Pro
OpenAI

$0.305813 (rounded ~ $0.31)
vs Grok 5: ↑ 982.5%
vs Grok 4.1: ↑ 766%
✨ How recommendations work (v8.6.0): We scan all active models in the registry and only include those that support ALL your current inputs. For token-based models, we check if they can handle your token counts. For special pricing models (OCR, video, audio), we verify they have the correct pricing structure. Features marked requested were in your inputs but not supported by that model. Now using official provider pricing without reseller markups.

Real-time X data analysis for PR and brand management.

Estimate the operational costs for 2026 enterprise AI deployments using latest tokenomics.

Frequently Asked Questions

How accurate are these AI model cost calculations?
Our calculations are based on official pricing from each provider (Google, OpenAI, Anthropic, Meta, xAI, Perplexity, DeepSeek, Mistral) and are updated regularly. We account for all factors including multimodal inputs, caching discounts, batch API pricing, tool usage multipliers, OCR processing, audio minutes, silence fees, and research mode pricing. Note: Reseller markups and dedicated instance multipliers have been removed to reflect official provider pricing.
How does prompt caching work?
Caching discounts vary by provider: Google and OpenAI offer 90% discounts on cached input tokens. Anthropic uses write (1.25x) and read (0.10x) multipliers. Savings are applied to the token portion only, not unit-based fees.
How do Market Recommendations work (v8.6.0)?
Our recommendation engine scans the entire model registry and only includes models that support ALL your current input parameters (tokens, images, video, audio, OCR, tools, batch API, etc.). It calculates exact costs with your settings and sorts by price, showing you the best value options that can handle your complete workflow. Special pricing models (OCR, video, audio, image generation) are properly handled and only appear when their specific input types are requested. v8.6.0 removes reseller markups (20% buffer) and dedicated instance multipliers to reflect official provider pricing.
What is the YemHub AI Calculator Tool?
The YemHub AI Calculator is the most comprehensive tool for estimating costs and comparing performance metrics across 50+ AI models. It calculates token-based pricing, analyzes multimodal processing, accounts for state-dependent pricing (context cliffs, tiered tunnels), provides optimization recommendations, and now offers intelligent market matching to find the best alternatives for your specific needs.