aiagent.club
English
npm 包

@ai-sdk/anthropic

更新于 2026-09-12 查看源 ↗

在全部 npm 包 中按周下载量排名第 7(共 203)

9.1M 周下载量

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).

项目介绍

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.

摘自 www.npmjs.com/package/@ai-sdk/anthropic

最新指标

周下载量 9.1M 2026-09-12