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
API 호출 시 어떤 ID든 사용할 수 있습니다.
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)