AI Code Documentation Generation: DeepSeek R1 Reasoning

DeepSeek R1 is no longer available

This model is deprecated. It may still respond for existing integrations, but it is no longer recommended for new work, and the figures below are retained as a historical record.

See current model pricing →

Complete Analysis: 80,000 tokens for deepseek-r1

Complete analysis of pricing, performance, and use cases for DeepSeek's deepseek-r1 model .

$0.093200 (rounded ~ $0.09) Total Cost
80,000 Total Tokens
11 minutes, 26.85 seconds Processing Time
117 Effective Tokens/Sec

Click Recalculate to update after making changes

ℹ️ This model is now in Legacy mode. Results are based on last-known pricing.

Select AI Model

DeepSeek R1
DeepSeekMax Context: 163,840 tokens
$0.55 / $2.19 per 1M tokens
Use Batch API (50% discount)
0%
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.027500 Input Cost
$0.065700 Output Cost
$0.000000 Unit Cost
$0.000000 Search Cost
$0.000000 Request Fee
$0.000000 Tool Fee
$0.000000 Code Execution
80,000Total Tokens
$0.001165Cost per 1K
858,369Tokens per $
⚫ Archived Model: This model was retired on July 24, 2026. Prices are historical.
📊 Advanced Cost Breakdown

Processing Speed

11m 26s Processing Time
120 Tokens/Second
220ms Time to First Token
117 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

deepseek-r1 DeepSeek

$0.093200 (rounded ~ $0.09)
Total Cost
⚠️ This model is now in Legacy mode. Results are based on last-known pricing.
📊 Batch API 🔧 Tools
👁️
Vision/Images
✗ Not Available
🎧
Audio Processing
✗ Not Available
🎥
Video Analysis
✗ Not Available
🔧
Tool Usage
✗ Not Available requested
📄
OCR Support
✗ Not Available
📊
Batch API
✓ Available
Caching
✓ Available
98% savings

💰 Total Cost Calculation (from Plugin)

Base Cost (No Optimizations) $0.093200 (rounded ~ $0.09) Input: $0.027500 (rounded ~ $0.03)
Output: $0.065700 (rounded ~ $0.07)
Optimized Cost $0.093200 (rounded ~ $0.09) Input: $0.027500 (rounded ~ $0.03)
Output: $0.065700 (rounded ~ $0.07)
Unit: $0.000000
Fees: $0.000000

Detailed Cost Analysis (from Plugin)

For 50,000 input tokens and 30,000 output tokens:

  • Input Cost: $0.027500 (rounded ~ $0.03)
  • Output Cost: $0.065700 (rounded ~ $0.07)
  • Total Cost: $0.093200 (rounded ~ $0.09)
  • Cost per 1K tokens: $0.001165
  • Tokens per dollar: 858,369 tokens
  • Context Window: 163840 tokens

Speed & Performance Analysis

With a processing speed of 120 tokens per second and 220ms time to first token:

  • Processing Time: 11 minutes, 26.85 seconds
  • Latency: 220 milliseconds to first token
  • Base Throughput: 120 tokens/second
  • Effective Throughput: 117 tokens/second (temperature-adjusted)

Best Use Cases

Software documentationCode analysisDeveloper tools

Want this applied to YOUR actual stack?

This calculator shows the math for deepseek-r1. 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 deepseek-r1
📋 Active Input Parameters
Input Tokens: 50,000
Output Tokens: 30,000
Batch API: Enabled (50% discount)
Tools: Enabled
Rank AI Model & Provider Total Cost vs deepseek-r1
🏆 Mistral Small 3
Mistral AI
$0.003500 Best Value ↓ 96.2% cheaper
🥈 Gemini 3.1 Flash Lite
Google
$0.014375 (rounded ~ $0.01) ↓ 84.6% cheaper
🥉 Mistral Large 3
Mistral AI
$0.017500 (rounded ~ $0.02) ↓ 81.2% cheaper
#4 Gemini 3.5 Flash-Lite
Google
$0.022500 (rounded ~ $0.02) ↓ 75.9% cheaper
#5 Gemini 2.5 Flash
Google
$0.022500 (rounded ~ $0.02) ↓ 75.9% cheaper
#6 Llama 4 Maverick (400B)
Meta AI
$0.025500 (rounded ~ $0.03) ↓ 72.6% cheaper
#7 Gemini 3.8 Flash
Google
$0.037500 (rounded ~ $0.04) ↓ 59.8% cheaper
#8 o4-mini Deep Research
OpenAI
$0.042500 (rounded ~ $0.04) ↓ 54.4% cheaper
#9 GPT-5.4 mini
OpenAI
$0.043125 (rounded ~ $0.04) ↓ 53.7% cheaper
#10 o4-mini
OpenAI
$0.046750 (rounded ~ $0.05) ↓ 49.8% cheaper
#11 Claude Haiku 4.5
Anthropic
$0.050000 ↓ 46.4% cheaper
#12 Gemini 3.1 Flash
Google
$0.057500 (rounded ~ $0.06) ↓ 38.3% cheaper
#13 GPT-5.6 Luna
OpenAI
$0.057500 (rounded ~ $0.06) ↓ 38.3% cheaper
#14 Gemini 3.6 Flash
Google
$0.075000 (rounded ~ $0.08) ↓ 19.5% cheaper
#15 Gemini 3.5 Flash
Google
$0.086250 (rounded ~ $0.09) ↓ 7.5% cheaper
#16 Claude Sonnet 5
Anthropic
$0.100000 ↑ 7.3% more
#17 Grok 4.3
xAI
$0.110000 ↑ 18% more
#18 Grok 4.20 Beta
xAI
$0.110000 ↑ 18% more
#19 GPT-5.3 Codex Spark
OpenAI
$0.126875 (rounded ~ $0.13) ↑ 36.1% more
#20 GPT-5.3 Instant
OpenAI
$0.126875 (rounded ~ $0.13) ↑ 36.1% more
#21 GPT-5.6 Terra
OpenAI
$0.143750 (rounded ~ $0.14) ↑ 54.2% more
#22 Claude Sonnet 4.6
Anthropic
$0.150000 ↑ 60.9% more
#23 Gemini 2.5 Pro
Google
$0.181250 (rounded ~ $0.18) ↑ 94.5% more
#24 Gemini 3.1 Pro
Google
$0.230000 ↑ 146.8% more
#25 Claude Opus 4.7
Anthropic
$0.250000 ↑ 168.2% more
#26 Claude Opus 5
Anthropic
$0.250000 ↑ 168.2% more
#27 Claude Opus 4.8
Anthropic
$0.250000 ↑ 168.2% more
#28 Claude Opus 4.6
Anthropic
$0.250000 ↑ 168.2% more
#29 GPT-5.4
OpenAI
$0.287500 (rounded ~ $0.29) ↑ 208.5% more
#30 GPT-5.4 Thinking
OpenAI
$0.287500 (rounded ~ $0.29) ↑ 208.5% more
#31 GPT-5.5 Instant
OpenAI
$0.287500 (rounded ~ $0.29) ↑ 208.5% more
#32 GPT-5.6 Sol
OpenAI
$0.287500 (rounded ~ $0.29) ↑ 208.5% more
#33 o3 Deep Research
OpenAI
$0.425000 (rounded ~ $0.43) ↑ 356% more
#34 Claude Fable 5.1
Anthropic
$0.500000 ↑ 436.5% more
#35 Claude Mythos 5.1
Anthropic
$0.500000 ↑ 436.5% more
#36 Claude Fable 5
Anthropic
$0.500000 ↑ 436.5% more
#37 Claude Mythos 5
Anthropic
$0.500000 ↑ 436.5% more
#38 GPT-5.5
OpenAI
$0.575000 (rounded ~ $0.58) ↑ 517% more
#39 o3 Pro
OpenAI
$0.850000 ↑ 812% more
#40 GPT-6 Astra
OpenAI
$1.000000 ↑ 973% more
#41 GPT-5.2 Pro
OpenAI
$1.522500 (rounded ~ $1.52) ↑ 1533.6% more
#42 GPT-5.5 Pro
OpenAI
$1.725000 (rounded ~ $1.73) ↑ 1750.9% more
#43 GPT-5.5 Pro
OpenAI
$1.725000 (rounded ~ $1.73) ↑ 1750.9% more
🏆

Mistral Small 3
Mistral AI

$0.003500
vs deepseek-r1: ↓ 96.2%
🥈

Gemini 3.1 Flash Lite
Google

$0.014375 (rounded ~ $0.01)
vs deepseek-r1: ↓ 84.6%
🥉

Mistral Large 3
Mistral AI

$0.017500 (rounded ~ $0.02)
vs deepseek-r1: ↓ 81.2%
#4

Gemini 3.5 Flash-Lite
Google

$0.022500 (rounded ~ $0.02)
vs deepseek-r1: ↓ 75.9%
#5

Gemini 2.5 Flash
Google

$0.022500 (rounded ~ $0.02)
vs deepseek-r1: ↓ 75.9%
#6

Llama 4 Maverick (400B)
Meta AI

$0.025500 (rounded ~ $0.03)
vs deepseek-r1: ↓ 72.6%
#7

Gemini 3.8 Flash
Google

$0.037500 (rounded ~ $0.04)
vs deepseek-r1: ↓ 59.8%
#8

o4-mini Deep Research
OpenAI

$0.042500 (rounded ~ $0.04)
vs deepseek-r1: ↓ 54.4%
#9

GPT-5.4 mini
OpenAI

$0.043125 (rounded ~ $0.04)
vs deepseek-r1: ↓ 53.7%
#10

o4-mini
OpenAI

$0.046750 (rounded ~ $0.05)
vs deepseek-r1: ↓ 49.8%
#11

Claude Haiku 4.5
Anthropic

$0.050000
vs deepseek-r1: ↓ 46.4%
#12

Gemini 3.1 Flash
Google

$0.057500 (rounded ~ $0.06)
vs deepseek-r1: ↓ 38.3%
#13

GPT-5.6 Luna
OpenAI

$0.057500 (rounded ~ $0.06)
vs deepseek-r1: ↓ 38.3%
#14

Gemini 3.6 Flash
Google

$0.075000 (rounded ~ $0.08)
vs deepseek-r1: ↓ 19.5%
#15

Gemini 3.5 Flash
Google

$0.086250 (rounded ~ $0.09)
vs deepseek-r1: ↓ 7.5%
#16

Claude Sonnet 5
Anthropic

$0.100000
vs deepseek-r1: ↑ 7.3%
#17

Grok 4.3
xAI

$0.110000
vs deepseek-r1: ↑ 18%
#18

Grok 4.20 Beta
xAI

$0.110000
vs deepseek-r1: ↑ 18%
#19

GPT-5.3 Codex Spark
OpenAI

$0.126875 (rounded ~ $0.13)
vs deepseek-r1: ↑ 36.1%
#20

GPT-5.3 Instant
OpenAI

$0.126875 (rounded ~ $0.13)
vs deepseek-r1: ↑ 36.1%
#21

GPT-5.6 Terra
OpenAI

$0.143750 (rounded ~ $0.14)
vs deepseek-r1: ↑ 54.2%
#22

Claude Sonnet 4.6
Anthropic

$0.150000
vs deepseek-r1: ↑ 60.9%
#23

Gemini 2.5 Pro
Google

$0.181250 (rounded ~ $0.18)
vs deepseek-r1: ↑ 94.5%
#24

Gemini 3.1 Pro
Google

$0.230000
vs deepseek-r1: ↑ 146.8%
#25

Claude Opus 4.7
Anthropic

$0.250000
vs deepseek-r1: ↑ 168.2%
#26

Claude Opus 5
Anthropic

$0.250000
vs deepseek-r1: ↑ 168.2%
#27

Claude Opus 4.8
Anthropic

$0.250000
vs deepseek-r1: ↑ 168.2%
#28

Claude Opus 4.6
Anthropic

$0.250000
vs deepseek-r1: ↑ 168.2%
#29

GPT-5.4
OpenAI

$0.287500 (rounded ~ $0.29)
vs deepseek-r1: ↑ 208.5%
#30

GPT-5.4 Thinking
OpenAI

$0.287500 (rounded ~ $0.29)
vs deepseek-r1: ↑ 208.5%
#31

GPT-5.5 Instant
OpenAI

$0.287500 (rounded ~ $0.29)
vs deepseek-r1: ↑ 208.5%
#32

GPT-5.6 Sol
OpenAI

$0.287500 (rounded ~ $0.29)
vs deepseek-r1: ↑ 208.5%
#33

o3 Deep Research
OpenAI

$0.425000 (rounded ~ $0.43)
vs deepseek-r1: ↑ 356%
#34

Claude Fable 5.1
Anthropic

$0.500000
vs deepseek-r1: ↑ 436.5%
#35

Claude Mythos 5.1
Anthropic

$0.500000
vs deepseek-r1: ↑ 436.5%
#36

Claude Fable 5
Anthropic

$0.500000
vs deepseek-r1: ↑ 436.5%
#37

Claude Mythos 5
Anthropic

$0.500000
vs deepseek-r1: ↑ 436.5%
#38

GPT-5.5
OpenAI

$0.575000 (rounded ~ $0.58)
vs deepseek-r1: ↑ 517%
#39

o3 Pro
OpenAI

$0.850000
vs deepseek-r1: ↑ 812%
#40

GPT-6 Astra
OpenAI

$1.000000
vs deepseek-r1: ↑ 973%
#41

GPT-5.2 Pro
OpenAI

$1.522500 (rounded ~ $1.52)
vs deepseek-r1: ↑ 1533.6%
#42

GPT-5.5 Pro
OpenAI

$1.725000 (rounded ~ $1.73)
vs deepseek-r1: ↑ 1750.9%
#43

GPT-5.5 Pro
OpenAI

$1.725000 (rounded ~ $1.73)
vs deepseek-r1: ↑ 1750.9%
✨ 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.

Code Documentation Cost Analysis

Generating comprehensive documentation from codebases with reasoning capabilities.

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 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.