Trace a decision across documents
Provide successive revisions of a design document. Ask when a constraint first appeared and have the answer cite the relevant revision.
deepseek-v4.1-flash-1017by DeepSeek mit
Fixed rate€0.27Input / 1M tokens
Fixed rate€1.08Output / 1M tokens
DeepSeek’s Flash endpoint has a long context window for reasoning across large collections of text. Supply document identifiers so readers can trace each conclusion back to its source.
Provide successive revisions of a design document. Ask when a constraint first appeared and have the answer cite the relevant revision.
BLADE_API_KEY in your server environment.import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.models.blade.sh/v1",
api_key=os.environ["BLADE_API_KEY"],
timeout=120.0,
)
model_id = "deepseek-v4.1-flash-1017"
models = client.models.list()
match = next(
(item for item in models.data
if item.id == model_id),
None,
)
if match is None:
raise RuntimeError("Model not listed for this account")
print(match.model_dump_json(indent=2))import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.models.blade.sh/v1",
apiKey: process.env.BLADE_API_KEY,
});
const models = await client.models.list();
const model = models.data.find(item => item.id === "deepseek-v4.1-flash-1017");
if (!model) throw new Error("Model not listed for this account");
console.log(model.id);# Requires jq
curl --fail-with-body "https://api.models.blade.sh/v1/models" \
-H "Authorization: Bearer ${BLADE_API_KEY}" | jq -e --arg id "deepseek-v4.1-flash-1017" '.data[] | select(.id == $id)'Set BLADE_API_KEY before running the example. This checks the account’s model list; it does not run inference. Copy the confirmed model-specific inference request from the console before integrating.
Open the console example ↗These are the model’s fixed rates in EUR. Dynamic pricing does not apply to them.
Catalogue updated 2026-12-06.
View the rate card ↗10,000 input tokens + 2,000 output tokens = €0.004860 at the displayed rate.
DeepSeek’s Flash endpoint has a long context window for reasoning across large collections of text. Supply document identifiers so readers can trace each conclusion back to its source.
Input / 1M tokens: €0.27. Output / 1M tokens: €1.08.
Confirm the request format and supported parameters in the console, then evaluate the result against a known example.