No card needed. After sign-up, claim $0.50 of free test credit with one click (once per person).
Get API keyWhat free usually means
When a provider lists a free tier, it is normally one of four things: a small one-time credit, a monthly allowance that resets, a rate-limited public endpoint, or a promotional period. Each has trade-offs. One-time credits run out. Allowances can change without notice. Public endpoints are often slow at busy hours. Promotions end.
For DeepSeek's own models, what is free and for how long is set by DeepSeek and can change, so check their current pricing and terms. We cannot speak for them. You can also run open-weight coder models yourself, which is free in licence terms but not in GPU time, power or setup effort. Self-hosting makes sense when you have spare hardware; it does not when you need an endpoint in ten minutes.
What we offer: the $0.50 trial
This site does not run a free API. It runs a prepaid one with a small trial so you can test before you pay.
- After sign-up (Google, or email and password), open the API key page and claim $0.50 of trial credit with one click.
- No card is needed.
- It is valid for 7 days and limited to one per person.
- A trial key allows 2 concurrent requests and 60 requests per minute.
To be clear about the product: it is not the DeepSeek Coder V2 API and not a router across vendors. It serves one open-weight model, run by an independent provider and tuned to answer without content refusals for lawful adult use. It is text only. Anything involving sexual content with minors is a hard no.
How far $0.50 goes
At $0.15 per 1M input tokens and $0.50 per 1M output tokens, a small request is very cheap. Three examples of how the trial credit is used:
| Request size | Cost of one request | Requests in $0.50 |
|---|---|---|
| 2,000 in, 500 out | $0.00030 + $0.00025 = $0.00055 | 909 |
| 3,000 in, 600 out | $0.00045 + $0.00030 = $0.00075 | 666 |
| 20,000 in, 2,000 out | $0.00300 + $0.00100 = $0.00400 | 125 |
So the trial is enough for a few hundred normal chat or code questions, or about 125 reviews of a mid-sized file. That is plenty to answer the questions that matter: does the endpoint plug into your tool, are the replies useful for your prompts, and is the latency acceptable for your use. We publish no benchmark or latency numbers, so measure on your own prompts.
Because the trial key is capped at 60 requests per minute and 2 at a time, plan tests as a short script, not a load test. Load testing belongs on a funded key.
A test script for the trial
This script sends ten short coding questions, sums the token usage and prints the cost, so you see real numbers for your own prompts:
from openai import OpenAI
client = OpenAI(
base_url="https://api.deepseekcoderapi.com/v1",
api_key="YOUR_TRIAL_KEY",
)
prompts = [
"Write a Python function to merge two sorted lists.",
"Explain what a race condition is, with a short example.",
"Convert this SQL to use a CTE: SELECT * FROM t WHERE id IN (SELECT id FROM u);",
# add your own real prompts here
]
tin = tout = 0
for p in prompts:
r = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": p}],
max_tokens=500,
)
tin += r.usage.prompt_tokens
tout += r.usage.completion_tokens
cost = tin * 0.15 / 1_000_000 + tout * 0.50 / 1_000_000
print(tin, tout, round(cost, 6))
Multiply the printed cost by your expected monthly request count and you have a budget. Do the same with a rival's published rates to compare. The quickstart shows the same call in Node and curl.
After the trial: paying only for what you use
When the trial runs out or expires, you top up any whole amount from $20 to $500. Bonuses apply on the credit: +5% from $50, +10% from $100 and +15% from $200. A $50 top-up gives $52.50, a $100 top-up gives $110, and $200 gives $230. You pay by crypto (USDT on TRC20, USDC on Base).
Credit never expires, there is no subscription, and failed or refused requests are not charged. A full key raises the limits to 8 concurrent requests and 300 requests per minute. The pricing page has the current list.
To see what $20 means in practice: at 2,000 in and 500 out per request ($0.00055), $20 covers about 36,363 requests. For a hobby project that is months of use; for a production agent it may be a week.
When a truly free option is the better choice
Be honest with yourself about what you need. A free tier or a self-hosted model is the better fit if you send only a few requests a week, if your data must never leave your machine, or if you are learning and a rate-limited endpoint is fine. Check the current terms of any free offer before you build on it, and keep your client generic so that you can switch.
A prepaid endpoint fits better if you need predictable availability under your own key, want to use the standard OpenAI SDK with a changed base URL, or work on content that mainstream APIs refuse. Our overview of the DeepSeek API and its alternatives explains the wider options and how to move between them.
