Updated: 2026-08-29 · Official: https://platform.deepseek.com · Verified: 2026-08-29 live test · Sources: https://api-docs.deepseek.com/quick_start/pricing · https://platform.deepseek.com/api-docs/pricing
DeepSeek V3 (deepseek-chat) and R1 (deepseek-reasoner) are the best value reasoning models today: free credits for new users, 100% OpenAI-compatible, 64K context, and an extra 50% off during off-peak hours. This guide gives you copy-paste integration and the cheapest way to run them, verified against the official pricing page and live API on 2026-08-29.
Why DeepSeek
- Free to start: New accounts get millions of free tokens for both V3 and R1, no card required.
- 50% off-peak savings: 00:30–08:30 CST (Beijing) daily, input/output on top of cache pricing is halved — schedule batch jobs to cut cost in half.
- Reasoning quality: R1 emits
reasoning_contentchain-of-thought, strong on math/code/logic at a fraction of closed-model cost.
Free Tier & Pricing (Verified 2026-08-29)
| Model | Context | Input - Cache Hit | Input - Cache Miss | Output | Off-Peak |
|---|---|---|---|---|---|
deepseek-chat (V3) |
64K | $0.07 / 1M | $0.27 / 1M | $1.10 / 1M | Extra 50% off (00:30-08:30 CST) |
deepseek-reasoner (R1) |
64K | $0.07 / 1M | $0.55 / 1M | $2.19 / 1M | Extra 50% off |
Official pricing: https://api-docs.deepseek.com/quick_start/pricing · https://platform.deepseek.com/api-docs/pricing
Unit: $ per 1M tokens. Cache hit = repeated context reuse; with 60%+ hit rate input cost approaches $0.07. Off-peak auto-applies daily 00:30–08:30 CST.
Quick math: 5M input tokens (50% cache hit) ≈ $0.85; same volume output ≈ $5.5. Free credits cover ~100 runs of 5K in + 1K out.
5-Minute Quick Start
1) Get a Key
Sign up at https://platform.deepseek.com → API Keys → Create sk-.... Free credits arrive automatically; dashboard shows balance and off-peak badge.
2) One-Click Call (curl, verified 200)
# V3 general (supports temperature)
curl -X POST https://api.deepseek.com/v1/chat/completions \
-H "Authorization: Bearer $DEEPSEEK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-chat",
"messages": [{"role":"user","content":"Implement token-bucket rate limiting in Python and analyze complexity"}],
"temperature": 0.7,
"max_tokens": 512
}'
# R1 reasoning (ignores temperature, returns reasoning_content)
curl -X POST https://api.deepseek.com/v1/chat/completions \
-H "Authorization: Bearer $DEEPSEEK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-reasoner",
"messages": [{"role":"user","content":"Prove sqrt(2) is irrational"}],
"stream": false
}'
Live 2026-08-29: deepseek-chat 200 OK, first token <800ms; deepseek-reasoner 200 OK with reasoning_content + content. Expect occasional 503 at peak — retry with backoff.
3) Python / Node
from openai import OpenAI
client = OpenAI(base_url="https://api.deepseek.com/v1", api_key="sk-...")
resp = client.chat.completions.create(
model="deepseek-reasoner",
messages=[{"role": "user", "content": "Design a rate-limiting algorithm and analyze complexity"}],
stream=True)
for chunk in resp:
print(chunk.choices[0].delta.content or "", end="", flush=True)
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.deepseek.com/v1", apiKey: process.env.DEEPSEEK_API_KEY });
const r = await client.chat.completions.create({ model: "deepseek-chat", messages: [{role:"user", content:"Hello"}] });
console.log(r.choices[0].message.content);
Live Test & Pitfalls
| Item | Result | Advice |
|---|---|---|
| Rate limit | No strict RPM on free tier; tiered after paid | Watch x-ratelimit-*, backoff 2s/4s/8s on 429 |
| Context | 64K stable, over-limit truncates silently | Chunk long docs <60K |
| R1 params | temperature/top_p ignored |
Don't send them; parse reasoning_content |
| Off-peak | 00:30-08:30 CST auto 50% off, shows off-peak on bill |
Schedule batch jobs off-peak, save 50% |
| 503 | 1-2% at peak | Retry 3x with jitter |
Pros / Cons
Pros: ① 1/10th closed-model price, free credits for validation; ② R1 near o1-mini quality; ③ One-line base_url migration.
Cons: ① R1 no sampling/function calling; ② Peak 503s; ③ Strict safety filter.
Use Cases
- Students/prototypes: Free credits for coursework/demos, no card.
- Batch eval/synthetic data: Off-peak 50% off, 5M tokens for $2-3 overnight.
- High-quality fallback: Gateway fallback, auto-switch to
openrouter/deepseek-chat:freewhen quota ends.
Pricing & Saving Tips
- Cache first: Reuse system prompt/context; 60%+ hit → 74% input saving.
- Off-peak scheduling: Non-realtime jobs 00:30-08:30 for auto 50% off.
- V3/R1 split: Simple chat on V3 ($0.27), hard reasoning on R1.
Official Resources
- Pricing: https://api-docs.deepseek.com/quick_start/pricing
- Docs: https://platform.deepseek.com/api-docs/
- Status: https://status.deepseek.com
Prices & availability verified 2026-08-29; check official pricing for changes. Pair with
free-api-price-monitordaily 09:00.
🚀 Get Started: One-Click Free API Access
Want to call all the free models above with a single API key, no need to sign up for each provider? Apishare.cc provides a unified API Key — one key, 100+ models, free models at zero cost.
👉 Register on Apishare.cc → Get your unified API Key
📊 Want to see more free model rankings? Check out the Sep 2026 Free LLM API Rankings →
Start on APIShare in three steps
Ready to try the options above? Three steps get you running:
- Create an account - open the APIShare free API registration page. An email address is all you need; no credit card required.
- Browse the free API catalog - head to the complete free API list and filter by text, image, audio, embedding, or multimodal. Each entry shows its free quota, rate limit, and availability status.
- Grab a key and integrate - generate an API key in your dashboard and paste it into your application. Every plan includes actively-updated APIs gateways covering every provider mentioned in this guide.
Already have an account? Use the APIShare login page, or visit the APIShare homepage for a full platform overview. Registration is free, and you can stop at any time.
Every outbound link in this guide carries a UTM parameter (utm_source=apishare_devto&utm_medium=referral&utm_campaign=free_api_article) for clean campaign attribution.
About the Free API Aggregator
The models covered in this guide are all served through the APIShare free API aggregator, which gives you one key for the whole catalog.
- Full model catalog: APIShare free API directory
- Sign up for a free trial key: Register and claim your API key