v1.16.0 — Full CF Workers AI integration
What's new
4 new Cloudflare Workers AI models
| Model | Context | Tools | Use cases |
|---|---|---|---|
@cf/nvidia/nemotron-3-120b-a12b |
256K | ✓ | HIGH_PERFORMANCE, TOOL_CALLING, LONG_CONTEXT |
anthropic/claude-opus-4.8 |
1M | — | HIGH_PERFORMANCE, LONG_CONTEXT (CF-managed Anthropic) |
@cf/deepseek-ai/deepseek-r1-distill-qwen-32b |
80K | — | RESEARCH (thinking model) |
@cf/qwen/qwq-32b |
24K | — | RESEARCH (thinking model) |
thinkingModel routing guard
New ModelCapabilities.thinkingModel?: boolean flag marks models that output chain-of-thought reasoning traces. rankModels() now excludes all thinkingModel: true entries from every use-case pool except RESEARCH, preventing them from winning direct-response routes (summary, chat, tool calling, etc.).
Affected models: @cf/deepseek-ai/deepseek-r1-distill-qwen-32b, @cf/qwen/qwq-32b, @cf/zai-org/glm-4.7-flash.
Anthropic-via-CF response normalizer
anthropic/claude-opus-4.8 uses the Anthropic message wire format through the Workers AI binding. The provider now routes these through a dedicated formatter (system as a top-level field, not a system role message) and normalizes the content[{type, text}] + stop_reason response shape to the standard LLMResponse contract.
GLM-4.7-Flash reclassification (completes #93)
@cf/zai-org/glm-4.7-flash is now RESEARCH-only with thinkingModel: true, fully excluding it from all direct-response routing pools (not just deprioritized as in v1.15.0).