API des Modells ~deepseek/deepseek-flash-latest bei OpenRouter, $0.02 / $0.2 pro Million Tokens, Kontext 1.048.576 Tokens. Beispiele in curl, Python und JavaScript, Live-Test.
Im Katalog testen und bewerten
This model always redirects to the latest model in the DeepSeek Flash family.
- Typ
- Modell
- Anbieter
- OpenRouter
- Modell-ID
~deepseek/deepseek-flash-latest- Preis
- Kostenpflichtig
- Preis Eingabe / Ausgabe
- $0.02 / $0.2 pro Million Tokens
- Zugang ohne Schlüssel
- Nein
- Schlüsselvariable
OPENROUTER_API_KEY- Basis-URL (OpenAI-kompatibel)
https://openrouter.ai/api/v1- Kontext
- 1.048.576 Tokens
- Eingaben
- Text, Bild
- Funktionen
- Reasoning, JSON-Ausgabe, Tool-Aufrufe
- Entwicklerbewertung
- Noch nicht bewertet
- Dokumentation
- https://openrouter.ai/~deepseek/deepseek-flash-latest
Codebeispiele
cURL
curl https://openrouter.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-d '{"model":"~deepseek/deepseek-flash-latest","messages":[{"role":"user","content":"Hallo, stell dich in einem Satz vor."}]}'Python
# pip install openai
import os
from openai import OpenAI
client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
r = client.chat.completions.create(
model="~deepseek/deepseek-flash-latest",
messages=[{"role": "user", "content": "Hallo, stell dich in einem Satz vor."}],
)
print(r.choices[0].message.content)JavaScript
// npm install openai
import OpenAI from 'openai'
const client = new OpenAI({ baseURL: 'https://openrouter.ai/api/v1', apiKey: process.env.OPENROUTER_API_KEY })
const r = await client.chat.completions.create({
model: '~deepseek/deepseek-flash-latest',
messages: [{ role: 'user', content: 'Hallo, stell dich in einem Satz vor.' }],
})
console.log(r.choices[0].message.content)
Beliebte Suchen
Häufige Fragen
Ist die API von DeepSeek: DeepSeek Flash Latest kostenlos?
Nein: DeepSeek: DeepSeek Flash Latest ist eine kostenpflichtige API ($0.02 / $0.2 pro Million Tokens).
Wie rufe ich DeepSeek: DeepSeek Flash Latest aus meinem Code auf?
DeepSeek: DeepSeek Flash Latest bietet eine OpenAI-kompatible API unter https://openrouter.ai/api/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Modellkennung: ~deepseek/deepseek-flash-latest. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.
Wie groß ist das Kontextfenster von DeepSeek: DeepSeek Flash Latest?
DeepSeek: DeepSeek Flash Latest verarbeitet bis zu 1.048.576 Tokens Kontext (Nachricht und Verlauf).
Welche Alternativen gibt es zu DeepSeek: DeepSeek Flash Latest?
Ähnliche APIs im Katalog: DeepSeek: DeepSeek V4.1 Flash 1017, DeepSeek: DeepSeek V4.1 Flash 1017 (batch), DeepSeek: DeepSeek V4.1 Flash 1017 (TEE), DeepSeek: DeepSeek Pro Latest, DeepSeek: DeepSeek Flash Latest (TEE).
Alternativen
- DeepSeek: DeepSeek V4.1 Flash 1017 — Kostenpflichtig
- DeepSeek: DeepSeek V4.1 Flash 1017 (batch) — Kostenpflichtig
- DeepSeek: DeepSeek V4.1 Flash 1017 (TEE) — Kostenpflichtig
- DeepSeek: DeepSeek Pro Latest — Kostenpflichtig
- DeepSeek: DeepSeek Flash Latest (TEE) — Kostenpflichtig
- DeepSeek: DeepSeek V4.1 Flash — Kostenpflichtig
- DeepSeek: DeepSeek V4.1 Flash (batch) — Kostenpflichtig
- DeepSeek: DeepSeek V4 Flash Vision Exp — Kostenpflichtig
- DeepSeek: DeepSeek V4 Pro 0813 — Kostenpflichtig
- DeepSeek: DeepSeek V4 Flash Latest — Kostenpflichtig
- DeepSeek: DeepSeek V4 Flash 0731 — Kostenpflichtig
- DeepSeek: DeepSeek V4 Flash 0731 (batch) — Kostenpflichtig