Cainier / gpt-tokensLinks
Calculate the token consumption and amount of openai gpt message
☆116Updated 5 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☆105Updated last year
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.☆171Updated 2 years ago
- ☆252Updated 3 months ago
- The fastest JavaScript BPE Tokenizer Encoder Decoder for OpenAI's GPT models (o1, o3, o4, gpt-4o, gpt-4, etc.). Port of OpenAI's tiktoken…☆595Updated last month
- JavaScript implementation of LiteLLM.☆130Updated 4 months ago
- Minimal and opinionated OpenAI client powered by fetch.☆191Updated 6 months ago
- Parse incomplete json text in best-effort manner☆236Updated 2 weeks ago
- Streaming, source-agnostic EventSource/Server-Sent Events parser☆395Updated last month
- Parse partial JSON generated by LLM☆150Updated 10 months ago
- 🛠 openai function calling tools for JS/TS☆298Updated last year
- Tools for working with OpenAI streams in Node.js and TypeScript.☆292Updated 2 years ago
- Node.js bindings for faiss☆134Updated last year
- Everything you need to start building ChatGPT Plugins in JS/TS 🔥☆544Updated 2 years ago
- Node.js bindings for OpenAI's Whisper. (C++ CPU version by ggerganov)☆284Updated 11 months ago
- 💬 Estimate the number of tokens an OpenAI chat completion will use☆90Updated last year
- Turn a stream of token into a parsable JSON object as soon as possible. Enable Streaming UI for AI app based on LLM.☆120Updated last year
- ☆152Updated last month
- Vectra is a local vector database for Node.js with features similar to pinecone but built using local files.☆500Updated 2 months ago
- pgvector support for Node.js, Deno, and Bun (and TypeScript)☆399Updated 2 weeks ago
- Vector Storage is a vector database that enables semantic similarity searches on text documents in the browser's local storage. It uses O…☆232Updated 7 months ago
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.☆168Updated last year
- Yet another library to extract text from MS Office and PDF files☆81Updated last year
- Hooks and components for working with OpenAI streams.☆241Updated 2 years ago
- A client side vector search library that can embed, store, search, and cache vectors. Works on the browser and node. It outperforms OpenA…☆216Updated last year
- A test suite comparing Node.js BPE tokenizers for use with AI models.☆31Updated last year
- Vercel AI provider for Chrome built-in model (Gemini Nano)☆326Updated 10 months ago
- LLM tools used in production at Dexa☆102Updated 6 months ago
- Library to generate vector embeddings in NodeJS☆136Updated 3 months ago
- Node.js SDK for Browserbase☆56Updated this week
- The Official Exa Javascript SDK☆86Updated this week