Skip to content

Commit f454630

Browse files
committed
Add claude cli provider feature
1 parent 6350410 commit f454630

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

app/(home)/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ export default function HomePage() {
6464
</a>
6565
</div>
6666
<p className="text-sm text-muted-foreground">
67-
<span className="text-slate-400 dark:text-slate-500">Mar 3, 2026</span>
67+
<span className="text-slate-400 dark:text-slate-500">Apr 25, 2026</span>
6868
{' - '}
6969
<Link href="/docs/latest" className="text-blue-600 dark:text-blue-400 hover:underline">
70-
New Fireworks AI Image Generation & GLM-5, Kimi K2.5, MimiMax M2.5 LLMs
70+
Use your existing Claude Code subscription by switching to <b>@ai-sdk/anthropic-cli</b>
7171
</Link>
7272
</p>
7373

content/docs/latest.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,24 @@ After upgrading, it's recommended to also upgrade any external extensions:
1111

1212
<ShellCommand>llms --update all</ShellCommand>
1313

14+
## April 25, 2026
15+
16+
You can now make use of your existing Claude Code Subscription by changing the Anthropic provider `npm` configuration in your `llms.json` to use `@ai-sdk/anthropic-cli` instead of `@ai-sdk/anthropic`, e.g:
17+
18+
```json
19+
{
20+
"anthropic": {
21+
"enabled": true,
22+
"npm": "@ai-sdk/anthropic-cli",
23+
...
24+
}
25+
}
26+
```
27+
28+
This provider routes all requests to the `claude` binary so it's functionality and integration is limited, e.g. it doesn't support tool calling or skills. Otherwise it supports other features you'd expect like System Prompts, Chat History, Image and Document attachments, etc.
29+
30+
At the same time it's able to benefit from some smarts in the `claude` binary it's built-in system prompts and optimizations for handling long conversations, so it can be a good option for some use cases.
31+
1432
## Mar 3, 2026
1533

1634
### Support for Fireworks Large Language Models

0 commit comments

Comments
 (0)