DeepSeek V4 Pro & V4.1 Flash API — Access via an AI API Gateway
Key facts: model IDs
deepseek-v4-pro,deepseek-v4.1-flash, anddeepseek-flash; 1M-token context window, up to 384K output tokens; V4.1 Flash adds image input. DeepSeek's official peak list rates are $1.32 / $3.96 per MTok (V4 Pro) and $0.30 / $1.20 per MTok (V4.1 Flash), with off-peak at half price; byesu bills pay-as-you-go per token with live rates in the console. Base URL:https://byesu.com/v1(OpenAI-compatible) orhttps://byesu.com(Anthropic-compatible).
Call DeepSeek V4 Pro and DeepSeek V4.1 Flash through byesu using the same API key and balance you use for Claude, GPT, Gemini, and Grok.
Model specs and official rate cards below are verified against DeepSeek's official API documentation and pricing schedule as of November 2026 (note: legacy
deepseek-chatanddeepseek-reasonerwere retired in July 2026, and DeepSeek withdrew its September plan to sunsetdeepseek-v4-pro, keeping both models active).
V4 Pro vs V4.1 Flash
| Item | DeepSeek V4 Pro | DeepSeek V4.1 Flash |
|---|---|---|
| Model IDs on byesu | deepseek-v4-pro | deepseek-v4.1-flash · deepseek-flash · deepseek-v4.1-flash-1017 |
| Context window | 1M tokens | 1M tokens |
| Max output | 384K tokens | 384K tokens |
| Modalities | Text input / text output | Text + image input / text output |
| Modes & tools | Thinking & non-thinking, tool calls, JSON mode | Thinking & non-thinking, tool calls, JSON mode |
| Official peak list (input / output) | $1.32 / $3.96 per MTok ($0.044 cache hit) | $0.30 / $1.20 per MTok ($0.006 cache hit) |
| Official off-peak list | $0.66 / $1.98 per MTok | $0.15 / $0.60 per MTok |
How Pricing Works
byesu charges pay-as-you-go by token usage from a prepaid balance with no monthly fee; check the console model list after signing in for live billing rates. A default auto-group token covers all DeepSeek V4 models on byesu.
On DeepSeek's first-party platform, peak pricing applies Monday–Friday during 01:00–04:00 UTC and 06:00–10:00 UTC (excluding Chinese public holidays), with off-peak hours at 50% and automatic prefix cache storage at no write surcharge.
How to Call It
OpenAI-compatible SDK (/v1/chat/completions)
from openai import OpenAI
client = OpenAI(api_key="sk-YOUR_TOKEN", base_url="https://byesu.com/v1")
resp = client.chat.completions.create(
model="deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Compare epoll EPOLLET vs EPOLLLT in three bullet points."}],
)
print(resp.choices[0].message.content)Use in Claude Code or OpenCode
Because byesu exposes both /v1/chat/completions and /v1/messages, you can switch to deepseek-v4-pro or deepseek-v4.1-flash in OpenCode, Roo Code, or Cherry Studio without adding a separate DeepSeek account.
FAQ
Which DeepSeek V4 model IDs are available on byesu?
byesu serves deepseek-v4-pro (DeepSeek V4 Pro) as well as deepseek-v4.1-flash and deepseek-flash (DeepSeek V4.1 Flash, plus pinned snapshot deepseek-v4.1-flash-1017 and legacy aliases deepseek-v4-flash). All work with a default auto-group token.
What is the difference between DeepSeek V4 Pro and V4.1 Flash?
Both offer a 1M-token context window, up to 384K output tokens, thinking mode, and tool calling. DeepSeek V4.1 Flash adds native multimodal image input at a lower official rate card, while V4 Pro remains text-only for deep reasoning tasks.
How much does the DeepSeek V4 API cost?
byesu bills pay-as-you-go per token with live rates shown in the console after sign-in. For reference, DeepSeek's official peak list prices are $1.32 / $3.96 per 1M input / output tokens for deepseek-v4-pro ($0.66 / $1.98 off-peak) and $0.30 / $1.20 peak for V4.1 Flash ($0.15 / $0.60 off-peak).