Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
cache_read | Optional[str] | ➖ | USD per cache-read prompt token, as a decimal string. Omit it to bill cache reads at the provider pricing strategy’s default, which for most strategies is the prompt rate. | 0.00000025 |
cache_write | Optional[str] | ➖ | USD per cache-write prompt token, as a decimal string. Omit it to bill cache writes at the provider pricing strategy’s default. | 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 |