Skip to main content
.NETFramework4.6.2net8.0net9.0net10.0.NETStandard2.0.NETStandard2.1

The fastest tokenizer for GPT-3.5 and GPT-4 inspired by Tiktoken.

Published
Mar 23, 2026
6mo ago
Total Downloads
3.2M
3,222,482

Install

dotnet add package Tiktoken --version 3.1.0-rc.1.3
ProductVersions
.NET
net10.0net8.0net9.0
.NET Standard
netstandard2.0netstandard2.1
Other
.NETFramework4.6.2

README

Changes from Previous Version

No structural changes between v3.1.0-rc.1.2 and v3.1.0-rc.1.3.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 6 target frameworks; confirm the exact target used by your application.The published metadata declares 36 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.