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.
Эта модель устарела. Запросы к ней автоматически перенаправляются на DeepSeek V4.1 Flash (deepseek/deepseek-v4.1-flash) и оплачиваются по цене DeepSeek V4.1 Flash — менять код не нужно. Цены на этой странице — те, по которым списывается оплата сейчас.
Для вызова модели через API используйте любой из ID.
Имя в OneHopdeepseek/deepseek-v4-flash
Попробовать
Замените заполнитель ONEHOP_KEY вашим API key. Создать →
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)