Usage.Cache_creation
Breakdown of prompt-cache writes by ephemeral TTL, as reported by providers with Anthropic-style prompt caching. The sum matches Prompt_tokens_details.cache_write_tokens.
Prompt_tokens_details.cache_write_tokens
type t = {
ephemeral_5m_input_tokens : int option;
ephemeral_1h_input_tokens : int option;
}
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t