> ## 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.

# TaskClassificationItem

## Fields

| Field                | Type                                                                                         | Required             | Description                                                                                                                                                                  | Example            |
| -------------------- | -------------------------------------------------------------------------------------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
| `CategoryTokenShare` | `float64`                                                                                    | :heavy\_check\_mark: | Fraction of this classification's token volume within its macro-category (0–1). Sums to 1 across all classifications sharing the same `macro_category`.                      | 0.48               |
| `CategoryUsageShare` | `float64`                                                                                    | :heavy\_check\_mark: | Fraction of this classification's usage within its macro-category (0–1). Sums to 1 across all classifications sharing the same `macro_category`.                             | 0.51               |
| `DisplayName`        | `string`                                                                                     | :heavy\_check\_mark: | Human-readable label for the classification.                                                                                                                                 | Code Generation    |
| `MacroCategory`      | `string`                                                                                     | :heavy\_check\_mark: | Coarse grouping derived from the tag prefix: `code`, `data`, `agent`, or `general`.                                                                                          | code               |
| `Models`             | \[][components.TaskClassificationModel](../../models/components/taskclassificationmodel.mdx) | :heavy\_check\_mark: | Top models for this classification by request volume, sorted descending. Each entry reports the model's share of this classification's requests and tokens.                  |                    |
| `Tag`                | `string`                                                                                     | :heavy\_check\_mark: | Classification tag identifier (e.g. `code:general_impl`, `agent:web_search`).                                                                                                | code:general\_impl |
| `TokenShare`         | `float64`                                                                                    | :heavy\_check\_mark: | Fraction of classified sampled token volume (prompt + completion) attributed to this classification (0–1). The unclassified `other` bucket is excluded from the denominator. | 0.31               |
| `UsageShare`         | `float64`                                                                                    | :heavy\_check\_mark: | Fraction of classified sampled requests attributed to this classification (0–1). The unclassified `other` bucket is excluded from the denominator.                           | 0.23               |
