Prompt Buddy logoPrompt Buddy

vercel · Vercel AI SDK Docs

AI SDK Foundations: Provider Options

Configures specific settings and parameters for AI model providers within the AI SDK to control model behavior and connection properties.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

AI SDK Foundations: Provider Options

Configures specific settings and parameters for AI model providers within the AI SDK to control model behavior and connection properties.

When To Use

Use when you need to pass custom parameters, such as temperature or specific model settings, to an AI provider during initialization or request execution.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/ai-sdk-foundations-provider-options-workflow-guide.mdDocumentation explaining how to use the providerOptions property to pass provider-specific configurations in the Vercel AI SDK.Questions about documentation explaining how to use the providerOptions property to pass provider-specific configurations in the Verc...
examples/ai-sdk-foundations-provider-options-ai-sdk-provider-options-openai.textA code example demonstrating how to pass provider-specific configuration through the providerOptions parameter in the AI SDK.Exact payloads, commands, or snippets shown in A code example demonstrating how to pass provider-specific configuration through the providerOptions parameter in the...
examples/ai-sdk-foundations-provider-options-ai-sdk-provider-options-openai-2.textA TypeScript code example demonstrating how to use the providerOptions property to configure OpenAI-specific settings like reasoningEffort within the AI SDK.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the providerOptions property to configure OpenAI-specific settings...
examples/ai-sdk-foundations-provider-options-ai-sdk-provider-options-openai-strea.textA TypeScript code example demonstrating how to pass provider-specific options to the streamText function using the OpenAI provider.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to pass provider-specific options to the streamText function using the Op...
examples/ai-sdk-foundations-provider-options-ai-sdk-openai-provider-options.textA TypeScript code example demonstrating how to configure provider-specific options using the openai provider within the AI SDK generateText function.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to configure provider-specific options using the openai provider within t...
examples/ai-sdk-foundations-provider-options-ai-sdk-provider-options-openai-3.textA TypeScript code example demonstrating how to pass provider-specific options to the OpenAI model within the AI SDK generateText function.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to pass provider-specific options to the OpenAI model within the AI SDK g...
examples/ai-sdk-foundations-provider-options-ai-sdk-provider-options-anthropic-th.textA TypeScript code example demonstrating how to configure Anthropic-specific provider options, such as reasoning budget, within the AI SDK generateText function.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to configure Anthropic-specific provider options, such as reasoning budge...
examples/ai-sdk-foundations-provider-options-ai-sdk-provider-options-anthropic.textA TypeScript code example demonstrating how to pass provider-specific options to the Anthropic model within the AI SDK generateText function.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to pass provider-specific options to the Anthropic model within the AI SD...
examples/ai-sdk-foundations-provider-options-ai-sdk-provider-options-anthropic-2.textA TypeScript code example demonstrating how to pass provider-specific options to the Anthropic model within the AI SDK generateText function.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to pass provider-specific options to the Anthropic model within the AI SD...
examples/ai-sdk-foundations-provider-options-ai-sdk-provider-options-openai-4.textA TypeScript code example demonstrating how to configure provider-specific options for the OpenAI model within the AI SDK.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to configure provider-specific options for the OpenAI model within the AI...
examples/ai-sdk-foundations-provider-options-ai-sdk-provider-options-anthropic-th-2.textA TypeScript code example demonstrating how to configure Anthropic-specific provider options like thinking budget and effort within the AI SDK.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to configure Anthropic-specific provider options like thinking budget and...
examples/ai-sdk-foundations-provider-options-ai-sdk-provider-options-openai-reaso.textA TypeScript code example demonstrating how to use provider-specific options like reasoningEffort within the AI SDK generateText function for OpenAI models.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use provider-specific options like reasoningEffort within the AI SDK g...
examples/ai-sdk-foundations-provider-options-ai-sdk-provider-options-typescript.textA TypeScript code example demonstrating how to use the providerOptions property within the AI SDK to configure provider-specific settings like gateway routing.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the providerOptions property within the AI SDK to configure provid...
examples/ai-sdk-foundations-provider-options-ai-sdk-provider-options-typescript-t.textTypeScript type definitions for OpenAI and Anthropic language model provider options within the AI SDK.Exact payloads, commands, or snippets shown in TypeScript type definitions for OpenAI and Anthropic language model provider options within the AI SDK.

What This Skill Covers

  • Provider options let you pass provider-specific configuration that goes beyond the standard settings shared by all providers. They are set via the providerOp...
  • Main sections: Common Provider Options, OpenAI, Reasoning Effort, Reasoning Summary, Streaming.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://ai-sdk.dev/docs/foundations/provider-options