niieani / gpt-tokenizerView external linksLinks
The fastest JavaScript BPE Tokenizer Encoder Decoder for OpenAI's GPT models (gpt-5, gpt-o*, gpt-4o, etc.). Port of OpenAI's tiktoken with additional features.
☆738Updated this week
Alternatives and similar repositories for gpt-tokenizer
Users that are interested in gpt-tokenizer are comparing it to the libraries listed below
Sorting:
- JS port and JS/WASM bindings for openai/tiktoken☆1,008Aug 9, 2025Updated 6 months ago
- Javascript BPE Encoder Decoder for GPT-2 / GPT-3☆723Apr 16, 2023Updated 2 years ago
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.☆172Jan 27, 2023Updated 3 years ago
- 🦜🔗 Build context-aware reasoning applications☆16,960Updated this week
- Get structured, fully typed, and validated JSON outputs from OpenAI and Anthropic models.☆629Apr 26, 2024Updated last year
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆17,258Feb 8, 2026Updated last week
- Split large texts into chunks with a maximum number of tokens. Split by fixed size or by sentence.☆34Mar 1, 2024Updated last year
- Vectra is a local vector database for Node.js with features similar to pinecone but built using local files.☆582Jan 20, 2026Updated 3 weeks ago
- Official JavaScript / TypeScript library for the OpenAI API☆10,624Updated this week
- The AI Toolkit for TypeScript. From the creators of Next.js, the AI SDK is a free open-source library for building AI-powered application…☆21,642Updated this week
- 📐 Fast token estimation at 96% accuracy of a full tokenizer in a 2kB bundle☆114Jan 29, 2026Updated 2 weeks ago
- 📄 PDF extraction and rendering across all JavaScript runtimes☆1,018Nov 29, 2025Updated 2 months ago
- State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!☆15,352Updated this week
- Prompt design using JSX.☆2,762Oct 15, 2025Updated 4 months ago
- Converts Zod schemas to Json schemas☆1,239Dec 27, 2025Updated last month
- A lightweight React Hook intended mainly for AI chat applications, for smoothly sticking to bottom of messages☆676Feb 6, 2026Updated last week
- High-performance In-browser LLM Inference Engine☆17,258Feb 9, 2026Updated last week
- Panda CSS Ecosystem☆12May 10, 2024Updated last year
- Test your prompts, agents, and RAGs. AI Red teaming, pentesting, and vulnerability scanning for LLMs. Compare performance of GPT, Claude,…☆10,462Updated this week
- ☆17Dec 12, 2025Updated 2 months ago
- 🤖💬 extra-small AI SDK.☆566Feb 3, 2026Updated last week
- TypeChat is a library that makes it easy to build natural language interfaces using types.☆8,608Dec 4, 2025Updated 2 months ago
- The TypeScript library for building AI applications.☆1,316Jul 19, 2024Updated last year
- 🕸️🦀 A WASM vector similarity search written in Rust☆1,047Sep 20, 2023Updated 2 years ago
- OpenAI's tiktoken but with node bindings☆106May 18, 2024Updated last year
- Tools for working with OpenAI streams in Node.js and TypeScript.☆293Jul 20, 2023Updated 2 years ago
- hnswlib-node provides Node.js bindings for Hnswlib☆133Feb 6, 2026Updated last week
- React Flow | Svelte Flow - Powerful open source libraries for building node-based UIs with React (https://reactflow.dev) or Svelte (https…☆35,197Updated this week
- The official TypeScript SDK for Model Context Protocol servers and clients☆11,558Updated this week
- Super Simple API framework, type safe, automatic OpenAPI, MCP support, client RPC, streaming with SSE☆84Jan 23, 2026Updated 3 weeks ago
- 🧙 Valtio makes proxy-state simple for React and Vanilla☆10,119Feb 10, 2026Updated last week
- Your API ⇒ Paid MCP. Instantly.☆18,126Oct 9, 2025Updated 4 months ago
- Dead simple pdf text reader☆44Jan 19, 2026Updated 3 weeks ago
- Calculate the token consumption and amount of openai gpt message☆115Feb 9, 2025Updated last year
- 🧩 The Browser Extension Framework☆12,829Feb 9, 2026Updated last week
- 🛏 An HTML to Markdown converter written in JavaScript☆10,763Oct 24, 2025Updated 3 months ago
- ☆17Oct 16, 2023Updated 2 years ago
- primitives for advanced inference in TS☆18Nov 21, 2025Updated 2 months ago
- TypeScript/JavaScript SDK for Gemini and Vertex AI.☆1,471Updated this week