Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Usage and cost information for the video generation. Available once the job has completed.

Example Usage

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

let value: VideoGenerationUsage = {};

Fields

FieldTypeRequiredDescription
costnumber:heavy_minus_sign:The cost of the video generation in USD.
isByokboolean:heavy_minus_sign:Whether the request was made using a Bring Your Own Key configuration.