DeepSeek V4.1 Flash (CN)
This channel serves DeepSeek V4.1 Flash over OpenAI Chat Completions and Codex Responses. Choose the “DeepSeek V4.1 Flash (CN)” channel when you create the API key.
The model ID must be exactly deepseek-v4.1-flash; any other ID returns 400. Billing is 60% of the official USD list, converted to credits at 6.8. Busy hours are 09:00-12:00 and 14:00-18:00 Beijing time on weekdays; all other hours and weekends are off-peak. See the pricing page for the rates.
Claude Code (/v1/messages) is not available on this channel.
Copy these model IDs into config files, API request bodies, or any OpenAI-compatible client that asks for a model name. Each model can only be called with a key on its own channel.
Prepare your API key first
1. Go to your account page
After logging in, create or copy an API key from your account page. It looks like sk-or-v1-xxxxxxxxxxxx. Treat it like a password.
Go to account page2. Create an API key and choose a channel
Select Create API Key, enter a recognizable name, then choose the channel that fits your use case:
- GPT Pro · 0.22x (Pro pool)
- Prioritizes stability for OpenAI (Codex) and OpenAI-compatible clients. Recommended for long-running or important text workloads.
- GPT Economy · 0.09x (Plus pool)
- Prioritizes price for OpenAI (Codex) and OpenAI-compatible clients. Recommended for everyday development, learning, testing, and cost-sensitive text workloads.
- 国产 DeepSeek V4.1 Flash · 60% of official price
- Serves deepseek-v4.1-flash only, with a 1M context window, thinking mode, tool calls, and image input. Works with OpenAI (Codex) and OpenAI-compatible clients.
- DeepSeek · 85% / 65% of official price
- Serves deepseek-v4-flash and deepseek-v4-pro. Works with OpenAI (Codex), OpenAI-compatible clients, and Claude Code.
Claude Code runs only on Claude or Grok channel keys; GPT Pro and Unrestricted keys are refused with a 403. For images, create a separate OpenAI image key or Grok image key. Text and image purposes cannot be mixed in one key.
3. Confirm the Base URL
Use https://api.shenwenai.com/v1; this channel serves /v1/models, /v1/chat/completions and /v1/responses.
Do not share your API key with others or commit it to GitHub, GitLab, or any public repository.
Create a DeepSeek V4.1 API key
Sign in, open “API Keys”, click “New API Key” and pick the “DeepSeek V4.1 Flash (CN)” channel. Codex and OpenAI-compatible capabilities are both available.
The key serves deepseek-v4.1-flash only. Image generation, GPT models and the other DeepSeek models each need a key on their own channel.
Check the model list
curl https://api.shenwenai.com/v1/models \
-H "Authorization: Bearer sk-or-v1-your-key"The response should list deepseek-v4.1-flash.
Send a Chat Completions request
curl -N https://api.shenwenai.com/v1/chat/completions \
-H "Authorization: Bearer sk-or-v1-your-key" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4.1-flash","messages":[{"role":"user","content":"Hello"}],"stream":true}'