LibreChat/packages/api
Marco Beretta 214362aff9
🎐 feat: Add Claude Haiku 5.5 Support (#17201)
* feat: Add Claude Haiku 5.5 Support

Haiku 5.5 (`claude-haiku-5-5`) matched none of the Claude family gates, so
every endpoint treated it as a legacy Claude 4 model: thinking went out as
`enabled` with a budget (400), sampling parameters were sent, thinking blocks
were not bound to the conversation prefix, and it resolved to a 200K context,
64K output and the default token rate.

Add a Haiku version parser and `hasAdaptiveHaikuThinking` (5.5 or later),
and include it in the adaptive thinking, block binding, omitted display,
sampling omission, explicit disabled, effort cap, 1M context and 128K output
gates. Unlike Sonnet 5.5, Haiku 5.5 still accepts `disabled` at effort high or
below, so "thinking off" sends `disabled` and clamps xhigh/max to high. The
settings panel keeps the thinking toggle and hides budget and sampling.

Register it in the Anthropic, Bedrock (`global.anthropic.claude-haiku-5-5`)
and Vertex default model lists, the 1M context map and the 128K output cap,
and price it at $0.10 / $0.50 up to a 100K prompt and $0.50 / $2.50 above,
with matching cache tiers.

Related to #17078, #16911 and #17025.

* test: Cover Claude Haiku 5.5 Parameter Panel

* test: Pin Haiku Scenarios to Model Specs

* fix: Keep Claude Haiku 5.5 Off Regional Vertex Endpoints
2026-10-17 14:03:20 +02:00
..
openapi 🗑️ feat: Expose Skill Deletion in Management API (#17005) 2026-10-16 09:05:03 -07:00
src 🎐 feat: Add Claude Haiku 5.5 Support (#17201) 2026-10-17 14:03:20 +02:00
types
.gitignore
babel.config.cjs
jest.config.mjs 🧠 perf: Recycle Backend Jest Workers Past 1GB (#17098) 2026-10-16 22:15:10 +02:00
jest.setup.cjs
package.json 🧵 fix: Harmony Headers in Text Attachments Break OpenAI Models on Bedrock (#17101) 2026-10-16 18:00:15 -04:00
tsconfig.build.json
tsconfig.json 🥟 ci: Type-Check Workspaces with bun check (#17009) 2026-10-12 06:40:07 -04:00
tsconfig.openapi.json
tsconfig.spec.json
tsdown.config.mjs 🏋️ fix: Bound Host File Edits Outside the API Event Loop (#16677) 2026-10-02 20:54:46 -04:00