Variable: gptel--token-usage

gptel--token-usage is a buffer-local variable defined in gptel.el.

Documentation

Token usage details for gptel.

This is a list of two plists, the token usage for the ongoing/last request and for the buffer/session:

  ((:input ... :output ... :cache ... :cached ...)
   (:input ... :output ... :cache ... :cached ...))

Source Code

;; Defined in /nix/store/q3r7g81pvghw7a523kjk2k2zih3pfk8z-emacs-packages-deps/share/emacs/site-lisp/elpa/gptel-20261002.545/gptel.el
;;;; Token usage display UI
(defvar-local gptel--token-usage nil
  "Token usage details for gptel.

This is a list of two plists, the token usage for the ongoing/last
request and for the buffer/session:

  ((:input ... :output ... :cache ... :cached ...)
   (:input ... :output ... :cache ... :cached ...))")