DeepSeek

DeepSeek V4 Flash API

CN DeepSeek | rilasciato 2026-04 | data di aggiornamento conoscenze 2025-08
Prova nel Playground → Ottieni chiave API

DeepSeek V4 Flash è il fratello leggero di V4 Pro, ottimizzato per latenza e costo. A circa un terzo del prezzo di Pro, è ideale per classificazione, estrazione, instradamento e altre attività ad alto throughput dove la velocità è più importante della profondità di ragionamento massima.

CodiceImmagineStrumentiJSONVeloce

Prezzi (lista ufficiale, per 1 milione di token)

Input
$0.21/M
Output
$0.64/M
Note: upstream applies 2x–4.5x peak-hour pricing (09:00–12:00 & 14:00–18:00 Beijing time); the MeshTok rate above stays flat.

Specifiche

Finestra di contesto1000K token Output massimo32.768K token Modalità di inputImmagine Streaming APICompatibile con OpenAI

Come usare DeepSeek V4 Flash

Sostituzione diretta di OpenAI. Modifica solo base_url e model.

# Python - pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://meshtok.com/v1",
    api_key="sk-your-MeshTok-key",
)

resp = client.chat.completions.create(
    model="deepseek/deepseek-v4-flash",
    messages=[{"role":"user","content":"Hello!"}],
)
print(resp.choices[0].message.content)
# cURL
curl https://meshtok.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-MeshTok-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek/deepseek-v4-flash","messages":[{"role":"user","content":"Hello!"}]}'

Modelli correlati

Altri modelli che potresti considerare.