Cainier / gpt-tokensLinks
Calculate the token consumption and amount of openai gpt message
☆116Updated 8 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
- Parse incomplete json text in best-effort manner☆245Updated 3 months ago
- Minimal and opinionated OpenAI client powered by fetch.☆193Updated 9 months ago
- 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…☆629Updated last week
- JavaScript implementation of LiteLLM.☆140Updated 7 months ago
- 🛠 openai function calling tools for JS/TS☆302Updated last year
- ☆251Updated 6 months ago
- Parse partial JSON generated by LLM☆182Updated 2 months ago
- Tools for working with OpenAI streams in Node.js and TypeScript.☆292Updated 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.☆118Updated last year
- Everything you need to start building ChatGPT Plugins in JS/TS 🔥☆542Updated 2 years ago
- Node.js bindings for faiss☆137Updated 2 years ago
- Streaming, source-agnostic EventSource/Server-Sent Events parser☆425Updated last month
- JS port and JS/WASM bindings for openai/tiktoken☆966Updated 2 months ago
- ☆155Updated 4 months ago
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.☆169Updated last year
- ☆74Updated last year
- ☆38Updated last year
- Node.js SDK for Browserbase☆57Updated 2 weeks ago
- Vectra is a local vector database for Node.js with features similar to pinecone but built using local files.☆530Updated 5 months ago
- Hooks and components for working with OpenAI streams.☆240Updated 2 years ago
- Node.js bindings for OpenAI's Whisper. (C++ CPU version by ggerganov)☆290Updated last year
- 🔎 Search from DuckDuckGo and utilize its spice APIs in Node☆210Updated 7 months ago
- pgvector support for Node.js, Deno, and Bun (and TypeScript)☆409Updated last month
- The Official Exa Javascript SDK☆97Updated 2 weeks ago
- 💬 Estimate the number of tokens an OpenAI chat completion will use☆90Updated last year
- midjourney-client in deno☆56Updated last year
- LLM tools used in production at Dexa☆104Updated 9 months ago
- Library to generate vector embeddings in NodeJS☆154Updated last month