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.
Source : deepseek_original_price · Vérifié le 2026-06-01
Lecture cache $0.0028/M · Écriture cache —/M
Utilisez l'un ou l'autre des IDs pour appeler ce modèle via l'API.
deepseek/deepseek-v4-flashRemplacez le placeholder ONEHOP_KEY par votre API key. Créer →
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)12 979 requêtes · 30 derniers jours