Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions content/providers/03-community-providers/99-claude-code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ const model = claudeCode('opus');

Claude Code supports the following models:

- **opus**: Claude 4 Opus (most capable)
- **sonnet**: Claude 4 Sonnet (balanced performance)
- **opus**: Claude 4.1 Opus (most capable)
- **sonnet**: Claude 4.5 Sonnet (balanced performance)
- **haiku**: Claude 4.5 Haiku (fastest, most cost-effective)

### Example: Generate Text

Expand Down Expand Up @@ -146,6 +147,7 @@ Claude Code language models can also be used in the `streamText`, `generateObjec
| -------- | ------------------- | ------------------- | ------------------- | ------------------- |
| `opus` | <Cross size={18} /> | <Check size={18} /> | <Cross size={18} /> | <Cross size={18} /> |
| `sonnet` | <Cross size={18} /> | <Check size={18} /> | <Cross size={18} /> | <Cross size={18} /> |
| `haiku` | <Cross size={18} /> | <Check size={18} /> | <Cross size={18} /> | <Cross size={18} /> |

<Note>
The ❌ for "Tool Usage" and "Tool Streaming" refers specifically to the AI
Expand Down