Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Streaming configuration options

Example Usage

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

let value: ChatStreamOptions = {};

Fields

FieldTypeRequiredDescriptionExample
includeUsageboolean:heavy_minus_sign:: warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated: This field has no effect. Full usage details are always included.
true