runmeter_record
Log an LLM/agent run with tokens, latency, and status; auto-calculate cost from pricing table or explicit USD, then return the stored row.
Instructions
Record a single LLM/agent run and return the stored row.
Cost is taken from cost_usd when provided; otherwise it is computed from
the built-in pricing table (USD per 1M tokens) when the model is known. If
the model is unpriced and no cost is given, cost is stored as null and the
response notes that the model is unpriced so you can extend the table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||