aiagent.club
English
npm 包

@ai-sdk/openai

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

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

9.4M 周下载量

The **[OpenAI provider](https://ai-sdk.dev/providers/ai-sdk-providers/openai)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the OpenAI chat and completion APIs and embedding model support for the OpenAI embeddings API.

项目介绍

The OpenAI provider for the AI SDK contains language model support for the OpenAI chat and completion APIs and embedding model support for the OpenAI embeddings API.

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

The OpenAI provider is available in the @ai-sdk/openai 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 openai from @ai-sdk/openai:

Please check out the OpenAI provider documentation for…

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

最新指标

周下载量 9.4M 2026-09-12