DeepSeek · DeepSeek V4
DeepSeek V4 Flash API
DeepSeek's V4 Flash checkpoint with a 400K-token context window. Call it with any OpenAI SDK at $0.15 per million tokens.
- The default model of Laminarity MCP for coding subtasks and yes/no checks.
- Same key, same balance as every other model.
- Model id
- deepseek-ai/DeepSeek-V4-Flash-0731
- Vendor
- DeepSeek
- Context window
- 400,000 tokens
- Input price
- $0.15 per 1M tokens
- Output price
- $0.15 per 1M tokens
- Dedicated endpoint
- /v1/deepseek-v4-flash/chat/completions
- Compatibility
- OpenAI Chat Completions, streaming
Call DeepSeek V4 Flash
Pass the model id to the shared endpoint. Agents paying with x402 can also call the dedicated endpoint /v1/deepseek-v4-flash/chat/completions, where the model is fixed by the URL.
from openai import OpenAI
client = OpenAI(base_url="https://api.laminarity.uk/v1", api_key="sk-or-...")
reply = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V4-Flash-0731",
messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.laminarity.uk/v1", apiKey: process.env.LAMINARITY_API_KEY });
const reply = await client.chat.completions.create({
model: "deepseek-ai/DeepSeek-V4-Flash-0731",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(reply.choices[0].message.content);curl https://api.laminarity.uk/v1/chat/completions \
-H "Authorization: Bearer $LAMINARITY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek-ai/DeepSeek-V4-Flash-0731", "messages": [{"role": "user", "content": "Hello!"}]}'