Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>gpt-3-token-counterNew to Visual Studio Code? Get it now.
gpt-3-token-counter

gpt-3-token-counter

Donald Pittard

|
101 installs
| (0) | Free
Counts GPT-3 tokens in selected text
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

gpt-3-token-counter

GPT-3 Token Counter is a simple VS Code extension to help you count the number of tokens in a selected piece of text. This is helpful for ensuring that you don't go over your token count when writing software that sends chat messages to GPT-3 models.

Features

This extension adds an item to the status bar menu that will tell you how many GPT-3 tokens are in the currently selected text.

Display GPT-3 Tokens in Status Bar

In order to run the extension, open the command pallet, and select GPT-3: Count number of tokens in selected text

Known Issues

  1. This extension works only for GPT-3 models, and not other models that may create different tokens for different strings
  2. Larger text takes a longer time to computer
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft