ImagePricingEntry - TypeScript SDK

ImagePricingEntry type definition

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

One billable pricing line for an image provider.

Example Usage

1import { ImagePricingEntry } from "@openrouter/sdk/models";
2
3let value: ImagePricingEntry = {
4 billable: "output_image",
5 costUsd: 0.05,
6 unit: "image",
7};

Fields

FieldTypeRequiredDescription
billablemodels.Billable✔️N/A
costUsdnumber✔️N/A
unitmodels.Unit✔️N/A
variantstringN/A