Skip to content

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

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

gr2m merged 3 commits into
vercel:mainfrom
BangDori:main

Conversation

@BangDori

Copy link
Copy Markdown
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

@ghost ghost added ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label documentation Improvements or additions to documentation provider/community labels Nov 19, 2025

@gr2m gr2m left a comment

Copy link
Copy Markdown
Collaborator

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 Admins only: add this label to a pull request in order to backport it to the prior version label Nov 19, 2025
@gr2m
gr2m merged commit 7d2874e into vercel:main Nov 19, 2025
16 of 17 checks passed
ghost 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 <byeongjun.kang@creatrip.com>
@ghost ghost removed the backport Admins only: add this label to a pull request in order to backport it to the prior version label Nov 19, 2025
@ghost

ghost commented Nov 19, 2025

Copy link
Copy Markdown

✅ Backport PR created: #10374

ghost pushed 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 <44726494+BangDori@users.noreply.github.com>
Co-authored-by: creatrip-byeongjun <byeongjun.kang@creatrip.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label documentation Improvements or additions to documentation provider/community task-merge-tracking-done

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation missing Haiku model support for Claude Code provider

4 participants