Skip to main content
The Go SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

import (
	"github.com/OpenRouterTeam/go-sdk/models/components"
)

value := components.QuantizationInt4

// Open enum: custom values can be created with a direct type cast
custom := components.Quantization("custom_value")

Values

NameValue
QuantizationInt4int4
QuantizationInt8int8
QuantizationFp4fp4
QuantizationFp6fp6
QuantizationFp8fp8
QuantizationFp16fp16
QuantizationBf16bf16
QuantizationFp32fp32
QuantizationUnknownunknown