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.
Este modelo está obsoleto. Las solicitudes a este modelo se reenvían automáticamente a DeepSeek V4.1 Flash (deepseek/deepseek-v4.1-flash) y se cobran al precio de DeepSeek V4.1 Flash; no hace falta cambiar el código. Los precios de esta página son los que se cobran ahora.
Ver DeepSeek V4.1 Flash →Lectura de caché $0.0042/M · Escritura de caché —/M
Puedes usar cualquiera de los IDs para llamar al modelo via API.
deepseek/deepseek-v4-flashReemplaza el marcador ONEHOP_KEY con tu API key. Crear →
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)399 solicitudes · últimos 30 días