Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Latency percentiles in milliseconds over the last 30 minutes. Latency measures time to first token. Only visible when authenticated with an API key or cookie; returns null for unauthenticated requests.

Example Usage

import { PercentileStats } from "@openrouter/sdk/models";

let value: PercentileStats = {
  p50: 25.5,
  p75: 35.2,
  p90: 48.7,
  p99: 85.3,
};

Fields

FieldTypeRequiredDescriptionExample
p50number:heavy_check_mark:Median (50th percentile)25.5
p75number:heavy_check_mark:75th percentile35.2
p90number:heavy_check_mark:90th percentile48.7
p99number:heavy_check_mark:99th percentile85.3