EN ▾
Get API key
https://api.deepseekapipricing.com/v1

DeepSeek API Pricing: Token pricing

Our API uses transparent, pay-per-token pricing with no hidden fees or subscription locks. Load prepaid credit to control exactly how much you spend on each generation.

Input tokens

$0.15

per 1M tokens

Output tokens

$0.50

per 1M tokens

token context

100,000

trial credit

$0.50

requests per minute

300

Top-ups from $20 to $500, any whole amount. Bonus credit: +5% from $50, +10% from $100, +15% from $200.

No subscription. Prepaid credit never expires.

01

Cost calculator

$0.00
02

Worked examples

Short-form creative writing

Sending a 1,000-token prompt to generate a 500-token blog post. Cost: (1,000 / 1,000,000 * $0.15) + (500 / 1,000,000 * $0.50) = $0.00015 + $0.00025 = $0.0004 per request.

Context-heavy code analysis

Processing a 32,000-token codebase context to generate a 2,000-token summary. Cost: (32,000 / 1,000,000 * $0.15) + (2,000 / 1,000,000 * $0.50) = $0.0048 + $0.001 = $0.0058 per request.

High-volume data extraction

Sending a 10,000-token document to extract 50 tokens of JSON data. Cost: (10,000 / 1,000,000 * $0.15) + (50 / 1,000,000 * $0.50) = $0.0015 + $0.000025 = $0.001525 per request.

Token Pricing Breakdown

We charge strictly by token volume. Input tokens cost $0.15 per million; output tokens cost $0.50 per million. This ratio reflects the higher compute cost of generation. There are no per-request fees, no minimum charges, and no tiered discounts that complicate your billing. You only pay for the tokens the model processes and returns.

Because we use a single uncensored model, you do not pay different rates for different capabilities. Every endpoint—chat, streaming, or tool calling—uses the same per-token rate. This simplicity makes cost forecasting straightforward: multiply your expected token volume by these two numbers.

Prepaid Credit Tiers

You fund your account with prepaid credit. There is no subscription, no monthly bill, and no auto-renewal. Your API key works only while your balance is positive. If your balance hits zero, requests stop immediately. This prevents surprise charges and keeps your spend strictly bounded by what you loaded.

You can top up from $20 by crypto (USDT on TRC20, USDC on Base). We offer bonus credit for larger loads: add 5% bonus when you top up $50 or more, and 10% bonus when you top up $100 or more. These bonuses are added to your balance immediately and can be used for tokens just like base credit. Your prepaid credit never expires, so you can load it when prices are favorable and use it later.

Bonus Credit Structure

Bonus credit is a one-time boost on your top-up amount. It is not a separate balance that expires; it mixes with your base credit and is consumed at the same rate as your paid tokens. For example, if you top up $100, you receive $10 in bonus credit, giving you $110 total to spend on tokens.

The bonus is applied at the moment of payment. You do not need to wait for a billing cycle or meet a usage threshold. This structure rewards heavy users who prefer to lock in their compute capacity upfront. Since our pricing is already low, the bonus effectively reduces your effective cost per million tokens without changing the underlying rate structure.

Specs that affect cost

No tiers: every key gets the full feature set and the same limits.

SpecValue
Tools / tool callsYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
Max outputup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
Structured outputresponse_format: {"type": "json_object"}
Context window100,000 tokens, input and output combined
Requests per minute300/min per key
Parallel requestsup to 8 in parallel per key
Volume bonus+5% from $50, +10% from $100, +15% from $200
Token pricesinput $0.15 / 1M tokens, output $0.50 / 1M tokens
PaymentUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
Free trial$0.50 of credit valid 7 days, no card needed · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Credit expiryno monthly fee; paid credit does not expire

Full specifications and error codes: see the docs.

03

Questions and answers

Do I need a credit card to start?

No. New users get $0.50 in trial credit valid for 7 days. Claim this credit with one click on your API key page. You only need an email and password. No card is required to activate the trial or make your first request.

What happens if my balance runs out?

Your API key stops working immediately. You cannot make requests until you add more prepaid credit. There are no grace periods or overages, so your spend is always capped by your loaded balance.

Is the bonus credit separate from my base credit?

No. The bonus credit mixes with your base balance. Both are consumed at the same rate when tokens are processed. The bonus does not expire separately and is not restricted to specific token types.

Do you charge for unused context windows?

No. You are charged only for the tokens sent in the prompt and the tokens generated in the response. If you send a 100k token prompt but the model returns nothing, you pay for the 100k input tokens only. There are no fees for the context window capacity itself.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API key