Example Usage
import { SessionCostItem } from "@openrouter/sdk/models";
let value: SessionCostItem = {
appName: "Hermes Agent",
appSlug: "hermes-agent",
medianSessionCostUsd: 1.74,
modelPermaslug: "anthropic/claude-4.8-opus",
turnRange: "10-49-turns",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
appName | string | ✅ | Published harness display label. | Hermes Agent |
appSlug | string | ✅ | Stable public slug of the harness. | hermes-agent |
medianSessionCostUsd | number | ✅ | Median USD spend per sampled session. | 1.74 |
modelPermaslug | string | ✅ | Exact model permaslug. | anthropic/claude-4.8-opus |
turnRange | models.TurnRange | ✅ | Inclusive session turn-count range. | 10-49-turns |