Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
cache_read | Optional[str] | ➖ | USD per cache-read prompt token, as a decimal string. When omitted, inherited from the public endpoint of the same model and provider: scaled by its cache-read to prompt ratio, or left at the pricing strategy default when it publishes no cache-read rate. Required when there is no such endpoint and the provider bills cache reads. | 0.00000025 |
cache_write | Optional[str] | ➖ | USD per cache-write prompt token, as a decimal string. When omitted, inherited from the public endpoint of the same model and provider: scaled by its cache-write to prompt ratio, or left at the pricing strategy default when it publishes no cache-write rate. Required when there is no such endpoint and the provider bills cache writes. | 0.000003125 |
completion | str | ✅ | USD per completion token, as a decimal string. | 0.00001 |
prompt | str | ✅ | USD per prompt token, as a decimal string. | 0.0000025 |