VideoGenerationUsage - TypeScript SDK

VideoGenerationUsage type definition

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

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

Fields

FieldTypeRequiredDescription
costnumberThe cost of the video generation in USD.
isByokbooleanWhether the request was made using a Bring Your Own Key configuration.