DeepSeek V4 Flash
deepseek-v4-flash-202605AvailableDeepSeek's fast, low-cost text generation model (V4).
- Context
- 1M tokens
- Max output
- 384K tokens
- vs. official price
- 10% cheaper
Pricing (USD per 1M tokens)
How prices are calculated| Item | Official | Basic | Premium |
|---|---|---|---|
| Input | $0.30≈ ¥47.6 | $0.27≈ ¥42.5 | $0.24≈ ¥37.7 |
| Output | $1.20≈ ¥190 | $1.08≈ ¥170 | $0.96≈ ¥151 |
| Cache read | $0.006≈ ¥0.95 | $0.0054≈ ¥0.85 | $0.0048≈ ¥0.75 |
Notes
The prices in the table are for weekdays from 10:00–13:00 and 15:00–19:00 Japan time (excluding Chinese holidays); during other time slots, they are half price.
How to call
POST/v1/chat/completions
import os
from openai import OpenAI
client = OpenAI(
base_url="https://token.echohub.io/v1",
api_key=os.environ["ECHO_API_KEY"],
)
res = client.chat.completions.create(
model="deepseek-v4-flash-202605",
messages=[{"role": "user", "content": "Hello"}],
)
print(res.choices[0].message.content)import os
from anthropic import Anthropic
# The Anthropic SDK adds /v1 at the end automatically
client = Anthropic(
base_url="https://token.echohub.io",
api_key=os.environ["ECHO_API_KEY"],
)
msg = client.messages.create(
model="deepseek-v4-flash-202605",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello"}],
)
print(msg.content[0].text)curl https://token.echohub.io/v1/chat/completions \
-H "Authorization: Bearer $ECHO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-flash-202605",
"messages": [{"role": "user", "content": "Hello"}]
}'