Quickstart
Base URL https://unlimited-deepseek.com/v1. Authenticate with Authorization: Bearer cp-… or x-api-key: cp-…. Create a key in the dashboard.
New accounts get a free 1-hour trial with up to 1M tokens; the clock starts at your first API call.
curl
curl https://unlimited-deepseek.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek-v4.1-flash", "messages": [{"role": "user", "content": "Hello"}]}'
OpenAI SDK
# pip install openai
from openai import OpenAI
client = OpenAI(base_url="https://unlimited-deepseek.com/v1", api_key="cp-...")
r = client.chat.completions.create(
model="glm-5.3-flash",
messages=[{"role": "user", "content": "Write a haiku about ledgers"}],
stream=True,
)
for chunk in r:
print(chunk.choices[0].delta.content or "", end="")
// npm i openai
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://unlimited-deepseek.com/v1", apiKey: process.env.API_KEY });
const r = await client.chat.completions.create({ model: "deepseek-v4.1-flash", messages: [{ role: "user", content: "Hi" }] });
Anthropic SDK
import anthropic
client = anthropic.Anthropic(base_url="https://unlimited-deepseek.com", api_key="cp-...")
msg = client.messages.create(model="deepseek-v4.1-flash", max_tokens=1024,
messages=[{"role": "user", "content": "Hi"}])
Claude Code
export ANTHROPIC_BASE_URL=https://unlimited-deepseek.com export ANTHROPIC_AUTH_TOKEN=cp-... export ANTHROPIC_MODEL=deepseek-v4.1-flash export ANTHROPIC_SMALL_FAST_MODEL=glm-5.3-flash claude
OpenCode
Add a provider to ~/.config/opencode/opencode.json:
{
"provider": {
"unlimited-deepseek": {
"npm": "@ai-sdk/openai-compatible",
"options": { "baseURL": "https://unlimited-deepseek.com/v1", "apiKey": "{env:API_KEY}" },
"models": { "deepseek-v4.1-flash": {}, "glm-5.3-flash": {} }
}
}
}
Models
| Model | Input | Cached input | Output |
|---|---|---|---|
| DeepSeek V4.1 Flashdeepseek-v4.1-flash | $0.006$0.3 | $0.00012$0.006 | $0.024$1.2 |
| GLM-5.3 Flashglm-5.3-flash | $0.003$0.15 | $0.0006$0.03 | $0.01$0.5 |
Endpoints: POST /v1/chat/completions, POST /v1/messages, GET /v1/models. Streaming responses include a final usage chunk, which is what you are billed for.
Errors
| 401 | Key missing, wrong, or revoked. |
| 402 | Balance is empty or the free trial has ended. Top up in the dashboard; the request was not sent. |
| 404 | Unknown model id. The message lists the ones available. |
| 429 | Per-key rate limit. Honour retry-after. |
| 5xx | Upstream failure. Failed requests are not charged. |