🌐
Vercel
vercel.com › docs › ai › openai
Vercel & OpenAI Integration
September 24, 2025 - You can integrate with any OpenAI model using the AI SDK, including the following OpenAI models:
🌐
OpenAI
openai.github.io › openai-agents-js › extensions › ai-sdk
Using any model with the Vercel's AI SDK | OpenAI Agents SDK
Out of the box the Agents SDK works with OpenAI models through the Responses API or Chat Completions API. However, if you would like to use another model, the Vercel’s AI SDK offers a range of supported models that can be brought into the Agents SDK through this adapter.
🌐
Vercel
vercel.com › docs › ai-sdk
AI SDK
October 9, 2025 - The AI SDK abstracts away the differences between model providers, eliminates boilerplate code for building chatbots, and allows you to go beyond text output to generate rich, interactive components.
🌐
AI SDK
ai-sdk.dev › providers › ai-sdk-providers › openai
AI SDK Providers: OpenAI
model: openai.chat('gpt-5'), 3 · messages: [ 4 · { 5 · role: 'user', 6 · content: [ 7 · { type: 'text', text: 'Describe the image in detail.' }, 8 · { 9 · type: 'image', 10 · image: 11 · 'https://github.com/vercel/ai/blob/main/examples/ai-core/data/comic-cat.png?raw=true', 12 ·
🌐
npm
npmjs.com › package › @ai-sdk › openai
ai-sdk/openai
npm i @ai-sdk/openai · github.com/vercel/ai · ai-sdk.dev/docs · 2,033,661 · 3.0.1 · Apache-2.0 · 2.62 MB · 17 · 2 days ago · vercel-release-bot · matheuss · matt.straka · Try on RunKit ·
      » npm install @ai-sdk/openai
    
Published   Dec 23, 2025
Version   3.0.1
🌐
GitHub
github.com › vercel › ai
GitHub - vercel/ai: The AI Toolkit for TypeScript. From the creators of Next.js, the AI SDK is a free open-source library for building AI-powered applications and agents
The AI Toolkit for TypeScript. From the creators of Next.js, the AI SDK is a free open-source library for building AI-powered applications and agents - GitHub - vercel/ai: The AI Toolkit for TypeScript.
Starred by 20.4K users
Forked by 3.5K users
Languages   TypeScript 74.9% | MDX 24.7% | JavaScript 0.3% | Vue 0.1% | CSS 0.0% | Svelte 0.0%
🌐
Vercel
vercel.com › docs › ai-gateway › openai-compat
OpenAI-Compatible API
1 month ago - You can use the AI Gateway's OpenAI-compatible API with existing tools and libraries like the OpenAI client libraries and AI SDK 4.
🌐
Vercel
vercel.com › kb › guide › fine-tuning-openai-nextjs
Fine-tuning GPT with OpenAI, Next.js, and Vercel AI SDK
You will receive an email from OpenAI when the fine-tuning job is complete: To use your fine-tuned model, all you need to do is replace the base gpt-4o mini model with the fine-tuned model you got from Step 2. Here's an example using the Vercel AI SDK and a Next.js Route Handler:
Find elsewhere
🌐
Vercel
sdk.vercel.ai › docs › guides › o1
Guides: Get started with OpenAI o1
The AI SDK is a powerful TypeScript toolkit for building AI applications with large language models (LLMs) like OpenAI o1 alongside popular frameworks like React, Next.js, Vue, Svelte, Node.js, and more.
🌐
Vercel
vercel.com › blog › ai-sdk-6
AI SDK 6 - Vercel
With over 20 million monthly downloads and adoption by teams ranging from startups to Fortune 500 companies, the AI SDK is the leading TypeScript toolkit for building AI applications.
🌐
Vercel
vercel.com › blog › introducing-the-vercel-ai-sdk
Introducing the Vercel AI SDK: npm i ai - Vercel
Vercel’s AI SDK embraces interoperability, and includes first-class support for OpenAI, LangChain, and Hugging Face Inference.
🌐
Vercel
vercel.com › blog › ai-sdk-5
AI SDK 5 - Vercel
AI SDK 5 extends our unified provider abstraction to speech. Just as we've done for text and image generation, we're bringing the same consistent, type-safe interface to both speech generation and transcription. Whether you're using OpenAI, ElevenLabs, or DeepGram, you work with the same familiar API pattern, and can switch providers with a single line change.
🌐
Cloudflare
developers.cloudflare.com › directory › ai gateway › integrations › vercel ai sdk
Vercel AI SDK · Cloudflare AI Gateway docs
To use Cloudflare AI Gateway with Vercel AI SDK, you will need to use the ai-gateway-provider package. Terminal window · npm install ai-gateway-provider · With Key in Request · With Authenticated Gateway · Unauthenticated Gateway · import { createAiGateway } from 'ai-gateway-provider'; import { createOpenAI } from 'ai-gateway-provider/providers/openai'; import { generateText } from "ai"; const aigateway = createAiGateway({ accountId: "{CLOUDFLARE_ACCOUNT_ID}", gateway: '{GATEWAY_NAME}', apiKey: '{CF_AIG_TOKEN}', }); const openai = createOpenAI({ apiKey: '{OPENAI_API_KEY}' }); const { text
🌐
Vercel
vercel.com › docs › ai-gateway › getting-started
Getting Started
1 month ago - This quickstart will walk you through making an AI model request with Vercel's AI Gateway. While this guide uses the AI SDK, you can also integrate with the OpenAI SDK or other community frameworks.
🌐
Vercel
vercel.com › blog › ai-sdk-4-2
AI SDK 4.2 - Vercel
OpenAI recently released the Responses API, a brand new way to build applications on OpenAI's platform. The new API offers a way to persist chat history, a web search tool for grounding LLM responses, and tools like file-search and computer use that will be coming in a future update. With day one support from the AI SDK, migrating to the new Responses API from the existing Completions API is simple:
🌐
Vercel
sdk.vercel.ai › docs › guides › o3
Guides: Get started with OpenAI o3-mini
The AI SDK is a powerful TypeScript toolkit for building AI applications with large language models (LLMs) like OpenAI o3-mini alongside popular frameworks like React, Next.js, Vue, Svelte, Node.js, and more.
🌐
Trigger.dev
trigger.dev › docs › guides › examples › vercel-ai-sdk
Using the Vercel AI SDK - Trigger.dev
The Vercel AI SDK is a simple way to use AI models from many different providers, including OpenAI, Microsoft Azure, Google Generative AI, Anthropic, Amazon Bedrock, Groq, Perplexity and more.
🌐
Codecademy
codecademy.com › article › guide-to-vercels-ai-sdk
A Complete Guide to Vercel's AI SDK | Codecademy
Yes, Vercel AI SDK is free and open-source. However, AI providers charge for model usage based on tokens processed. Google offers free tiers suitable for development, while OpenAI and Anthropic have paid usage models.
🌐
Aihero
aihero.dev › use-local-models-with-vercel-ai-sdk
Use Local Models With Vercel's AI SDK
In fact, not just locally running models but models running at any URL. ... The AI SDK has a function called createOpenAICompatible which lets you communicate with models that have an OpenAI-compatible API.