openai-gpt-token-counter

Count the number of OpenAI tokens in a string. Supports all OpenAI Text models including GPT-5, GPT-4, GPT-3.5-turbo, and specialized models
v1.1.2 URL: https://unpkg.com/openai-gpt-token-counter@1.1.2/src/index.js
OpenBrowse Files
openaigptgpt3openai tokenstokensgpt3 tokensgpt3 token counteropenai token countertoken gpt3gpt4gpt4 tokensgpt4 token counteropenai gpt4gpt-3.5-turbogpt-4gpt-4-32kgpt-5gpt-5-minigpt-5-nanogpt-3.5-turbo tokensgpt-3.5-turbo token counteropenai gpt-3.5-turboopenai gpt-4openai gpt-4-32kopenai gpt-5openai gpt-5-miniopenai gpt-5-nanoopenai gpt modelsnatural language processingNLPtext generationchatbot developmentAI developmentmachine learninglanguage modelgpt token countgpt tokens

node-llama-cpp

Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level
v3.14.2 URL: https://unpkg.com/node-llama-cpp@3.14.2/dist/index.js
OpenBrowse Files
llamallama-cppllama.cppbindingsaicmakecmake-jsprebuilt-binariesllmggufmetalcudavulkangrammarembeddingrerankrerankingjson-grammarjson-schema-grammarfunctionsfunction-callingtoken-predictionspeculative-decodingtemperatureminPtopKtopPseedjson-schemaraspberry-piself-hostedlocalcataimistraldeepseekqwenqwqgptgpt-osstypescriptlorabatchinggpu

chatgpt

Node.js client for the official ChatGPT API.
v5.2.5 URL: https://unpkg.com/chatgpt@5.2.5/build/index.js
OpenBrowse Files
openaichatgptchatgptgpt-3gpt3gpt4chatbotmachine learningconversationconversational aiaimlbot

openai-token-cost-calculator-updated

Easily calculate the cost of your OpenAI Usage
v1.1.7 URL: https://unpkg.com/openai-token-cost-calculator-updated@1.1.7/src/index.js
OpenBrowse Files
openaigptgpt3openai costopenai pricegpt pricegpt3 price calculatorgpt3 cost calculatorcost gpt3gpt4gpt4 costgpt4 cost calculatoropenai gpt4 costgpt-3.5-turbo costgpt-4gpt-4-32kgpt-3.5-turbo costgpt-3.5-turbo cost calculatoropenai gpt-3.5-turboopenai price trackeropenai pricing

@light-merlin-dark/tok

Fast token estimation and cost calculation for enterprise LLMs with CLI support
v0.3.0 URL: https://unpkg.com/@light-merlin-dark/tok@0.3.0/dist/index.js
OpenBrowse Files
tokenestimatorllmgptclaudecostcalculatorcli