Skip to content

Comments

docs(community): add Haiku model to Claude Code provider#10371

Merged
gr2m merged 3 commits intovercel:mainfrom
BangDori:main
Nov 19, 2025
Merged

docs(community): add Haiku model to Claude Code provider#10371
gr2m merged 3 commits intovercel:mainfrom
BangDori:main

Conversation

@BangDori
Copy link
Contributor

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

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

Future Work

This is a documentation-only update.

Related Issues

Fixes #10369

@vercel-ai-sdk vercel-ai-sdk bot added ai/provider documentation Improvements or additions to documentation provider/community labels Nov 19, 2025
Copy link
Collaborator

@gr2m gr2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @BangDori!

Congratulations to your first contribution to the AI SDK!

@gr2m gr2m enabled auto-merge (squash) November 19, 2025 16:30
@gr2m gr2m changed the title docs(claude-code): add haiku model docs(community): add Haiku model to Claude Code provider Nov 19, 2025
@gr2m gr2m added the backport label Nov 19, 2025
@gr2m gr2m merged commit 7d2874e into vercel:main Nov 19, 2025
16 of 17 checks passed
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]>
@vercel-ai-sdk vercel-ai-sdk bot removed the backport label Nov 19, 2025
@vercel-ai-sdk
Copy link
Contributor

vercel-ai-sdk bot commented Nov 19, 2025

✅ 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider documentation Improvements or additions to documentation provider/community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation missing Haiku model support for Claude Code provider

3 participants