LLM Token & API Cost Calculator
Model multi-agent API expenses across Claude 3.5, GPT-4o, Gemini 1.5, Llama 3.3, and private Whisper runtimes. Account for prompt caching discounts, batch SLAs, and simulate private on-prem or AWS Bedrock endpoints.
Workload Parameters
Prompt, system instructions, RAG context
Tool calls, code generation, responses
Applies up to 90% discount on repeated prompt prefixes (Anthropic prompt cache, OpenAI cached tokens, Gemini cached context).
Multi-Provider Cost Matrix
| Model & Provider | Rate / 1M Tokens (In / Out) | Cache Rate / 1M | Cost / Req | Monthly Total | vs. Selected Baseline | Action |
|---|---|---|---|---|---|---|
Claude 3.5 Sonnet Anthropic / AWS Bedrock Frontier High-Reasoning | $3.00 in / $15.00 out ctx: 200.0k | $0.30090% off input | $0.0155 | $1,552.50 $18,630.00/yr | Baseline | Active |
Claude 3.5 Haiku Anthropic / AWS Bedrock Fast & Efficient | $0.80 in / $4.00 out ctx: 200.0k | $0.08090% off input | $0.0041 | $414.00 $4,968.00/yr | -$1,138.50 (-73.3%) | |
GPT-4o OpenAI / Azure Frontier Multimodal | $2.50 in / $10.00 out ctx: 128.0k | $1.25050% off input | $0.0131 | $1,306.25 $15,675.00/yr | -$246.25 (-15.9%) | |
GPT-4o mini OpenAI / Azure Fast & Efficient | $0.15 in / $0.60 out ctx: 128.0k | $0.07550% off input | $0.0008 | $78.38 $940.50/yr | -$1,474.13 (-95.0%) | |
Gemini 1.5 Pro Google Cloud Vertex AI Ultra-Long Context | $3.50 in / $10.50 out ctx: 2.00M | $0.87575% off input | $0.0145 | $1,448.13 $17,377.50/yr | -$104.38 (-6.7%) | |
Gemini 1.5 Flash Google Cloud Vertex AI High-Throughput | $0.07 in / $0.30 out ctx: 1.00M | $0.01975% off input | $0.0004 | $35.91 $430.88/yr | -$1,516.59 (-97.7%) | |
Llama 3.3 70B (Instruct) Meta / AWS Bedrock / Groq Open-Weights Sovereign | $0.72 in / $0.72 out ctx: 128.0k | $0.7200% off input | $0.0030 | $298.80 $3,585.60/yr | -$1,253.70 (-80.8%) | |
DeepSeek-V3 DeepSeek / Fireworks / Together High-Performance MoE | $0.27 in / $1.10 out ctx: 64.0k | $0.07074% off input | $0.0013 | $131.00 $1,572.00/yr | -$1,421.50 (-91.6%) | |
Amazon Titan Text Express Amazon Web Services (Bedrock) AWS Native General | $0.20 in / $0.60 out ctx: 32.0k | $0.2000% off input | $0.0011 | $109.00 $1,308.00/yr | -$1,443.50 (-93.0%) | |
Fine-Tuned Whisper v3 (Inference) AIConnect Private AWS EKS / vLLM Telephony Speech AI | $0.12 in / $0.35 out ctx: 16.0k | $0.05058% off input | $0.0005 | $52.50 $630.00/yr | -$1,500.00 (-96.6%) |
Prompt Caching ROI
Agentic workflows maintain long system prompts, tool schemas, and repository trees. Activating prompt caching with 50%+ reuse slashes multi-agent token bills by up to 70%.
Private VPC & Sovereign Hosting
Air-gapped and high-throughput pipelines (e.g. Llama 3.3 70B on AWS Bedrock or dedicated EKS vLLM clusters) eliminate per-token volatility for predictable compute expenses.
Tiered Agent Routing
Route initial intent classification to ultra-cheap models (e.g. GPT-4o mini, Gemini Flash) while reserving frontier models (Claude 3.5 Sonnet) strictly for tool execution.
Need to Optimize Your Enterprise AI Inference Architecture?
Discuss prompt caching strategies, multi-model agent routing, or private sovereign AWS EKS / Bedrock deployments with our cloud architects.
Schedule Architecture Review