DeepSeek V4 Flash
deepseek/deepseek-v4-flashDeepSeek V4 Flash is an efficiency-optimized Mixture-of-Experts model from DeepSeek with 284B total parameters and 13B activated parameters, supporting a 1M-token context window. It is designed for fast inference and high-throughput workloads, while maintaining strong reasoning and coding performance.
Leggi di più- Prezzo input
- $0.22
$0.30USD / 1M token - Prezzo output
- $0.90
$1.20USD / 1M token - Lettura da cache
- $0.0045
$0.006USD / 1M token - Finestra di contesto
- 1M
- Output massimo
- 384K
Specifiche
- Input
- Testo
- Output
- Testo
Informazioni su questo modello
DeepSeek V4 Flash is an efficiency-optimized Mixture-of-Experts model from DeepSeek with 284B total parameters and 13B activated parameters, supporting a 1M-token context window. It is designed for fast inference and high-throughput workloads, while maintaining strong reasoning and coding performance.
The model includes hybrid attention for efficient long-context processing. Reasoning efforts high and xhigh are supported; xhigh maps to max reasoning. It is well suited for applications such as coding assistants, chat systems, and agent workflows where responsiveness and cost efficiency are important.
Prova il modello
Playground
Scrivi un prompt per provare questo modello. L'utilizzo viene fatturato secondo i prezzi indicati.
Prova un prompt
La tua risposta apparirà qui
Scegli un esempio oppure scrivi un prompt, poi fai clic su Esegui.
Inizia a costruire
Invia la tua prima richiesta
Endpoint compatibile con OpenAI con autenticazione unificata e tracciamento dell'utilizzo.
curl -X POST "https://api.sandbase.ai/v1/chat/completions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v4-flash",
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"max_tokens": 2048
}'Schema di input
13 parametri · 1 obbligatori · 12 facoltativi
| Parametro | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
messages | object[] | Obbligatorio | Conversation so far, as an ordered list of messages with a role (system, user or assistant) and content. |
seed | integer | Facoltativo | Best-effort deterministic sampling: repeated requests with the same seed and parameters should return similar results. |
stop | string[] | Facoltativo | Sequences where the model stops generating. The stop sequence is not included in the output. |
tools | array | Facoltativo | Functions the model may call. Each tool declares a name, description and JSON Schema parameters. |
top_k | integer | Facoltativo | Only sample from the k most likely next tokens. · Min: 0 |
top_p | number | Facoltativo | Nucleus sampling: only tokens within this cumulative probability are considered. · Min: 0 · Max: 1 |
stream | boolean | Facoltativo | Stream the response as server-sent events instead of returning it in one piece. · Predefinito: false |
max_tokens | integer | Facoltativo | Maximum number of tokens to generate in the response. · Max: 384000 |
temperature | number | Facoltativo | Sampling temperature. Higher values make output more random; lower values make it more focused. · Min: 0 · Max: 2 · Predefinito: 1 |
tool_choice | string | Facoltativo | Controls tool use: "auto", "none", "required", or a specific function. |
response_format | object | Facoltativo | Output format, for example { "type": "json_object" } or a JSON Schema for structured output. |
presence_penalty | number | Facoltativo | Penalizes tokens that already appear at all, encouraging new topics. · Min: -2 · Max: 2 |
frequency_penalty | number | Facoltativo | Penalizes tokens by how often they already appear, reducing repetition. · Min: -2 · Max: 2 |
Schema di output
| Campo | Tipo | Descrizione |
|---|---|---|
id | string | Identificatore univoco del completamento |
object | string | Tipo di oggetto, ad esempio "chat.completion" |
model | string | Modello usato per il completamento |
choices | array | Elenco delle alternative di completamento |
choices[].message.content | string | Contenuto di testo generato |
choices[].finish_reason | string | Motivo per cui la generazione si è interrotta |
usage.prompt_tokens | integer | Numero di token nel prompt |
usage.completion_tokens | integer | Numero di token nel completamento |
usage.total_tokens | integer | Token totali utilizzati |
Domande
FAQ
Come chiamo DeepSeek V4 Flash tramite SandBase?
Crea una chiave API SandBase, poi invia richieste con l'ID modello "deepseek/deepseek-v4-flash" a Chat Completions API (/v1/chat/completions) su https://api.sandbase.ai. Gli esempi di richiesta in questa pagina mostrano il payload esatto.
Quanto costa DeepSeek V4 Flash?
$0.22 per 1M token di input e $0.90 per 1M token di output con l'attuale sconto del 25% (prezzo di listino $0.30 / $1.20), addebitato per richiesta dal tuo saldo SandBase.
Qual è la finestra di contesto di DeepSeek V4 Flash?
1M token di contesto, con fino a 384K token di output per risposta.
Quali funzionalità supporta DeepSeek V4 Flash?
DeepSeek V4 Flash supporta ragionamento, function calling, output strutturato. Consulta le Specifiche sopra per l'elenco completo.
Mi serve un account DeepSeek separato?
No. Una sola chiave API e un solo saldo SandBase ti danno accesso a DeepSeek V4 Flash e agli altri modelli del catalogo; non è necessario registrarsi separatamente su DeepSeek.
