TypeScript SDKOperations

MaxPrice - TypeScript SDK

MaxPrice method reference

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.

Example Usage

1import { MaxPrice } from "@openrouter/sdk/models/operations";
2
3let value: MaxPrice = {};

Fields

FieldTypeRequiredDescription
promptanyA value in string or number format that is a large number
completionanyA value in string or number format that is a large number
imageanyA value in string or number format that is a large number
audioanyA value in string or number format that is a large number
requestanyA value in string or number format that is a large number