Skip to content

Backport: docs(community): add Haiku model to Claude Code provider - #10374

Merged
1 commit merged into
release-v5.0from
backport-pr-10371-to-release-v5.0
Nov 19, 2025
Merged

1 commit merged into
release-v5.0from
backport-pr-10371-to-release-v5.0

Conversation

@ghost

@ghost ghost commented Nov 19, 2025

Copy link
Copy Markdown

This is an automated backport of #10371 to the release-v5.0 branch. FYI @BangDori

## Background

The official AI SDK documentation for the Claude Code community provider
is incomplete. The documentation currently lists only opus and sonnet
models, but the actual
https://github.com/ben-vargas/ai-sdk-provider-claude-code library fully
supports the haiku model as well.

This discrepancy causes users to miss out on the fastest and most
cost-effective Claude model option when using the Claude Code provider.

## Summary

Updated the Claude Code provider documentation to include the haiku
model in the list of supported models.

## Manual Verification

Verified the library implementation:
- Checked
https://github.com/ben-vargas/ai-sdk-provider-claude-code/blob/main/src/claude-code-language-model.ts#L224-L226
- Confirmed ClaudeCodeModelId type includes 'haiku'
- Confirmed modelMap object includes haiku mapping


## Related Issues

Fixes #10369

---------

Co-authored-by: creatrip-byeongjun <byeongjun.kang@creatrip.com>
@ghost ghost assigned gr2m Nov 19, 2025
@ghost
ghost enabled auto-merge (squash) November 19, 2025 16:43
@ghost ghost mentioned this pull request Nov 19, 2025
1 of 4 tasks
@ghost ghost added the maintenance CI, internal documentation, automations, etc label Nov 19, 2025
@ghost
ghost merged commit 2145eb4 into release-v5.0 Nov 19, 2025
22 checks passed
@ghost
ghost deleted the backport-pr-10371-to-release-v5.0 branch November 19, 2025 21:43
@gr2m gr2m mentioned this pull request Apr 29, 2026
This pull request was closed.

This branch was successfully deployed

1 active deployment
Preview — dd1a081b Deployed Nov 19, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance CI, internal documentation, automations, etc task-merge-tracking-no-issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants