The DeepSeek API costs $0.15 per million input tokens and $0.60 per million output tokens for deepseek-flash at off-peak rates, and $0.66 input and $1.98 output for deepseek-v4-pro, with prices doubling during peak hours.
As of November 1, 2026, DeepSeek’s official price list has two models. deepseek-flash runs DeepSeek-V4.1-Flash-1017, and deepseek-v4-pro runs DeepSeek-V4-Pro-0813. Both have a 1M-token context window.
- deepseek-flash: $0.003 cached input, $0.15 uncached input and $0.60 output off-peak; $0.006, $0.30 and $1.20 at peak.
- deepseek-v4-pro: $0.022 cached input, $0.66 uncached input and $1.98 output off-peak; $0.044, $1.32 and $3.96 at peak.
Peak hours are 01:00–04:00 and 06:00–10:00 UTC, Monday through Friday, excluding Chinese public holidays. Weekends are off-peak all day. The separate Search and Fetch APIs cost $0.75 per 1,000 successful requests, and DeepSeek began billing those tool calls from Claude Code, Codex and DeepSeek Harness on November 1, 2026. Charges come out of your prepaid balance, and any granted balance is used first.
Related: Is DeepSeek free? and DeepSeek Search API and Fetch API: Power-User Guide
Source: DeepSeek API Docs, “Models & Pricing”; DeepSeek API Docs, “Your First API Call”
Image: DeepSeek logo, by DeepSeek, MIT License, via Wikimedia Commons. Placed on a white background and resized.