If you are comparing Fable 5.1 effort levels through CometAPI, migrate the request shape first. Otherwise, an apparent effort or cost difference may be a parameter-compatibility problem rather than a model comparison.
Anthropic’s Fable 5.1 announcement presents results at different effort levels and notes different defaults across its own products. That makes effort a meaningful experimental variable, but it does not tell us how to express the request on an OpenAI-compatible or Messages route.
CometAPI’s Anthropic Messages documentation gives the concrete boundary: newer Claude models reject the older manual form thinking={"type":"enabled", "budget_tokens": ...}. The documented adaptive form below uses the documentation’s Sonnet example, not a verified Fable 5.1 model ID. This request fragment assumes an Anthropic SDK client configured with CometAPI’s base URL https://api.cometapi.com, using /v1/messages; it is not a tested Fable request:
message = client.messages.create(
model="claude-sonnet-5",
max_tokens=4096,
thinking={"type": "adaptive"},
output_config={"effort": "xhigh"},
messages=[{"role": "user", "content": "Analyze the trade-offs..."}],
)
So the migration checklist is:
- Remove
budget_tokensand the legacyenabledthinking object. - Set
thinking.typetoadaptiveand select the desiredoutput_config.effortlevel. - Revisit
max_tokens: CometAPI says thinking tokens count toward that limit, so a higher effort setting may need more headroom for the final answer. - Keep the model, prompt, tools, and measurement harness fixed while changing effort. Record the selected model ID, supported effort settings, and verification date before interpreting quality or cost. Do not assume this Sonnet example proves Fable support.
This is a request-contract migration, not evidence that Fable 5.1 is deployed or entitled on a particular CometAPI account. Verify the live model list, access, retention terms, and pricing at test time. Only after the request is accepted should an effort comparison be treated as an experiment.