Cainier / gpt-tokensLinks
Calculate the token consumption and amount of openai gpt message
☆115Updated 11 months ago
Alternatives and similar repositories for gpt-tokens
Users that are interested in gpt-tokens are comparing it to the libraries listed below
Sorting:
- OpenAI's tiktoken but with node bindings☆106Updated last year
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.☆172Updated 2 years ago
- Parse incomplete json text in best-effort manner☆266Updated 5 months ago
- 🛠 openai function calling tools for JS/TS☆308Updated last year
- The fastest JavaScript BPE Tokenizer Encoder Decoder for OpenAI's GPT models (gpt-5, gpt-o*, gpt-4o, etc.). Port of OpenAI's tiktoken wit…☆719Updated 2 weeks ago
- ☆251Updated 8 months ago
- JavaScript implementation of LiteLLM.☆145Updated 9 months ago
- Minimal and opinionated OpenAI client powered by fetch.☆195Updated last year
- Tools for working with OpenAI streams in Node.js and TypeScript.☆293Updated 2 years ago
- Node.js bindings for faiss☆138Updated 2 years ago
- Turn a stream of token into a parsable JSON object as soon as possible. Enable Streaming UI for AI app based on LLM.☆121Updated last year
- Everything you need to start building ChatGPT Plugins in JS/TS 🔥☆541Updated 2 years ago
- Node.js bindings for OpenAI's Whisper. (C++ CPU version by ggerganov)☆296Updated last year
- A client side vector search library that can embed, store, search, and cache vectors. Works on the browser and node. It outperforms OpenA…☆224Updated last year
- Streaming, source-agnostic EventSource/Server-Sent Events parser☆448Updated last month
- Vector Storage is a vector database that enables semantic similarity searches on text documents in the browser's local storage. It uses O…☆242Updated last year
- Parse partial JSON generated by LLM☆206Updated 5 months ago
- JS port and JS/WASM bindings for openai/tiktoken☆1,004Updated 5 months ago
- Vectra is a local vector database for Node.js with features similar to pinecone but built using local files.☆560Updated this week
- Hooks and components for working with OpenAI streams.☆239Updated 2 years ago
- ☆155Updated 2 weeks ago
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.☆171Updated last year
- Node.js SDK for Browserbase☆58Updated last week
- hnswlib-node provides Node.js bindings for Hnswlib☆130Updated last week
- Complete unfinished JSON streamed in by LLMs (Like OpenAI's GPT)☆62Updated last year
- OpenAI Whisper API based on Node.js / Bun.sh in a Docker Container + Google Cloud Run Example☆119Updated 2 years ago
- ☆38Updated last year
- Fast HTML to markdown converter for NodeJS or the browser☆247Updated 2 months ago
- A test suite comparing Node.js BPE tokenizers for use with AI models.☆31Updated 2 years ago
- ☆73Updated 2 years ago