> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# TaskClassificationMacroCategory

## Example Usage

```typescript theme={null}
import { TaskClassificationMacroCategory } from "@openrouter/sdk/models";

let value: TaskClassificationMacroCategory = {
  key: "code",
  label: "Code",
  tokenShare: 0.52,
  usageShare: 0.45,
};
```

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `key` | *string* | :heavy\_check\_mark: | Macro-category identifier. | code |
| `label` | *string* | :heavy\_check\_mark: | Human-readable label for the macro-category. | Code |
| `tokenShare` | *number* | :heavy\_check\_mark: | Combined token share of all classifications in this macro-category (0–1). | 0.52 |
| `usageShare` | *number* | :heavy\_check\_mark: | Combined usage share of all classifications in this macro-category (0–1). | 0.45 |
