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.
Videos
38:24
A Complete Guide To Vercel’s AI SDK // The ESSENTIAL Tool For ...
Build An AI Notes App (Vercel AI SDK v5, Next.js 15, Convex, RAG) ...
14:13
Vercel AI SDK Overview Tutorial | Generative UI, Streaming, Agentic ...
13:04
Hands on with the Vercel AI SDK 3.1 - YouTube
07:26
Fullstack AI Chatbot with AI SDK 5 & Vercel’s New AI Elements ...
41:27
Build a Chatbot with Vercel AI SDK, Google Gemini & OpenAI - YouTube
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
Repository https://github.com/vercel/ai
Homepage https://ai-sdk.dev/docs
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 › 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:
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 › 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:
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.