Quantization - Go SDK

Quantization type definition

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

Example Usage

1import (
2 "github.com/OpenRouterTeam/go-sdk/models/components"
3)
4
5value := components.QuantizationInt4
6
7// Open enum: custom values can be created with a direct type cast
8custom := components.Quantization("custom_value")

Values

NameValue
QuantizationInt4int4
QuantizationInt8int8
QuantizationFp4fp4
QuantizationFp6fp6
QuantizationFp8fp8
QuantizationFp16fp16
QuantizationBf16bf16
QuantizationFp32fp32
QuantizationUnknownunknown