title: Estimate tokens for a template tags: layout: note --- > [!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 > [!warning] > This command is available in the latest version of the plugin **0.3.0-beta** . > [!warning] > The total tokens should not exceed the maximum limit request size defined by the model ([more information](https://platform.openai.com/docs/models/gpt-3-5)). ## Example of output ![[Pasted image 20230406073109.png]] ## Links * [OpenAI pricing](https://openai.com/pricing)