Skip to content

DeepSeek · Text

DeepSeek V4 Flash API pricing

deepseek/deepseek-v4-flash

Budget reasoning. DeepSeek V4 Flash by DeepSeek, routed through INFRO on a DeepSeek account you connect — alongside every other provider you run. DeepSeek bills you for it directly, on that account and at your own rate. INFRO adds routing, failover, request logs, cost attribution and policy around it, and takes no part of what you pay DeepSeek.

Pricing

Per 1M tokensUSD · updated 2026-10-05

DeepSeek rate

$0.525

per 1M tokens, billed to you by DeepSeek

INFRO adds

$0

0% markup on model spend

Per-token rates

$0.30 / 1M input tokens·$1.20 / 1M output tokens

The headline figure above is these two blended at a 3:1 input:output ratio, so one number is comparable across modalities. Your own ratio will move it.

Calling DeepSeek V4 Flash

POST /v1/chat/completions
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["INFRO_API_KEY"],
    base_url="https://api.infro.io/v1",
)

response = client.chat.completions.create(
    model="deepseek/deepseek-v4-flash",
    messages=[{"role": "user", "content": "Hello"}],
)

What this modality supports

  • Streaming
  • Tool calling
  • Structured outputs
  • Prompt caching

Frontier and open-weight language models behind an OpenAI-compatible endpoint. Streaming, tool calling, structured outputs, and vision pass straight through — and prompt caching is priced at the provider's own cached rate.

Same modality, nearest in price. All of them share the request shape above, so comparing them is a one-word change.

Work out what DeepSeek V4 Flash would cost you

Put your current spend on this model into the calculator and see the same workload priced here — or have us read your real usage.