cache_control: {"type":"ephemeral"}(5 分钟)或 {"type":"ephemeral","ttl":"1h"}(1 小时);也可只在请求顶层写一个 cache_control 开启自动缓存(断点随对话自动前移)。1h 条目必须排在 5m 之前;最后一个可缓存块若已显式写了不同 ttl,再加顶层 cache_control 会返回 400。5.5 系列最小可缓存 512 token。计费:5m 写 ×1.25、1h 写 ×2、命中读 ×0.1(claude-opus-5-5 / sonnet-5-5 为 ×0.05)。响应 usage.cache_creation_input_tokens / cache_read_input_tokens 表示写入 / 命中。thinking: {"type":"adaptive"} + output_config: {"effort":"low|medium|high|xhigh|max"};5-5 系列不再接受 type:"enabled" + budget_tokens,claude-opus-5-5 / sonnet-5-5 传 type:"disabled" 会返回 400。temperature / top_p / top_k:anthropic-version: 2026-10-21 下任何模型都会返回 400;旧版本下 Claude 4.7 及以后的模型传非默认值返回 400,建议不传。claude-opus-5-5、claude-sonnet-5-5、claude-haiku-5-5、claude-fable-5-1、claude-sonnet-5、claude-opus-5、claude-fable-5claude-opus-4-8、claude-opus-4-7、claude-opus-4-6、claude-sonnet-4-6、claude-opus-4-5-20251101、claude-sonnet-4-5-20250929、claude-haiku-4-5-20251001 等(带 -thinking 后缀的版本同样可用)hy4、hy4-preview、grok-4.7、grok-4.6、grok-4.5、deepseek-v4.1-flash、deepseek-v4-pro、glm-5.3