Quick Start
3 分钟快速接入
Follow the four steps below: pay, check your order result, then use the API Key directly or redeem the code and create your own key.
Read this first: do not guess the next step. After payment, always check the success page or Order Lookup first. If the page shows Base URL + API Key, you can use them directly. If it shows a redemption code, go to the console to redeem it and then create your key there.
Step 1 — Buy a package
Head to the pricing section and pick a package that fits your needs. After payment, keep your order ID. The success page and Order Lookup page are the two places where AiCredits will show your delivery result.
deepseek-flash — the new recommended model ID. The legacy deepseek-v4-flash name still works and is now served by V4.1 Flash automatically. deepseek-v4-pro stays available with unchanged billing. Nothing breaks: your API keys, credits and existing code keep working.
| Package | Price | Tier | Models | Best for |
|---|---|---|---|---|
| Standard标准包 | $9 | ⚡ Flash Tier | deepseek-flash (V4.1) | Most popular |
| Professional专业包 | $19 | 💎 Pro Tier | flash + pro | Best value |
| Scale旗舰包 | $29 | 💎 Pro Tier | flash + pro | Heavy usage |
Lost the page after checkout? Go to Order Lookup and enter your order ID anytime to recover the delivery result.
Step 2 — Get the delivery result
After payment, the most important thing is to identify which result your order returned. Do not go to the console first. The success page and Order Lookup page are the source of truth.
Start from the order result page — it tells you whether you received a direct API Key or a redemption code. Do not open the API Base URL in your browser; it is for code only.
1) Check your order result first
1)先看订单结果
Lost the success page? Open order lookup and recover the exact delivery result there.
2) Only when you need the console
2)只有需要兑换时才进控制台
If your order shows a redemption code and you already have a console account, use Login below to redeem it. If you don't have an account, skip the console entirely: buyer registration is disabled — just email [email protected] and we will send you a ready-to-use API key directly.
3) API Base URL is for code, not for your browser
3)API Base URL 是给代码填的,不是给浏览器打开的
Do not click this URL expecting a webpage. Opening /v1 directly in a browser can show errors like Invalid URL (GET /v1). Copy it into your SDK or cURL command instead.
https://api.aicreditsapi.com
/anthropic to the base URL to use Anthropic-style messages API. Everything else stays the same.
You only need to remember one rule: if the page shows an API Key, use it directly; if it shows a redemption code and you have a console account, redeem it in Wallet — if not, email [email protected] for a ready-to-use key.
Step 3 — Use the direct API or fallback flow
There are only two real situations after payment. Match what you see on the page with one of the two boxes below and follow that exact path.
The page shows “Base URL + API Key”
页面直接显示“Base URL + API Key”
- Copy the Base URL.
- Copy the API Key.
- Paste both values into the code example below and make your first call.
No console account is required in this path.
The page shows a redemption code
页面显示的是兑换码
- Open Login. If you don't have a console account, don't register (buyer registration is disabled) — email [email protected] and we will send you a ready-to-use API key instead.
- After login, open Wallet / Top Up / Redeem and paste the code.
- After the balance arrives, open Tokens / API Keys and create a new key for yourself.
- Use that newly created key together with the Base URL below. Do not try to open the Base URL as a normal webpage.
If you currently see a redemption code, that is not an error — it means this order was fulfilled through the fallback path.
The two values you eventually need in your project always look like this:
API Base URL: https://api.aicreditsapi.com
API Key: sk-<your-key-from-order-page-or-console>
If you are a beginner, just replace two placeholders in the code samples below: base_url becomes https://api.aicreditsapi.com, and api_key becomes your actual key. Keep the model as deepseek-chat for the first test (no thinking chain, works with every client).
Step 4 — Make your first call
Pick your language, then replace only two placeholders: api_key and base_url. For your first test, keep the model as deepseek-chat.
from openai import OpenAI
client = OpenAI(
api_key="sk-<your-key>",
base_url="https://api.aicreditsapi.com",
)
response = client.chat.completions.create(
model="deepseek-chat",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello!"},
],
)
print(response.choices[0].message.content)
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "sk-<your-key>",
baseURL: "https://api.aicreditsapi.com",
});
const response = await client.chat.completions.create({
model: "deepseek-chat",
messages: [
{ role: "system", content: "You are a helpful assistant." },
{ role: "user", content: "Hello!" },
],
});
console.log(response.choices[0].message.content);
curl https://api.aicreditsapi.com/chat/completions \
-H "Authorization: Bearer sk-<your-key>" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-chat",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello!"}
]
}'
Windows 一键版(单行,cmd / bash 均可直接运行):curl https://api.aicreditsapi.com/v1/chat/completions -H "Authorization: Bearer sk-<your-key>" -H "Content-Type: application/json" -d "{\"model\":\"deepseek-chat\",\"messages\":[{\"role\":\"user\",\"content\":\"Hello!\"}]}"
import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.*;
OpenAIClient client = OpenAIOkHttpClient.builder()
.apiKey("sk-<your-key>")
.baseUrl("https://api.aicreditsapi.com")
.build();
ChatCompletion completion = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("deepseek-chat")
.addUserMessage("Hello!")
.build()
);
System.out.println(completion.choices().get(0).message().content());
package main
import (
"context"
"fmt"
openai "github.com/openai/openai-go"
"github.com/openai/openai-go/option"
)
func main() {
client := openai.NewClient(
option.WithAPIKey("sk-<your-key>"),
option.WithBaseURL("https://api.aicreditsapi.com"),
)
resp, _ := client.Chat.Completions.New(context.Background(),
openai.ChatCompletionNewParams{
Model: openai.F("deepseek-chat"),
Messages: openai.F([]openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Hello!"),
}),
},
)
fmt.Println(resp.Choices[0].Message.Content)
}
That's it! If you see a reply in the terminal, your integration is working. 🎉
Supported Models
Pass any of the model IDs below as the model parameter. Model access depends on your plan tier: Flash tier ($9) can use deepseek-chat (V4.1, thinking off — best for chat clients), deepseek-flash (V4.1, reasoning) and the legacy deepseek-v4-flash; Pro tier ($19/$29) unlocks deepseek-v4-pro as well — see the pricing page for tier details.
| Model ID | Description | Context | Best for |
|---|---|---|---|
deepseek-chat |
V4.1 Flash with thinking off — never returns reasoning_content |
1M | Best for chat apps |
deepseek-flash |
DeepSeek V4.1 Flash — reasoning model, also streams reasoning_content |
1M | Recommended for API |
deepseek-v4-flash |
Legacy ID — routed to V4.1 Flash (reasoning) | 1M | Drop-in compatibility |
deepseek-v4-pro |
DeepSeek V4 Pro (thinking) | 1M | Complex reasoning |
Model availability depends on your current plan quota. If a model is unavailable, the API returns a 429 / quota-exceeded error.
FAQ
My chat app shows no reply, but my credits were used
聊天客户端里看不到回复,但额度被扣了
You are most likely calling deepseek-flash or deepseek-v4-flash from a chat client. Both are reasoning models: they stream their thinking into a separate reasoning_content field before the final answer. A client that does not render that field looks empty, yet the thinking tokens are still billed. Fix: switch the model to deepseek-chat (same V4.1 Flash quality, thinking disabled), or add "reasoning_effort":"none" to your request body. A very small max_tokens can also be fully consumed by the thinking phase, leaving content empty — raise it or disable thinking.
Do I need to create an account?
需要注册账号吗?
Usually no. In the fast path, AiCredits gives you a ready-to-use API Key directly after payment, so you can start calling immediately. In the rare fallback case you can redeem the code with an existing console account; if you don't have one, there is no need to register — email [email protected] and we will send you a ready-to-use API key.
Does quota expire?
额度会过期吗?
No. Credits are prepaid and do not expire unless otherwise stated on the pricing page. Use them at your own pace.
How do I check my remaining balance?
怎么查剩余额度?
Log into the AiCredits console. The dashboard shows your current quota, usage history, and credits consumption per model.
What if I get a 401 Unauthorized error?
遇到 401 Unauthorized 怎么办?
Double-check that your Authorization header is exactly
Bearer sk-<your-key> and that the base_url
points to https://api.aicreditsapi.com (not the OpenAI endpoint).
Can I use streaming?
支持流式输出吗?
Yes. Set stream: true in your request — it works exactly like OpenAI streaming.
I lost my redemption code. What now?
兑换码丢了怎么办?
Go to Order Lookup, enter your order ID (saved in your browser or sent by email), and you'll see your code again.
DeepSeek is limiting its free web and app chat. Does that affect my API key?
DeepSeek 网页版 / App 开始限额了,会影响我的 API Key 吗?
No. On 16 November 2026 DeepSeek tightened its consumer product: single-message input is capped at roughly 40,000 characters, conversations idle for more than 7 days can no longer be resumed, and daily chat usage is limited. That applies to the free DeepSeek web app and mobile app only — not to the API. API access is metered per token under a separate set of rules, so the keys issued here keep working exactly as before, with no change to your balance or expiry. DeepSeek has not published a formal announcement or a timeline for lifting the limits; we watch their official status page and update this page if anything changes on the API side.
Still stuck?
还有问题?
Use the Need Help button on any page to send us a message — we typically reply within 24 hours.
Ready to start?
准备好了?
Pick a package, get your API key, and make your first call in minutes.
View Packages →