toast-1
8/18/2026, 7:14:11 AM · 15 tests · run 16a45927-3b2b-4820-89ba-0ed1edad0de7
basic-generation
okPlain streaming generation with a soft length constraint (~100 words).
- Produced 67 words (193 output tokens).
Result
{
"wordCount": 67,
"outputTokens": 193
}mixedbread:toast-1
usage-cost
okAsserts usage tokens populate and cost computes from the ChatReq contract.
- in=398 out=37 rt=0 cost=$0.000243 (paid).
Result
{
"inputTokens": 398,
"outputTokens": 37,
"reasoningTokens": 0,
"costUsd": 0.0002434,
"paid": true
}mixedbread:toast-1
streaming-structure
okAsserts a streaming call captures events that reconstruct into the final text.
- mode=streaming, 10 stream events, 1 text block(s), 35 chars.
Result
{
"mode": "streaming",
"streamEventCount": 10,
"textBlocks": 1,
"textLen": 35
}mixedbread:toast-1
complete-stream-parity
okSame prompt via stream() and complete() both return valid, matching results.
- stream="Paris" · complete="Paris"
Result
{
"streamText": "Paris",
"completeText": "Paris"
}mixedbread:toast-1
mixedbread:toast-1
reasoning-conformance
okAsserts the model's reasoning knob behaves as its reasoning-config declares.
- Class (from reasoning-config): always-on.
- reasoningTokens=0, outputTokens=448.
Result
{
"class": "always-on",
"reasoningTokens": 0,
"outputTokens": 448
}mixedbread:toast-1
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
}mixedbread:toast-1
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
}mixedbread:toast-1
mixedbread:toast-1
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 → "Current balance: $1,234. After 7 years at 5% annual compounding: $1,23"
Result
{
"signatureType": "none",
"tokenCaptured": false,
"reasoned": false,
"answered": true,
"continuation": "Current balance: $1,234. After 7 years at 5% annual compounding: $1,234 × (1.05)^7 = $1,738.66 ≈ $1,739. Double the original balance: $2,468"
}mixedbread:toast-1
mixedbread:toast-1
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 had leading prose or a code fence before the JSON.
Result
{
"parsed": {
"name": "Anthropic",
"founded": 2021,
"headquarters": "San Francisco, California"
},
"validJson": true,
"missingKeys": [],
"bareJson": false
}mixedbread:toast-1
summarize-memex
okSummarizes an ~11k-token essay to ~500 words (long input, reasoning minimized).
- Read ~10762 input tokens, wrote 342 words (440 output tokens) in 2404ms.
Result
{
"wordCount": 342,
"inputTokens": 10762,
"outputTokens": 440,
"latencyMs": 2404
}mixedbread:toast-1
truncation
okTiny maxTokens on a long prompt yields finishReason:"length".
- finishReason=length, out=100 tokens.
Result
{
"finishReason": "length",
"outputTokens": 100
}mixedbread:toast-1
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"
}