Estimate tokens for a template

title: Estimate tokens for a template tags: layout: note —

Estimate tokens for the current document (OpenAI models)

Estimate the number of tokens in the selected template. It shows :

  • Model

  • Prompt tokens

  • Comletion tokens

  • Total tokens

  • Max tokens

  • Estimated Price

This command is available in the latest version of the plugin 0.3.0-beta .

The total tokens should not exceed the maximum limit request size defined by the model (more information).

Example of output

Table of contents

Local Graph