| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| cache_ratio.go | ||
| compact_suffix.go | ||
| expose_ratio.go | ||
| exposed_cache.go | ||
| group_ratio.go | ||
| model_ratio.go |
Parse OpenAI's native cache_write_tokens (chat prompt_tokens_details / responses input_tokens_details), bill it at the cache-creation ratio, and clamp the uncached prompt remainder at zero since cached + cache-write can exceed prompt_tokens. Propagate the field through chat/responses/claude format conversions and tiered expression billing (cc variable).
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| cache_ratio.go | Loading commit data... | |
| compact_suffix.go | Loading commit data... | |
| expose_ratio.go | Loading commit data... | |
| exposed_cache.go | Loading commit data... | |
| group_ratio.go | Loading commit data... | |
| model_ratio.go | Loading commit data... |