DeepSeek API Pricing (45% Off): V4.1 Flash, V4 Pro & Key
Call DeepSeek V4.1 Flash & V4 Pro at 45% off official rates via OpenAI SDK. Transparent USD input/output/cache pricing, $1–$2 free test, USDT & Binance Pay top-ups.
New accounts receive a random $1–$2 welcome bonus (1,000–2,000 credits) to test requests
Test live models side-by-side before signing up
Verify real model outputs, streaming TTFT, and exact USD token cost before creating an account. Pick 1 or 2 models to race live.
Measured latency, strict-JSON pass rate & live uptime
Published directly from Modelseed production relay telemetry and scheduled streaming JSON benchmark probes — real measured numbers, never synthetic estimates.
| Model ID | Measured TTFT | Throughput | Strict JSON | 30d Success | Measured 1-req cost |
|---|---|---|---|---|---|
deepseek-v4-1-flash | 1.99s | 39.8 tok/s | PASS | 99.94% (6404) | $0.00003 |
deepseek-v4-pro | — | 7 tok/s | Media / Relay | 100% (5) | — |
glm-5.3-flash | 4.31s | 298.1 tok/s | PASS | Probe OK | $0.00005 |
DeepSeek API cost calculator
Choose a version and pricing tier. Enter total project input and output volumes; this estimate uses the published uncached rates.
Context tiers apply per request, not to the monthly token total. For DeepSeek, select the period. See the full table for cache and other components.
deepseek-v4-1-flash$0.1644164.432 credits1 × $0.0822 + 0.25 × $0.3289
Modelseed base rates. Actual usage determines charges. Payment fees and plan bonuses are excluded from this estimate.
All components and rates ↓Choosing a version
DeepSeek is a family of text and coding models. Compare V4 Pro, V4 Flash and V4.1 Flash, create an application key and pay for usage from your Modelseed balance.
DeepSeek V4 Pro
deepseek-v4-proInclude Pro in your own task comparison. Evaluate answer quality and the full input, output and cache cost.
View rates ↓DeepSeek V4 Flash
deepseek-v4-flashCompare Flash and Pro rates using the same prompt and output limit. A version name does not replace a result check.
View rates ↓DeepSeek V4.1 Flash
deepseek-v4-1-flashUsed in our text SDK example and calculator. Requests use this public ID without the 1017 date suffix.
View rates ↓Estimating cost
The catalog includes V4 Pro, V4 Flash and V4.1 Flash. Compare the full prompt and expected response cost. Use the exact ID below for your first integration.
- Peak and off-peak rates follow working days and public holidays in China.
- Cached input is billed separately. Cache hits are determined by the provider and are not guaranteed.
- The public V4.1 Flash ID is deepseek-v4-1-flash. The 1017 designation identifies the rate reference version.
Models & rates
Exact model names and all published rate components.
DeepSeek V4 Pro
deepseek-v4-pro| Tier | Component | Per unit | Price |
|---|---|---|---|
| Off-peak | Input · no cache | 1M tokens | $0.410334410.3338 credits |
| Off-peak | Output | 1M tokens | $1.2310011,231.0013 credits |
| Off-peak | Cache read | 1M tokens | $0.01367813.6778 credits |
| Peak | Input · no cache | 1M tokens | $0.820668820.6675 credits |
| Peak | Output | 1M tokens | $2.4620032,462.0026 credits |
| Peak | Cache read | 1M tokens | $0.02735627.3556 credits |
DeepSeek V4 Flash
deepseek-v4-flash| Tier | Component | Per unit | Price |
|---|---|---|---|
| Off-peak | Input · no cache | 1M tokens | $0.09118591.1853 credits |
| Off-peak | Output | 1M tokens | $0.364741364.7411 credits |
| Off-peak | Cache read | 1M tokens | $0.0018241.8237 credits |
| Peak | Input · no cache | 1M tokens | $0.182371182.3706 credits |
| Peak | Output | 1M tokens | $0.729482729.4823 credits |
| Peak | Cache read | 1M tokens | $0.0036473.6474 credits |
DeepSeek V4.1 Flash
deepseek-v4-1-flash| Tier | Component | Per unit | Price |
|---|---|---|---|
| Off-peak | Input · no cache | 1M tokens | $0.08221682.2162 credits |
| Off-peak | Output | 1M tokens | $0.328865328.865 credits |
| Off-peak | Cache read | 1M tokens | $0.0016441.6443 credits |
| Peak | Input · no cache | 1M tokens | $0.164432164.4325 credits |
| Peak | Output | 1M tokens | $0.65773657.7299 credits |
| Peak | Cache read | 1M tokens | $0.0032893.2886 credits |
Base rates from the active reference, shown in USD. Checkout confirms the final amount. A listed rate is not a route availability check. Check the console for current models and key permissions.
Get a key and connect DeepSeek API
Access DeepSeek through a Modelseed account and key. Payments fund your Modelseed balance; they do not top up your account on the model developer’s official website.
- 01
Account and model
Sign in, choose an exact ID and check key permissions. For video, images and agents, confirm the required format and mode first.
Create an API key → - 02
Balance or plan
For occasional use, choose a top-up: credits last 365 days. Pro, Max and Ultra add credits for 30 days. Model usage draws from your shared balance.
Pay with Lava or USDT → - 03
A small test
Create a project key, send a small request and check its output and actual usage in the console. Then connect your application workload.
Create account and get key →
DeepSeek API with Python: first request
Install the package with python -m pip install openai. Set the MODELSEED_API_KEY environment variable on your computer or server, then run the example. The Base URL already includes /v1.
This Chat Completions example spends credits when run. Check Responses support for Codex and Messages support for Claude Code separately.
Node.js, cURL and environment setup →import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.modelseed.dev/v1",
api_key=os.environ["MODELSEED_API_KEY"],
)
response = client.chat.completions.create(
model="deepseek-v4-1-flash",
messages=[{"role": "user", "content": "Explain the difference between input and output tokens in two sentences."}],
max_tokens=256,
)
print(response.choices[0].message.content)Modelseed is an independent API service, not the official DeepSeek website. The active route determines model availability and supported features.
Before you connect
How do I get a DeepSeek API key through Modelseed?
Create a Modelseed account, add balance or buy a plan, then create a project key in the console. Set https://api.modelseed.dev/v1 and the selected ID in your SDK. A Modelseed key uses our endpoint and does not top up an account on DeepSeek’s website.
How much does a DeepSeek API request cost?
Add uncached input, cache reads and output tokens at the selected version’s rates. For a rate per million tokens, divide the token count by 1,000,000 and multiply by the rate. DeepSeek also distinguishes peak and off-peak periods.
Can I connect DeepSeek to Codex or Claude Code?
Each tool needs the right protocol: Codex uses Responses and Claude Code uses Messages. A text catalog listing alone does not establish agent tool support. Check the route and follow the relevant setup guide.
From an idea to your first request.
One key and a familiar API. New verified accounts receive a random $1–$2 welcome bonus (1,000–2,000 credits) to test requests before topping up.