Skip to content

Eligible new accounts get $0.10 in free API credit. Once per account; abuse limits apply. Create an account

DeepSeek V4.1 Flash API cost, explained

What DeepSeek V4.1 Flash costs per 1M tokens on Outrun, and what a 50-turn coding session adds up to with and without caching.

Short answer: DeepSeek V4.1 Flash costs $0.30 per 1M input tokens and $1.20 per 1M output tokens on outrun.to as of November 30, 2026. Cached input costs $0.01 per 1M. A 50-turn coding session costs about $1.22 uncached, or about $0.06 if every input token is read from cache.

The prices

Token typePrice per 1M tokens
Input$0.30
Cached input$0.01
Output$1.20

Prices on outrun.to as of November 30, 2026. Rates are shown rounded up to the cent; billing uses the exact rate. The model page lists no separate cache-write rate.

The model ID is deepseek-v4.1-flash and the base URL is https://api.outrun.to/v1. The context window is 1,000,000 tokens, and it accepts text and images.

Worked example: one coding session

Assume the same shape as in our post on long agent sessions: 50 turns, 80,000 tokens of context sent on each turn, and 300 output tokens per turn.

  • Input: 50 x 80,000 = 4,000,000 tokens
  • Output: 50 x 300 = 15,000 tokens

Uncached:

  • Input: 4 x $0.30 = $1.20
  • Output: 0.015 x $1.20 = $0.018
  • Total: $1.218, about $1.22

Best case, all input read from cache:

  • Input: 4 x $0.01 = $0.04
  • Output: $0.018
  • Total: $0.058, about $0.06

Real sessions land between the two. Starting a new session after each task keeps the input smaller, which pulls the number down.

Chat turns

The model page also shows 1,000 chat turns at 1,000 input and 300 output tokens each, with no caching: $0.66. The math is 1M input tokens x $0.30 = $0.30, plus 0.3M output tokens x $1.20 = $0.36.

Check the current price

Prices change. The live numbers are on the DeepSeek V4.1 Flash model page. Every other model is on the pricing page. To keep a coding bill down, read why long agent sessions cost more.

← All posts