MarginPilot

AI LLM & Automation API Cost Calculators (55)

Model monthly API spend by daily active users, prompt length, output tokens, and prompt caching hit rate.

OpenAI GPT-4o llm
$2.5/1M in • $10/1M out
OpenAI GPT-4o mini llm
$0.15/1M in • $0.6/1M out
Anthropic Claude 3.5 Sonnet llm
$3/1M in • $15/1M out
Anthropic Claude 3.5 Haiku llm
$0.8/1M in • $4/1M out
Google Gemini 2.5 Flash llm
$0.15/1M in • $0.6/1M out
Google Gemini 2.5 Pro reasoning
$1.25/1M in • $10/1M out
DeepSeek DeepSeek V3 llm
$0.27/1M in • $1.1/1M out
DeepSeek DeepSeek R1 (Reasoning) reasoning
$0.55/1M in • $2.19/1M out
Zapier Zapier Tasks Volume Cost automation
Base $29.99/mo
Make.com Make Operations Volume Cost automation
Base $16/mo
OpenAI o1 Reasoning reasoning
$15/1M in • $60/1M out
OpenAI o3-mini reasoning
$1.1/1M in • $4.4/1M out
OpenAI GPT-4.1 llm
$2/1M in • $8/1M out
OpenAI GPT-4.1 mini llm
$0.4/1M in • $1.6/1M out
OpenAI GPT-4.1 nano llm
$0.1/1M in • $0.4/1M out
OpenAI GPT-4 Turbo (Legacy) llm
$10/1M in • $30/1M out
Anthropic Claude 3.7 Sonnet reasoning
$3/1M in • $15/1M out
Anthropic Claude Sonnet 4 llm
$3/1M in • $15/1M out
Anthropic Claude Opus 4 reasoning
$15/1M in • $75/1M out
Anthropic Claude 3 Opus (Legacy) llm
$15/1M in • $75/1M out
Google Gemini 2.0 Flash llm
$0.1/1M in • $0.4/1M out
Google Gemini 2.0 Flash-Lite llm
$0.075/1M in • $0.3/1M out
Google Gemini 1.5 Pro llm
$1.25/1M in • $5/1M out
Google Gemini 1.5 Flash llm
$0.075/1M in • $0.3/1M out
Groq Llama 3.3 70B Versatile llm
$0.59/1M in • $0.79/1M out
Groq Llama 3.1 8B Instant llm
$0.05/1M in • $0.08/1M out
Together AI Llama 3.1 405B Instruct llm
$3.5/1M in • $3.5/1M out
Mistral Mistral Large 2 llm
$2/1M in • $6/1M out
Mistral Mistral Small 3 llm
$0.1/1M in • $0.3/1M out
Alibaba / Together Qwen 2.5 72B Instruct llm
$1.2/1M in • $1.2/1M out
xAI Grok 2 llm
$2/1M in • $10/1M out
Perplexity Sonar Pro (Search + LLM) llm
$3/1M in • $15/1M out
Cohere Command R+ (RAG) llm
$2.5/1M in • $10/1M out
OpenAI text-embedding-3-small llm
$0.02/1M in • $0/1M out
OpenAI text-embedding-3-large llm
$0.13/1M in • $0/1M out
ElevenLabs TTS Creator/Scale (~$180/1M chars) audio
$0/1M in • $180/1M out
OpenAI TTS HD ($30/1M chars) audio
$0/1M in • $30/1M out
OpenAI Whisper Audio Transcription ($0.006/min) audio
$0/1M in • $6/1M out
n8n n8n Cloud Pro ($50/mo — 10k Executions) automation
Base $50/mo
n8n Self-Hosted n8n on Hostinger KVM VPS ($6/mo Unlimited) automation
Base $6/mo
Zapier Zapier Team Plan ($69/mo + Task Overages) automation
Base $69/mo
Make.com Make Pro 100k+ Ops Scale automation
Base $16/mo
RAG Architecture SaaS RAG Support Chatbot (GPT-4o mini) llm
$0.15/1M in • $0.6/1M out
Agentic Coding AI Coding Agent (Claude Sonnet 4 Loop) llm
$3/1M in • $15/1M out
Support AI AI Helpdesk Triage (Claude 3.5 Haiku) llm
$0.8/1M in • $4/1M out
OpenAI Batch GPT-4o Batch API (50% Off Async) llm
$1.25/1M in • $5/1M out
Anthropic Batch Claude Sonnet 4 Batch API (50% Off) llm
$1.5/1M in • $7.5/1M out
Voice AI Voice AI Agent Stack (STT + LLM + TTS) audio
$2.5/1M in • $10/1M out
AWS Bedrock Claude 3.5 Sonnet on AWS Bedrock llm
$3/1M in • $15/1M out
Google Vertex AI Gemini 2.5 Flash on Vertex AI llm
$0.15/1M in • $0.6/1M out
Azure OpenAI GPT-4o on Azure OpenAI llm
$2.5/1M in • $10/1M out
Fireworks AI DeepSeek R1 Serverless (Fast) reasoning
$3/1M in • $8/1M out
OpenAI GPT-4o Realtime Text+Audio ($5/$20) audio
$5/1M in • $20/1M out
Anthropic Claude 3 Haiku ($0.25 / $1.25) llm
$0.25/1M in • $1.25/1M out
Automation ROI Agency 50k Tasks: Zapier vs n8n automation
Base $69/mo