Replace legacy thinking budgets before comparing Fable effort levels through CometAPI

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:

  1. Remove budget_tokens and the legacy enabled thinking object.
  2. Set thinking.type to adaptive and select the desired output_config.effort level.
  3. Revisit max_tokens: CometAPI says thinking tokens count toward that limit, so a higher effort setting may need more headroom for the final answer.
  4. 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.

A useful guardrail is to treat the effort migration as part of the test fixture, not as a cosmetic parameter change. For image-oriented evaluation, keep the prompt, reference assets, crop/order, tool definitions, and output-size constraints identical across runs. Then log the exact request fields and model identifier alongside the rendered outputs. If budget_tokens is left in place—or max_tokens is too tight once adaptive thinking consumes part of the limit—an incomplete or rejected request can look like a quality difference between effort levels. A small manifest containing the request shape, effort value, token ceiling, and verification date makes those failures distinguishable from genuine changes in composition or instruction following.