Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Provider-specific passthrough configuration

Example Usage

import { SpeechRequestProvider } from "@openrouter/sdk/models";

let value: SpeechRequestProvider = {};

Fields

FieldTypeRequiredDescriptionExample
optionsmodels.ProviderOptions:heavy_minus_sign:Provider-specific options keyed by provider slug. The options for the matched provider are spread into the upstream request body.{"openai": {"max_tokens": 1000}
}