fable-5.1
9/5/2026, 12:57:49 AM · 15 tests · run 2fd4ff51-782f-45ed-a6cc-698b075a2bb1
basic-generation
okPlain streaming generation with a soft length constraint (~100 words).
- Produced 98 words (199 output tokens).
Result
{
"wordCount": 98,
"outputTokens": 199
}anthropic:claude-fable-5-1
usage-cost
okAsserts usage tokens populate and cost computes from the ChatReq contract.
- in=22 out=11 rt=0 cost=$0.000770 (paid).
Result
{
"inputTokens": 22,
"outputTokens": 11,
"reasoningTokens": 0,
"costUsd": 0.0007700000000000001,
"paid": true
}anthropic:claude-fable-5-1
streaming-structure
okAsserts a streaming call captures events that reconstruct into the final text.
- mode=streaming, 11 stream events, 1 text block(s), 35 chars.
Result
{
"mode": "streaming",
"streamEventCount": 11,
"textBlocks": 1,
"textLen": 35
}anthropic:claude-fable-5-1
complete-stream-parity
okSame prompt via stream() and complete() both return valid, matching results.
- stream="Paris" · complete="Paris"
Result
{
"streamText": "Paris",
"completeText": "Paris"
}anthropic:claude-fable-5-1
anthropic:claude-fable-5-1
reasoning-conformance
okAsserts the model's reasoning knob behaves as its reasoning-config declares.
- Class (from reasoning-config): always-on.
- reasoningTokens=0, outputTokens=573.
Result
{
"class": "always-on",
"reasoningTokens": 0,
"outputTokens": 573
}anthropic:claude-fable-5-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
}anthropic:claude-fable-5-1
tool-loop
okForces a tool call, feeds the result back, and checks the continuation uses it.
- step1 (auto): multiply({"a":23,"b":17}) → step2: "The product of 23 multiplied by 17 is 391."
Result
{
"toolName": "multiply",
"args": {
"a": 23,
"b": 17
},
"product": 391,
"continuation": "The product of 23 multiplied by 17 is 391.",
"usesResult": true,
"forced": false
}anthropic:claude-fable-5-1
anthropic:claude-fable-5-1
web-search
okEnables server-side web search and checks invocation counts, the per-request cost surcharge, and provider-executed output blocks.
- Ran 1 web search(es); surcharge 0.0100 USD on top of token cost.
Result
{
"searches": 1,
"surchargeUsd": 0.01
}anthropic:claude-fable-5-1
reasoning-tool-continuity
okReasoning model: continuity token captured on a tool call and replayed so the follow-up succeeds.
- reasoned=true, anthropic token captured; follow-up → "The current balance for account **acme-42** is **$1,234.00**. **Calcu"
Result
{
"signatureType": "anthropic",
"tokenCaptured": true,
"reasoned": true,
"answered": true,
"continuation": "The current balance for account **acme-42** is **$1,234.00**.\n\n**Calculation (5% compounded annually for 7 years):**\n\nFuture value = P × (1 "
}anthropic:claude-fable-5-1
anthropic:claude-fable-5-1
prompt-cache
okRepeat a large prefix; assert cache-read tokens are reported and cost drops.
- anthropic cache; cacheRead per attempt [14458]; hit=yes.
Result
{
"cacheStyle": "anthropic",
"cacheReadPerAttempt": [
14458
],
"cacheReadTokens": 14458,
"cacheHitCost": 0.0078445
}anthropic:claude-fable-5-1
anthropic:claude-fable-5-1
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, United States"
},
"validJson": true,
"missingKeys": [],
"bareJson": true
}anthropic:claude-fable-5-1
summarize-memex
okSummarizes an ~11k-token essay to ~500 words (long input, reasoning minimized).
- Read ~14535 input tokens, wrote 569 words (1248 output tokens) in 23154ms.
Result
{
"wordCount": 569,
"inputTokens": 14535,
"outputTokens": 1248,
"latencyMs": 23154
}anthropic:claude-fable-5-1
truncation
okTiny maxTokens on a long prompt yields finishReason:"length".
- finishReason=length, out=100 tokens.
Result
{
"finishReason": "length",
"outputTokens": 100
}anthropic:claude-fable-5-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"
}