From 16f98470217ee04505766165c11618b4b231938c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 3 Sep 2026 17:26:50 +0000 Subject: [PATCH] fix: [missing-model] cloudflare-ai-gateway: anthropic/claude-fable-5.1 --- providers/cloudflare-ai-gateway/curation.toml | 12 ++++++++++ .../models/anthropic/claude-fable-5.1.toml | 23 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 providers/cloudflare-ai-gateway/models/anthropic/claude-fable-5.1.toml diff --git a/providers/cloudflare-ai-gateway/curation.toml b/providers/cloudflare-ai-gateway/curation.toml index 8772ea87336..697217a5ffb 100644 --- a/providers/cloudflare-ai-gateway/curation.toml +++ b/providers/cloudflare-ai-gateway/curation.toml @@ -39,6 +39,18 @@ skip = [ structured_output = true reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }] +# Claude Fable 5.1: adaptive thinking always on; caller control is effort only (no thinking toggle). +# Wire: output_config.effort = low|medium|high|xhigh|max on the Anthropic Messages path. +# https://platform.claude.com/docs/en/build-with-claude/effort +# https://platform.claude.com/docs/en/about-claude/pricing +[models."anthropic/claude-fable-5.1"] +structured_output = true +note = [ + "Effort: output_config.effort = low|medium|high|xhigh|max (Anthropic Messages API; adaptive thinking always on).", + "Sources: https://platform.claude.com/docs/en/build-with-claude/effort ; https://platform.claude.com/docs/en/about-claude/pricing", +] +reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }] + [models."anthropic/claude-haiku-4.5"] structured_output = true reasoning_options = [{ type = "budget_tokens", min = 1024 }] diff --git a/providers/cloudflare-ai-gateway/models/anthropic/claude-fable-5.1.toml b/providers/cloudflare-ai-gateway/models/anthropic/claude-fable-5.1.toml new file mode 100644 index 00000000000..56d384093a6 --- /dev/null +++ b/providers/cloudflare-ai-gateway/models/anthropic/claude-fable-5.1.toml @@ -0,0 +1,23 @@ +# Effort: output_config.effort = low|medium|high|xhigh|max (Anthropic Messages API; adaptive thinking always on). +# Sources: +# - https://platform.claude.com/docs/en/build-with-claude/effort +# - https://platform.claude.com/docs/en/about-claude/pricing +# - https://platform.claude.com/docs/en/models/overview +base_model = "anthropic/claude-fable-5-1" +structured_output = true + +[[reasoning_options]] +type = "effort" +values = ["low", "medium", "high", "xhigh", "max"] + +[cost] +input = 10 +output = 50 +cache_read = 0.25 +cache_write = 12.5 + +[limit] +context = 1_000_000 + +[provider] +npm = "@ai-sdk/anthropic"