DeepSeek API Cost Calculator (DeepSeek V3 & DeepSeek R1)
Benchmark DeepSeek V3 and DeepSeek R1 against OpenAI, Claude, and Gemini — including DeepSeek's automatic context caching and 50% off-peak pricing.
| # | Model & Provider | Context / Speed | Input $/1M (edit) | Output $/1M (edit) | Cached $/1M | 1 Call | 1,000 Calls | 100,000 Calls | vs GPT-4o |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DeepSeek V3 (Chat)Focus DeepSeek·Balanced | 128K ctx 68 tok/s | $0.070 | $0.0008 | $0.77 | $76.95 | -89% | ||
| 2 | DeepSeek R1Focus DeepSeek·Reasoning | 128K ctx 54 tok/s | $0.14 | $0.0015 | $1.53 | $153.24 | -78% |
Tip: Click any Input or Output $/1M cell to test custom enterprise discounts, Bedrock/Vertex tiers, or Gemini 2.5 Pro >200k long-context rates inline.
Key Cost Benchmarks & Pricing Dynamics
DeepSeek V3 ($0.27/$1.10) costs roughly one-eighth as much as GPT-4.1 ($2.00/$8.00) on uncached requests.
DeepSeek automatically caches repeated prompt prefixes on disk, cutting V3 input cost by ~74% with zero code changes.
DeepSeek R1 delivers frontier-tier chain-of-thought reasoning at nearly 4x lower output price than OpenAI o3.
Focused Models in This Calculator
Frontier-adjacent quality at 90% lower cost
Open-weights reasoning, math, algorithmic codegen
Coding, 1M-context RAG, instruction following
Deep math, architecture planning, complex code
Autonomous coding agents, editorial writing, tool use
Production FinOps Optimization Playbook
Account for R1 Chain-of-Thought Output Length
DeepSeek R1 emits verbose <think> reasoning tokens that are billed at $2.19/1M. Even with 2x–3x longer output than V3, R1 remains dramatically cheaper than proprietary reasoning models.
Schedule Batch Jobs During DeepSeek Off-Peak Hours
DeepSeek offers steep UTC off-peak discounts (50%–75% off depending on model). Toggle the 50% Batch/Off-Peak toggle above to simulate scheduled ETL runs.
Consider US/EU Hosting Options When Compliance Matters
If you need zero-data-retention US hosting for DeepSeek weights, click the inline rate cells to enter Fireworks, Together, or AWS Bedrock DeepSeek per-1M pricing.
Frequently Asked Questions
How much does DeepSeek R1 cost per million tokens?
At reference public API rates, DeepSeek R1 costs $0.55 per 1M cache-miss input tokens, $0.14 per 1M cache-hit input tokens, and $2.19 per 1M output tokens (including reasoning tokens).
How much cheaper is DeepSeek V3 than Claude Sonnet 4?
DeepSeek V3 ($0.27 input / $1.10 output) is roughly 11x–13x cheaper than uncached Claude Sonnet 4 ($3.00 input / $15.00 output) for equivalent token volumes.
Does DeepSeek charge extra for context caching?
No. DeepSeek's disk-backed context caching is enabled automatically on all API requests with no extra cache-write or storage fee.
Should I use DeepSeek V3 or R1 for a SaaS chatbot?
Use DeepSeek V3 for fast, conversational chat and JSON extraction; reserve DeepSeek R1 for multi-step math, code debugging, and analytical workflows where extra latency is acceptable.
Related LLM Cost Calculators
DeepSeek R1 vs OpenAI o3 & o4-mini Cost Calculator
Open calculator AI SaaS CFO ToolAI SaaS Gross Margin & Unit Economics Calculator
Open calculator Multi-Provider GatewayOpenRouter & Multi-LLM Gateway Cost Comparison Calculator
Open calculator Agent Loop EconomicsAI Agent Multi-Step Token Burn & Unit-Economics Estimator
Open calculatorFree Forever Calculator. Upgrade When Spend Scales.
Model 25 LLMs with zero login today. Upgrade to Pro or Team for automated API price-drop alerts, saved CFO scenarios, and live usage overrun guards.
Free
No SignupEverything you need for architecture sizing, prompt tokenization, and SaaS margin checks.
- Unlimited comparisons across 25+ models
- Live client-side prompt token counter (EN/Code/CJK)
- Prompt caching (0–90%) & Batch API 50% toggles
- AI Agent & SaaS Gross Margin Simulator
- 80/20 Model Routing Optimizer + inline rate edits
- Unlimited CSV financial exports
Pro
Founders & PMsNever get blindsided by provider price changes or margin erosion across investor reviews.
- Everything in Free, plus cloud-saved scenarios
- Compare multiple multi-agent architecture versions
- Weekly API price-drop & new-model email alerts
- 1-click branded CFO / Board Deck PDF export
- Custom enterprise discount profiles (AWS/Vertex/OpenAI)
- Historical token price tracker & depreciation notices
Team
Live GuardrailsConnect real production token telemetry and catch runaway agent loops before the bill lands.
- Everything in Pro for up to 10 team seats
- Zero-latency live usage telemetry proxy endpoint
- Real-time Slack & webhook budget overrun alerts
- Per-customer / per-tenant gross margin leaderboard
- Automatic anomaly detection on infinite agent loops
- Scheduled weekly FinOps digest to #ai-infra