cli and products · featured

DeepSeek AI

DeepSeek — high-performance AI models at a fraction of frontier cost. Current API line is deepseek-flash (V4.1 Flash, retired from V4 Pro 14 Sep 2026). Access via US vendors to keep data off Chinese servers.
by cache.directory updated Sep 10, 2026 CC-BY-4.0

## what it does

Overview

DeepSeek’s API is deepseek-flash as of the Sep 2026 docs fetch (api-docs.deepseek.com). The previous deepseek-v4-flash and deepseek-v4-flash-vision-exp model names are still accepted as aliases — DeepSeek retires them as model names but routes their requests to V4.1 Flash at the Flash price.

The other advertised model is deepseek-v4-pro — being retired. Per DeepSeek’s own announcement: “V4.1 Flash has comprehensively surpassed V4 Pro in performance, cost, speed, and total time.” From 12:00 Beijing Time on September 14, 2026 until V4.1 Pro is released, requests to deepseek-v4-pro are routed to V4.1 Flash and billed at the Flash price.

The API is OpenAI/Anthropic-compatible (base_url=https://api.deepseek.com for OpenAI SDK, …/anthropic for Anthropic SDK). Models support thinking: { type: "enabled" } and reasoning_effort — call them like reasoning models, not chat models. DeepSeek Harness is in developer preview for agent-harness developers.

Key Strengths

CapabilityRatingNotes
Cost efficiency⭐⭐⭐⭐⭐V4.1 Flash is the new cheapest path; V4 Pro is sunset but still callable
Reasoning⭐⭐⭐⭐⭐Thinking-mode native; reasoning_effort parameter
Coding⭐⭐⭐⭐Strong on generation + debugging; competitive with Fable-class on DeepSWE
Open weights⭐⭐⭐⭐⭐MIT-licensed V3 line widely hosted; V4 weights track DeepSeek’s site
Agent harnesses⭐⭐⭐⭐⭐Drop-in for Claude Code, GitHub Copilot, OpenCode (per DeepSeek docs)
Real-time info⭐⭐No live internet access; pair with web search tools

API pricing — pick a route

Per 1M tokens, USD. DeepSeek’s own first-page text extract does not include a USD price table (their docs are a JS app); use api-docs.deepseek.com for the live USD table. Vendor-routed prices below came from each vendor’s live pricing page this session.

ProviderModelInputOutputCached input
DeepSeek directV4.1 Flash / deepseek-flashprice not on first-page extract——
DeepSeek directV4 Pro (retired 14 Sep 2026)n/a — routed to V4.1 Flash at Flash price——
Together AIV4 Flash 0731$0.14$0.28$0.03
Together AIV4 Pro 0813$1.32$3.96$0.13
Fireworks AIV3p1 / V4 variantsserverless, per-token——
Perplexity Agent APIperplexity/deepseek-v4-flash-0731$0.13$0.26$0.028

Vendor-hosted DeepSeek V4 Flash 0731 is the cheapest routable model in this set. Until V4.1 Pro ships, V4 Pro is effectively a Flash-priced alias.

⚠️ Privacy: Access via US Vendors

Critical: DeepSeek’s own API and web chat route data through Chinese servers. For any business or professional use, access DeepSeek weights through US-based inference providers.

→ Complete Privacy Guide — How to use DeepSeek safely

ProviderData residencyCompliance
Together AIUSSOC 2 Type II
Fireworks AIUSSOC 2, HIPAA
Amazon BedrockUS/EU (your AWS region)HIPAA, SOC 2
Ollama (self-hosted)Your machineFull control

Quick start (Together, OpenAI-compatible)

from openai import OpenAI

client = OpenAI(
    base_url="https://api.together.xyz/v1",
    api_key="your-together-key",
)

resp = client.chat.completions.create(
    model="deepseek-ai/DeepSeek-V4-Pro-0813",
    messages=[{"role": "user", "content": "Refactor this module…"}],
    extra_body={"thinking": {"type": "enabled"}, "reasoning_effort": "high"},
)
print(resp.choices[0].message.content)

Or hit DeepSeek’s own endpoint with the new deepseek-flash name:

curl https://api.deepseek.com/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer ${DEEPSEEK_API_KEY}" \
  -d '{"model": "deepseek-flash",
       "messages": [{"role":"user","content":"Hello!"}],
       "thinking": {"type": "enabled"},
       "reasoning_effort": "high",
       "stream": false}'

Agent integrations

From api-docs.deepseek.com, DeepSeek is supported directly as a backend model by Claude Code, GitHub Copilot, and OpenCode — no code changes needed. Just point them at a Together or Fireworks endpoint with the model id.

DeepSeek for Your Industry

IndustryUse CaseLink
BusinessCost-effective AI for SMBs and startupsDeepSeek for Business
Office WorkBudget coding assistant, data analysisDeepSeek for Work
EducationAffordable AI for schools and studentsDeepSeek for Education
TradesLow-cost estimate and document generationDeepSeek for Trades

Comparisons

## embed this badge

cache ✓ in cache.directory
![cached](https://cache.directory/badge/deepseek.svg)