Quantization - TypeScript SDK

Quantization type definition

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

Example Usage

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

Values

This is an open enum. Unrecognized values will be captured as the Unrecognized<string> branded type.

1"int4" | "int8" | "fp4" | "fp6" | "fp8" | "fp16" | "bf16" | "fp32" | "unknown" | Unrecognized<string>