Backport: docs(community): add Haiku model to Claude Code provider#10374
Merged
vercel-ai-sdk[bot] merged 1 commit intorelease-v5.0from Nov 19, 2025
Merged
Conversation
## 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 <[email protected]>
4 tasks
gr2m
approved these changes
Nov 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an automated backport of #10371 to the release-v5.0 branch. FYI @BangDori