---
id: 20260926-T0-13
title: "Claude Code v2.1.283发布，新增网关提示头与模型匹配设置"
title_en: "Claude Code v2.1.283 Adds Gateway Hint Headers and Model Match Setting"
url: https://ai.daily.yangsir.net/daily/20260926-T0-13
issue_date: 2026-09-26
publish_date: 2026-09-25T21:50:12.000Z
category: release
source_name: "Claude Code Releases"
source_url: https://github.com/anthropics/claude-code/releases/tag/v2.1.283
---

# Claude Code v2.1.283发布，新增网关提示头与模型匹配设置

Claude Code发布v2.1.283版本。新增x-claude-code-prompt-id到网关提示头，使LLM网关能对同一用户提示的请求进行分组，通过设置CLAUDE_CODE_GATEWAY_HINT_HEADERS=1启用。新增availableModelsMatch托管设置，当设为"exact"时，availableModels条目仅允许特定的模型版本。这些更新为使用LLM网关的开发者提供了更精细的请求管理和模型版本控制能力。

## English Version

**Claude Code v2.1.283 Adds Gateway Hint Headers and Model Match Setting**

Claude Code released v2.1.283. It adds x-claude-code-prompt-id to gateway hint headers so LLM gateways can group requests serving one user prompt, enabled via CLAUDE_CODE_GATEWAY_HINT_HEADERS=1. It also adds the availableModelsMatch managed setting: with "exact", an availableModels entry allows only the specific model version. These updates give developers using LLM gateways finer-grained request management and model version control.

---

**来源**：[Claude Code Releases](https://github.com/anthropics/claude-code/releases/tag/v2.1.283)

**详情页**：https://ai.daily.yangsir.net/daily/20260926-T0-13

---

*智语观潮 · Daily — https://ai.daily.yangsir.net/llms.txt*