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.
☆857Oct 18, 2026Updated 3 weeks ago
Alternatives and similar repositories for gpt-tokenizer
Users that are interested in gpt-tokenizer are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- JS port and JS/WASM bindings for openai/tiktoken☆1,077Aug 9, 2025Updated last year
- Javascript BPE Encoder Decoder for GPT-2 / GPT-3☆721Apr 16, 2023Updated 3 years ago
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆19,616Aug 17, 2026Updated 2 months ago
- 📐 Fast token estimation with 95%+ average accuracy in a 2kB bundle☆188Updated this week
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.☆171Jan 27, 2023Updated 3 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Isomorphic utilities for GPT-3 tokenization and prompt building.☆10Apr 11, 2023Updated 3 years ago
- The agent engineering platform☆18,329Updated this week
- Official JavaScript / TypeScript library for the OpenAI API☆11,251Updated this week
- 📄 PDF extraction and rendering across all JavaScript runtimes☆1,261Updated this week
- State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!☆16,405Oct 30, 2026Updated last 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…☆27,797Updated this week
- 🕊️ Node.js compatibility for any JavaScript runtime, including browsers and edge workers.☆773Updated this week
- Runtime TypeScript and ESM support for Node.js☆2,986Updated this week
- Repair invalid JSON documents☆2,414Jul 3, 2026Updated 4 months ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Vectra is a local vector database for Node.js with features similar to pinecone but built using local files.☆633Jul 20, 2026Updated 3 months ago
- Calculate how much a LLM completion costs☆17Updated this week
- Get structured, fully typed, and validated JSON outputs from OpenAI and Anthropic models.☆626Apr 26, 2024Updated 2 years ago
- 🎒 Token-Oriented Object Notation (TOON) – compact, human-readable serialization of JSON data for LLM prompts. TypeScript SDK, CLI, bench…☆25,620Updated this week
- Calculate the token consumption and amount of openai gpt message☆115Feb 9, 2025Updated last year
- Mastra is the modern TypeScript framework for AI-powered applications and agents.☆29,395Updated this week
- Converts Zod schemas to Json schemas☆1,248Mar 27, 2026Updated 7 months ago
- 🤖💬 AI SDK, extra small.☆667Updated this week
- The simplest and fastest way to bundle your TypeScript libraries.☆11,304Updated this week
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- A drop-in replacement for react-markdown, designed for AI-powered streaming.☆5,748Updated this week
- Online playground for OpenAPI tokenizers☆1,719Apr 24, 2025Updated last year
- React Flow | Svelte Flow - Powerful open source libraries for building node-based UIs with React (https://reactflow.dev) or Svelte (https…☆38,927Updated this week
- Tools for working with OpenAI streams in Node.js and TypeScript.☆292Jul 20, 2023Updated 3 years ago
- 🛏 An HTML to Markdown converter written in JavaScript☆11,502Updated this week
- High-performance In-browser LLM Inference Engine☆19,361Updated this week
- Typed model metadata and context/cost utilities that help AI apps answer: Does this fit? What will it cost? Should we compact now? How mu…☆269Jul 2, 2026Updated 4 months ago
- A robust, strictly-typed Node.js and Browser library for parsing office files into a rich Abstract Syntax Tree (AST) and generating high-…☆566Updated this week
- Effortlessly build beautiful command-line apps☆8,122Oct 30, 2026Updated last week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- The official TypeScript SDK for Model Context Protocol servers and clients☆13,727Updated this week
- Web framework built on Web Standards☆32,849Updated this week
- Enlightened library to convert HTML and CSS to SVG☆14,167Updated this week
- 🧙♀️ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.☆40,781Updated this week
- primitives for advanced inference in TS☆17Oct 12, 2026Updated 3 weeks ago
- 🧙 Valtio makes proxy-state simple for React and Vanilla☆10,244Oct 30, 2026Updated last week
- Reactive fs for WebContainers☆29Mar 14, 2023Updated 3 years ago