Gpt Token Utils

JavaScript library for GPT-3 tokenization and prompt building

Coding & DevelopmentLLM ToolsUnknownOpen source
Visit tool

npmjs.com

About Gpt Token Utils

Gpt Token Utils is a small library for encoding and decoding text to and from the tokenized format used by OpenAI's GPT models. It is isomorphic and can be used in both Node and the browser.

Description summarised by AI from the sources listed below.

Key features

  • token encoder/decoder
  • optimized for speed and ease of use
  • no external dependencies required
  • isomorphic
  • tree-shakeable

Use cases

  • encoding and decoding text for GPT models
  • working with Codex-based models optimized for strings of code

Pricing

Pricing model: Unknown — we have not been able to confirm pricing from the official website, so nothing is stated here.

Pricing from the tool's own website.