Record
usage-cost
Cost associated with a [usage-update]. May be a monetary amount or a
provider-specific usage unit (e.g. GitHub AI Units).
record usage-cost {
amount: f64,
currency: string,
}Fields
| Name | Type | Description |
|---|---|---|
| amount | f64 | The cost amount, expressed in currency units. |
| currency | string | The unit of amount: an ISO 4217 currency code (e.g. USD) or a
provider-specific usage unit (e.g. AIU for GitHub AI Units). |