DeepSeek Pay-as-You-Go: One API Key for DeepSeek, Qwen and Kimi
Use one OpenAI-compatible key for DeepSeek, Qwen and Kimi: choose current model IDs, configure the endpoint, run a minimal request and verify usage.
HeFu · Published 2026-08-28 · Updated 2026-11-24
2 min read
DeepSeek pay-as-you-go access through HeFu lets you use DeepSeek, Qwen and Kimi with one OpenAI-compatible endpoint and one account. The practical benefit is simpler key management and model switching; output quality, protocol support and actual cost still need to be verified for your own workload.
DeepSeek Pay-as-You-Go Setup in Three Steps
- Choose a current model. Open the HeFu model catalog, filter by task and copy the exact model ID from the detail page.
- Create and store a key. Create an API key in your HeFu console and keep it in a server-side environment variable or secret manager.
- Run a minimal request. Use the endpoint below, verify the response, then check the call record and wallet entry.
export HEFU_API_KEY="your-server-side-key"
curl https://api.hefu.hk/v1/chat/completions \
-H "Authorization: Bearer $HEFU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"<model-id>","messages":[{"role":"user","content":"Summarize this in one sentence."}]}'
Replace <model-id> with the exact current identifier. Request parameters and other supported endpoints are in the HeFu API documentation.
Choose DeepSeek, Qwen or Kimi by Task
Do not assume one family wins every workload. Run the same representative input through your finalists and record the result.
| Task to validate | What to record | Common failure to catch |
|---|---|---|
| Classification or extraction | Field completeness and invalid-output rate | Missing keys or invented values |
| Long-document review | Context fit, recall and response time | Ignored instructions near the end |
| Coding or tool use | Compilable output and valid tool arguments | Wrong schema or incomplete streaming deltas |
| Chinese content | Terminology, factual accuracy and tone | Literal or unnatural phrasing |
The online model experience is useful for comparing responses before writing integration code. Model availability and capabilities can change, so use the current detail page rather than a saved list.
DeepSeek Pay-as-You-Go Cost Verification
Current listed rates belong to the live catalog, not this guide. Estimate your own input and output volume with the HeFu cost calculator, then run a small representative batch. Afterward, reconcile:
- The exact model ID and number of successful calls.
- Input, output and cached usage where applicable.
- Retries, failed requests and any fallback calls made by your application.
- The final entries in call records and wallet details.
For vendor background and protocol details, consult DeepSeek API documentation, Alibaba Cloud Model Studio documentation and Moonshot AI platform documentation. Those sources do not replace HeFu's current catalog when you call through HeFu.
Production Checklist
- Test success, invalid key, unknown model, timeout and rate-limit responses.
- Verify streaming and tool calling separately if your application uses them.
- Set a budget and usage alerts before exposing the feature to users.
- Keep a tested model or provider fallback and a safe key-rotation process.
FAQ
Can one API key call DeepSeek, Qwen and Kimi?
Yes, when those models are currently listed on HeFu. Use the same base URL and API key, and change only the model parameter to the exact ID shown in the live catalog.
Do I need to rewrite an existing OpenAI SDK integration?
Usually not for a supported chat workflow. Change the base URL, API key and model ID, then verify streaming, tool calling and error handling separately if your application uses them.
Where should I check prices?
Use HeFu's live model catalog for current platform rates and billing units. Reconcile actual consumption in call records and wallet details rather than relying on a static article.