OneAPIKey
Cost Predictor

What does your prompt cost?

Paste any prompt below — instantly see the price across all 12 providers in our gateway. The cheapest option is often 10-100× less than the default everyone uses.

104 input tokens
💰 Switch from Claude Opus 4.7 to GPT-5 mini → save $0.010782 per call (99.2% cheaper)

At 10,000 calls/month: $107.82 saved. At 1M calls/month: $10782.00 saved.

Cost across 14 models

Sorted cheapest first. All prices include OneAPIKey's transparent 20% markup. Direct provider prices are slightly lower; what you save is unified billing, smart routing, and 12-provider failover.

ModelProviderInput costOutput costTotal costContextPrivacy
👑 GPT-5 mini
gpt-5-mini
OpenAI$0.000018$0.000072$0.000090128K
Codestral
codestral
Mistral$0.000024$0.000072$0.00009632K🛡️
DeepSeek V3
deepseek-v3
DeepSeek$0.000033$0.000132$0.000165128K⚠️
Llama 3.3 70B (Groq)
llama-3-3-70b
Groq$0.000073$0.000094$0.000167128K
DeepSeek R1
deepseek-r1
DeepSeek$0.000068$0.000262$0.00033066K⚠️
Claude Haiku 4.5
claude-haiku-4-5
Anthropic$0.000099$0.000480$0.000579200K🛡️
Gemini 2.5 Pro
gemini-2-5-pro
Google Gemini$0.000156$0.000600$0.0007562000K
Mistral Large
mistral-large
Mistral$0.000249$0.000720$0.000969128K🛡️
GPT-5
gpt-5
OpenAI$0.000312$0.001200$0.001512256K
Command R+
command-r-plus
Cohere$0.000312$0.001200$0.001512128K
Claude Sonnet 4.6
claude-sonnet-4-6
Anthropic$0.000374$0.001800$0.002174200K🛡️
Sonar Pro
sonar-pro
Perplexity$0.000374$0.001800$0.002174200K
Grok 4
grok-4
xAI$0.000374$0.001800$0.002174256K
Claude Opus 4.7
claude-opus-4-7
Anthropic$0.001872$0.009000$0.0108721000K🛡️
Use this prediction in your app
POST to our public API. No auth required.
curl -X POST https://oneapikey.app/v1/predict-cost \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Your prompt text here",
    "output_tokens": 100
  }'

Stop overpaying for AI.

OneAPIKey routes your traffic to the right model automatically — based on rules you define.

Start free