docs(community): add Haiku model to Claude Code provider#10371
Merged
gr2m merged 3 commits intovercel:mainfrom Nov 19, 2025
Merged
docs(community): add Haiku model to Claude Code provider#10371gr2m merged 3 commits intovercel:mainfrom
gr2m merged 3 commits intovercel:mainfrom
Conversation
vercel-ai-sdk bot
pushed a commit
that referenced
this pull request
Nov 19, 2025
## 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]>
Contributor
|
✅ Backport PR created: #10374 |
vercel-ai-sdk bot
added a commit
that referenced
this pull request
Nov 19, 2025
…10374) This is an automated backport of #10371 to the release-v5.0 branch. FYI @BangDori Co-authored-by: BangDori <[email protected]> Co-authored-by: creatrip-byeongjun <[email protected]>
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.
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:
Checklist
pnpm changesetin the project root)Future Work
This is a documentation-only update.
Related Issues
Fixes #10369