deepinfra:deepseek-v4-pro
8/17/2026, 7:16:59 AM · 15 tests · run 69fee595-a477-4e3a-98e1-f2623a4937a7
basic-generation
okPlain streaming generation with a soft length constraint (~100 words).
- Produced 96 words (139 output tokens).
Result
{
"wordCount": 96,
"outputTokens": 139
}deepinfra:deepseek-ai/DeepSeek-V4-Pro
usage-cost
okAsserts usage tokens populate and cost computes from the ChatReq contract.
- in=14 out=6 rt=0 cost=$0.000034 (paid).
Result
{
"inputTokens": 14,
"outputTokens": 6,
"reasoningTokens": 0,
"costUsd": 0.0000338,
"paid": true
}deepinfra:deepseek-ai/DeepSeek-V4-Pro
streaming-structure
okAsserts a streaming call captures events that reconstruct into the final text.
- mode=streaming, 8 stream events, 1 text block(s), 35 chars.
Result
{
"mode": "streaming",
"streamEventCount": 8,
"textBlocks": 1,
"textLen": 35
}deepinfra:deepseek-ai/DeepSeek-V4-Pro
complete-stream-parity
okSame prompt via stream() and complete() both return valid, matching results.
- stream="Paris" · complete="Paris"
Result
{
"streamText": "Paris",
"completeText": "Paris"
}deepinfra:deepseek-ai/DeepSeek-V4-Pro
deepinfra:deepseek-ai/DeepSeek-V4-Pro
reasoning-conformance
okAsserts the model's reasoning knob behaves as its reasoning-config declares.
- Class (from reasoning-config): toggleable.
- off: out=559 · mid: out=775 (rt=0).
Result
{
"class": "toggleable",
"mode": "deterministic",
"offOutputTokens": 559,
"midOutputTokens": 775,
"midReasoningTokens": 0
}deepinfra:deepseek-ai/DeepSeek-V4-Pro
deepinfra:deepseek-ai/DeepSeek-V4-Pro
single-tool-call
okOffers a calculator tool and checks the model calls it for an arithmetic question.
- Called "multiply" with args {"a":23,"b":17}.
Result
{
"toolCalled": true,
"toolName": "multiply",
"args": {
"a": 23,
"b": 17
},
"correct": true
}deepinfra:deepseek-ai/DeepSeek-V4-Pro
tool-loop
okForces a tool call, feeds the result back, and checks the continuation uses it.
- step1 (required): multiply({"a":23,"b":17}) → step2: "23 multiplied by 17 equals 391."
Result
{
"toolName": "multiply",
"args": {
"a": 23,
"b": 17
},
"product": 391,
"continuation": "23 multiplied by 17 equals 391.",
"usesResult": true,
"forced": true
}deepinfra:deepseek-ai/DeepSeek-V4-Pro
deepinfra:deepseek-ai/DeepSeek-V4-Pro
web-search
okEnables server-side web search and checks invocation counts, the per-request cost surcharge, and provider-executed output blocks.
- Skipped: model does not support the catalog's web_search tool version.
Result
{
"skipped": "no server-side web search support"
}reasoning-tool-continuity
okReasoning model: continuity token captured on a tool call and replayed so the follow-up succeeds.
- Step 1 didn't engage reasoning (adaptive discretion) — signature not exercised this run.
- reasoned=false, none token —; follow-up → "The current balance for account `acme-42` is **$1,234.00**. --- ### "
Result
{
"signatureType": "none",
"tokenCaptured": false,
"reasoned": false,
"answered": true,
"continuation": "The current balance for account `acme-42` is **$1,234.00**.\n\n---\n\n### Compound Interest Calculation\n\nWe assume 5% annual compounding for 7 y"
}deepinfra:deepseek-ai/DeepSeek-V4-Pro
deepinfra:deepseek-ai/DeepSeek-V4-Pro
prompt-cache
okRepeat a large prefix; assert cache-read tokens are reported and cost drops.
- Skipped: provider has no (known) prompt-cache reporting.
Result
{
"skipped": "cacheStyle=none"
}json-output
okRequests a strict JSON object and checks it parses with the required keys.
- Output parsed as JSON.
- All required keys present.
- Output is bare JSON (no leading prose/fence).
Result
{
"parsed": {
"name": "Anthropic",
"founded": 2021,
"headquarters": "San Francisco, California"
},
"validJson": true,
"missingKeys": [],
"bareJson": true
}deepinfra:deepseek-ai/DeepSeek-V4-Pro
summarize-memex
okSummarizes an ~11k-token essay to ~500 words (long input, reasoning minimized).
- Read ~10232 input tokens, wrote 412 words (514 output tokens) in 24135ms.
Result
{
"wordCount": 412,
"inputTokens": 10232,
"outputTokens": 514,
"latencyMs": 24135
}deepinfra:deepseek-ai/DeepSeek-V4-Pro
truncation
okTiny maxTokens on a long prompt yields finishReason:"length".
- finishReason=length, out=100 tokens.
Result
{
"finishReason": "length",
"outputTokens": 100
}deepinfra:deepseek-ai/DeepSeek-V4-Pro
streaming-only-rejection
okStreaming-only models reject complete(); all others accept it.
- streamingOnly=false; complete() succeeded.
Result
{
"streamingOnly": false,
"completeThrew": false
}abort
okA pre-aborted signal rejects the call (abort is threaded + honored).
- pre-aborted signal → rejected (AbortError).
Result
{
"rejected": true,
"errorName": "AbortError"
}