Overview
| Comment: | Model prices and real costs, as Pi's
The catalog snapshot (regenerated from pi.dev) keeps each model's per-Mtok prices and tiers, as do the pi.dev overlay and models.json. Each reply is priced as Pi's calculateCost does: tiers, 1-hour cache writes, per-API usage normalisation, OpenRouter's billed total. The cost and Pi's normalised token counts are stored with the generation and appear in usage events, the Pi export, pic models --json and, per conversation, pic sessions --json. |
|---|---|
| Timelines: | family | ancestors | descendants | both | cost |
| Files: | files | file ages | folders |
| SHA3-256: |
fe63b75bbd827a87aedcc54a3b9540ba |
| User & Date: | dmestas on 2026-11-19 23:24:39.130 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-19
| ||
| 23:24 | Fil-C runs the cost test too check-in: 3e251306f6 user: dmestas tags: cost | |
| 23:24 |
Model prices and real costs, as Pi's
The catalog snapshot (regenerated from pi.dev) keeps each model's per-Mtok prices and tiers, as do the pi.dev overlay and models.json. Each reply is priced as Pi's calculateCost does: tiers, 1-hour cache writes, per-API usage normalisation, OpenRouter's billed total. The cost and Pi's normalised token counts are stored with the generation and appear in usage events, the Pi export, pic models --json and, per conversation, pic sessions --json. check-in: fe63b75bbd user: dmestas tags: cost | |
| 22:27 | CI green on 1c97d5bf491f (docs only) check-in: 32ae0b410e user: dmestas tags: trunk | |