@ai-sdk/fireworks
v3.0.84
Published
Keywords
Readme
AI SDK - Fireworks Provider
The Fireworks provider for the AI SDK contains language model and image model support for the Fireworks platform.
Deploying to Vercel? With Vercel's AI Gateway you can access Fireworks (and hundreds of models from other providers) — no additional packages, API keys, or extra cost. Get started with AI Gateway.
Setup
npm i ai @ai-sdk/fireworksSkill for Coding Agents
If you use coding agents such as Claude Code or Cursor, we highly recommend adding the AI SDK skill to your repository:
npx skills add vercel/aiUsage
import { fireworks } from '@ai-sdk/fireworks';
import { generateText } from 'ai';
const { text } = await generateText({
model: fireworks('accounts/fireworks/models/deepseek-v3'),
prompt: 'Write a JavaScript function that sorts a list:',
});See the Fireworks Provider documentation for more information.
