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.
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
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/ai-sdk-foundations-provider-options-workflow-guide.md | Documentation 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | TypeScript 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
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - 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