Skip to content
JS
Package

tiktoken

JS/WASM bindings for tiktoken

v1.0.22, 9 Aug 2025MITCommonJSTypes: Bundled
$ npm install tiktoken

Key numbers

As of 25 Sept 2026
Weekly downloads
1.1m
+79% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v1.0.22
GitHub stars
1.1k
81 forks
Open issues / PRs
31 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.7m (25 Aug 2026)Low 467.3k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,114,632 downloads last week, 5,755,030 in the last month. The 12-month change of +79% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
018 in total
Latest version
1.0.22, 9 Aug 20251 year ago
First published
13 Feb 2023
Last push to GitHub
9 Aug 2025412 days before the snapshot
Repository archived
No
Open issues
31
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v0 first release 0.0.1, 13 Feb 2023
  2. v1 first release 1.0.0, 13 Feb 2023

Recent releases

VersionPublished
1.0.229 Aug 2025
1.0.2122 Apr 2025
1.0.204 Feb 2025
1.0.192 Feb 2025
1.0.1819 Dec 2024
1.0.174 Oct 2024
1.0.1615 Aug 2024
1.0.1513 May 2024
1.0.1412 Apr 2024
1.0.1328 Jan 2024
1.0.1228 Jan 2024
1.0.1115 Nov 2023
1.0.1024 Jun 2023
1.0.922 Jun 2023
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
22.5 MB
Dependencies (0)
None
npm install tiktoken
  • jsDelivrhttps://cdn.jsdelivr.net/npm/tiktoken@1.0.22/
  • unpkghttps://unpkg.com/tiktoken@1.0.22/
  • esm.shhttps://esm.sh/tiktoken@1.0.22
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.