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

# Metric

## Example Usage

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

let value: Metric = {
  displayFormat: "number",
  displayLabel: "Request Count",
  isRate: false,
  name: "request_count",
};
```

## Fields

| Field           | Type                                                                  | Required             | Description                                                                                                                    | Example        |
| --------------- | --------------------------------------------------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------ | -------------- |
| `displayFormat` | [operations.DisplayFormat](../../models/operations/displayformat.mdx) | :heavy\_check\_mark: | How this metric value should be formatted for display (e.g. percent → multiply by 100 and append %, currency → prefix with \$) | number         |
| `displayLabel`  | *string*                                                              | :heavy\_check\_mark: | Human-readable label                                                                                                           | Request Count  |
| `isRate`        | *boolean*                                                             | :heavy\_check\_mark: | Whether this metric is a rate/ratio (averaged, not summed)                                                                     |                |
| `name`          | *string*                                                              | :heavy\_check\_mark: | Metric identifier used in query requests                                                                                       | request\_count |
