You bought DeepSeek credits with a card — no PayPal, no Chinese phone. Now let's make the key actually work. AiCredits is 100% OpenAI-compatible: change base_url, keep your code.
Base URL: https://api.aicreditsapi.com/v1
Models: deepseek-chat (recommended, works with every client)
deepseek-flash (faster, lighter)
deepseek-v4-flash (thinking model - avoid in basic chat clients)
deepseek-v4-pro (deep reasoning)
Your key: found in the dashboard after purchase
from openai import OpenAI
client = OpenAI(
base_url="https://api.aicreditsapi.com/v1",
api_key="YOUR_AICREDITS_KEY",
)
resp = client.chat.completions.create(
model="deepseek-chat",
messages=[{"role": "user", "content": "Hello DeepSeek!"}],
)
print(resp.choices[0].message.content)
YOUR_AICREDITS_KEY).Stuck? Reply to the welcome email or check the Trust page for data-residency and pricing details.
Need more credits? View plans粘贴你的 API Key,发送一条最小请求。成功即代表已激活——我们也会据此在 GA4 记录你的首调用。