aiagent.club
中文
npm package

@ai-sdk/anthropic

Updated 2026-09-12 View source ↗

#7 of 203 by Downloads / week among npm packages

9.1M Downloads / week

The **[Anthropic provider](https://ai-sdk.dev/providers/ai-sdk-providers/anthropic)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the [Anthropic Messages API](https://docs.anthropic.com/claude/reference/messages_post).

About

The Anthropic provider for the AI SDK contains language model support for the Anthropic Messages API.

Deploying to Vercel? With Vercel's AI Gateway you can access Anthropic (and hundreds of models from other providers) — no additional packages, API keys, or extra cost. Get started with AI Gateway.

The Anthropic provider is available in the @ai-sdk/anthropic module. You can install it with

If you use coding agents such as Claude Code or Cursor, we highly recommend adding the AI SDK skill to your repository:

You can import the default provider instance anthropic from @ai-sdk/anthropic:

Please check out the Anthropic provider documentation for more information.

Excerpted from www.npmjs.com/package/@ai-sdk/anthropic

Latest metrics

Downloads / week 9.1M 2026-09-12