deepseek/deepseek-v4-flash
The low-cost member of the DeepSeek V4 family. Supports both thinking and non-thinking modes under one id, a native 1M-token context window, and the cheapest per-token rate in the lineup. Use for high-volume, latency-sensitive tasks.
This model is deprecated. Requests to it are forwarded automatically to DeepSeek V4.1 Flash (deepseek/deepseek-v4.1-flash) and billed at DeepSeek V4.1 Flash's price — no code changes needed. The prices on this page are what you're charged now.
View DeepSeek V4.1 Flash →Cache read $0.0042/M · Cache write —/M
Use either ID to call this model via the API.
deepseek/deepseek-v4-flashReplace the ONEHOP_KEY placeholder with your API key. Create one →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="deepseek/deepseek-v4-flash",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)399 requests · last 30 days