deepseek/deepseek-v4.1-flash
DeepSeek-V4.1-Flash-1017 is the October 17, 2026 checkpoint of DeepSeek V4.1 Flash. Supports a 1M-token context and up to 64K output tokens on the current OneHop route, thinking and non-thinking modes, tool calling, JSON output and streaming through the OpenAI-compatible Chat Completions API. Image input requires a base64 data URI; Playground uploads are converted automatically. Fixed OneHop prices per 1M tokens: input $0.09, output $0.36 and cache reads $0.0018, equal to 30% of DeepSeek's official peak USD rates. No time-of-day discount is applied.
出典: https://api-docs.deepseek.com/quick_start/pricing/ · 確認日 2026-10-19
キャッシュ読み取り $0.0018/M · キャッシュ書き込み —/M
どちらの ID を使っても API でこのモデルを呼び出せます。
deepseek/deepseek-v4.1-flashdeepseek-v4.1-flash-1017You can use these names directly in the request model field.
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.1-flash",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)