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.
このモデルは非推奨になりました。このモデルへのリクエストは自動的に DeepSeek V4.1 Flash(deepseek/deepseek-v4.1-flash)へ転送され、DeepSeek V4.1 Flash の料金で課金されます。コードの変更は不要です。本ページの料金が現在の課金額です。
DeepSeek V4.1 Flash を見る →キャッシュ読み取り $0.0042/M · キャッシュ書き込み —/M
どちらの ID を使っても API でこのモデルを呼び出せます。
deepseek/deepseek-v4-flashONEHOP_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)過去 30 日間で 399 件のリクエスト