ChatGenerationParamsMaxPrice - TypeScript SDK

ChatGenerationParamsMaxPrice 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 { ChatGenerationParamsMaxPrice } from "@openrouter/sdk/models";
2
3let value: ChatGenerationParamsMaxPrice = {};

Fields

FieldTypeRequiredDescription
promptanyN/A
completionanyN/A
imageanyN/A
audioanyN/A
requestanyN/A