> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Quantization - Go SDK

> Quantization type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

## Example Usage

```go lines theme={null}
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

| Name                  | Value   |
| --------------------- | ------- |
| `QuantizationInt4`    | int4    |
| `QuantizationInt8`    | int8    |
| `QuantizationFp4`     | fp4     |
| `QuantizationFp6`     | fp6     |
| `QuantizationFp8`     | fp8     |
| `QuantizationFp16`    | fp16    |
| `QuantizationBf16`    | bf16    |
| `QuantizationFp32`    | fp32    |
| `QuantizationUnknown` | unknown |
