NewKimi K3.1 Pro is now availableTry it now
DEEPSEEK API

DeepSeek API

Run live DeepSeek models through one serverless Inference.net API with OpenAI /v1/chat/completions and native Anthropic /v1/messages support. Compare live per-token pricing, cached-read discounts, and context windows across DeepSeek V4.1 Flash, DeepSeek V4 Pro, and DeepSeek V3.2, with default Zero Data Retention on eligible Inference.net-hosted routes (externally routed models follow upstream provider retention terms).

  • Serverless per-token billing with automatic prompt caching on supported routes
  • Zero Data Retention (ZDR) by default on eligible Inference.net-hosted routes (SOC 2 Type II)
  • OpenAI /v1/chat/completions and native Anthropic /v1/messages support
  • US-hosted endpoints (us.api.inference.net) for supported DeepSeek routes
LIVE CATALOG & PRICING

All live DeepSeek models on Inference.net

Every rate, context limit, and capability below is pulled directly from the live public catalog. Select any model for full specs, live latency benchmarks, and prompt-caching guidance.

ModelContextMax outputInput / 1MCached / 1MOutput / 1MCapabilitiesStart
DeepSeek V4.1 Flash 1017deepseek-v4.1-flash-1017
1M393K$0.08$0.007$0.635Vision, Tools, ReasoningUse API
DeepSeek V4.1 Flashdeepseek-v4.1-flash
1M393K$0.103$0.007$0.60Vision, Tools, ReasoningUse API
DeepSeek V4 Prodeepseek-v4-pro
1M384K$2.10$0.004$4.20ToolsUse API
DeepSeek V4 Pro (0813)deepseek-v4-pro-0813
1M131K$1.32$0.044$3.96ToolsUse API
DeepSeek V4 Flashdeepseek-v4-flash
1M384K$0.23$0.003$0.62ToolsUse API
DeepSeek V4 Flash (0731)deepseek-v4-flash-0731
1M1M$0.53$0.017$1.58Tools, ReasoningUse API
DeepSeek V3.2deepseek-v3.2
164K66K$0.70$0.35$2.00TextUse API
DeepSeek V4.1 Flash 1017 Cyberdeepseek-v4.1-flash-1017-cyber
1M393K$0.30$0.007$1.00Vision, Tools, ReasoningUse API
QUICKSTART

Call DeepSeek over OpenAI or Anthropic SDKs

Use the top live model ID (deepseek-v4.1-flash-1017) with the standard OpenAI SDK, curl, or Claude Code over native /v1/messages.

QUICKSTARTGet API key
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://api.inference.net/v1',
  apiKey: process.env.INFERENCE_API_KEY,
})

const completion = await client.chat.completions.create({
  model: 'deepseek-v4.1-flash-1017',
  messages: [{ role: 'user', content: 'Hello' }],
})
CLAUDE CODE & ANTHROPIC /V1/MESSAGES

Point Claude Code or any Anthropic SDK client at Inference.net with zero proxy setup and full prompt-cache support.

export ANTHROPIC_BASE_URL="https://api.inference.net"
export ANTHROPIC_AUTH_TOKEN="$INFERENCE_API_KEY"
export ANTHROPIC_MODEL='deepseek-v4.1-flash-1017[1m]'
export ANTHROPIC_DEFAULT_OPUS_MODEL='deepseek-v4.1-flash-1017[1m]'
export ANTHROPIC_DEFAULT_SONNET_MODEL='deepseek-v4.1-flash-1017[1m]'
export ANTHROPIC_DEFAULT_HAIKU_MODEL='deepseek-v4.1-flash-1017[1m]'
export CLAUDE_CODE_SUBAGENT_MODEL='deepseek-v4.1-flash-1017[1m]'
claude
COMPARISONS, GUIDES & TOOLS

Benchmark, compare, and model DeepSeek costs

Verify unit economics across prompt-cache hit rates, compare providers, and explore engineering guides for DeepSeek.

MODEL FAMILIES

Explore other open-weight model families

Switch across DeepSeek, Kimi, GLM, and the full catalog with one API key and one OpenAI-compatible client.

FAQ

Frequently asked questions.

Quick answers to help you get started

Inference.net currently serves 8 live DeepSeek models with transparent pay-as-you-go per-token billing. Input rates start at $0.08 per 1M input tokens ($0.635 per 1M output tokens) on DeepSeek V4.1 Flash 1017. Every rate in the comparison table above pulls directly from the live public catalog.

GET STARTED

Start calling DeepSeek in minutes

Create a project API key with Zero Data Retention enabled by default on eligible Inference.net-hosted routes and route requests to deepseek-v4.1-flash-1017 with pay-as-you-go billing.