Skip to main content

⏳ tiktoken

tiktoken is a fast BPE tokeniser for use with OpenAI's models.

import tiktoken
enc = tiktoken.get_encoding("o200k_base")
assert enc.decode(enc.encode("hello world")) == "hello world"

# To get the tokeniser corresponding to a specific model in the OpenAI API:
enc = tiktoken.encoding_for_model("gpt-4o")

The open source version of tiktoken can be installed from PyPI:

pip install tiktoken

The tokeniser API is documented in tiktoken/core.py.

Example code using tiktoken can be found in the OpenAI Cookbook.

Performance

tiktoken is between 3-6x faster than a comparable open source tokeniser:

image

Performance measured on 1GB of text using the GPT-2 tokeniser, using GPT2TokenizerFast from tokenizers==0.13.2, transformers==4.24.0 and tiktoken==0.2.0.

Getting help

Please post questions in the issue tracker.

If you work at OpenAI, make sure to check the internal documentation or feel free to contact @shantanu.

What is BPE anyway?

Language models don't see text like you and I, instead they see a sequence of numbers (known as tokens). Byte pair encoding (BPE) is a way of converting text into tokens. It has a couple desirable properties:

  1. It's reversible and lossless, so you can convert tokens back into the original text
  2. It works on arbitrary text, even text that is not in the tokeniser's training data
  3. It compresses the text: the token sequence is shorter than the bytes corresponding to the original text. On average, in practice, each token corresponds to about 4 bytes.
  4. It attempts to let the model see common subwords. For instance, "ing" is a common subword in English, so BPE encodings will often split "encoding" into tokens like "encod" and "ing" (instead of e.g. "enc" and "oding"). Because the model will then see the "ing" token again and again in different contexts, it helps models generalise and better understand grammar.

tiktoken contains an educational submodule that is friendlier if you want to learn more about the details of BPE, including code that helps visualise the BPE procedure:

from tiktoken._educational import *

# Train a BPE tokeniser on a small amount of text
enc = train_simple_encoding()

# Visualise how the GPT-4 encoder encodes text
enc = SimpleBytePairEncoding.from_tiktoken("cl100k_base")
enc.encode("hello world aaaaaaaaaaaa")

Extending tiktoken

You may wish to extend tiktoken to support new encodings. There are two ways to do this.

Create your Encoding object exactly the way you want and simply pass it around.

cl100k_base = tiktoken.get_encoding("cl100k_base")

# In production, load the arguments directly instead of accessing private attributes
# See openai_public.py for examples of arguments for specific encodings
enc = tiktoken.Encoding(
    # If you're changing the set of special tokens, make sure to use a different name
    # It should be clear from the name what behaviour to expect.
    name="cl100k_im",
    pat_str=cl100k_base._pat_str,
    mergeable_ranks=cl100k_base._mergeable_ranks,
    special_tokens={
        **cl100k_base._special_tokens,
        "<|im_start|>": 100264,
        "<|im_end|>": 100265,
    }
)

Use the tiktoken_ext plugin mechanism to register your Encoding objects with tiktoken.

This is only useful if you need tiktoken.get_encoding to find your encoding, otherwise prefer option 1.

To do this, you'll need to create a namespace package under tiktoken_ext.

Layout your project like this, making sure to omit the tiktoken_ext/__init__.py file:

my_tiktoken_extension
├── tiktoken_ext
│   └── my_encodings.py
└── setup.py

my_encodings.py should be a module that contains a variable named ENCODING_CONSTRUCTORS. This is a dictionary from an encoding name to a function that takes no arguments and returns arguments that can be passed to tiktoken.Encoding to construct that encoding. For an example, see tiktoken_ext/openai_public.py. For precise details, see tiktoken/registry.py.

Your setup.py should look something like this:

from setuptools import setup, find_namespace_packages

setup(
    name="my_tiktoken_extension",
    packages=find_namespace_packages(include=['tiktoken_ext*']),
    install_requires=["tiktoken"],
    ...
)

Then simply pip install ./my_tiktoken_extension and you should be able to use your custom encodings! Make sure not to use an editable install.

Release files for tiktoken 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tiktoken 0.8.0
File Size Uploaded
tiktoken-0.8.0.tar.gz 35.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for tiktoken 0.8.0
File
tiktoken-0.8.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
tiktoken-0.8.0-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details
tiktoken-0.8.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
tiktoken-0.8.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details
tiktoken-0.8.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
tiktoken-0.8.0-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details
tiktoken-0.8.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
tiktoken-0.8.0-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details
tiktoken-0.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
tiktoken-0.8.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details
tiktoken-0.8.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
tiktoken-0.8.0-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details
tiktoken-0.8.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
tiktoken-0.8.0-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details
tiktoken-0.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
tiktoken-0.8.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details
tiktoken-0.8.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
tiktoken-0.8.0-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
tiktoken-0.8.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
tiktoken-0.8.0-cp310-cp310-musllinux_1_2_x86_64.whl CPython 3.10 CPython 3.10 Linux musl 1.2+ x86-64 Details
tiktoken-0.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
tiktoken-0.8.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details
tiktoken-0.8.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
tiktoken-0.8.0-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details
tiktoken-0.8.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
tiktoken-0.8.0-cp39-cp39-musllinux_1_2_x86_64.whl CPython 3.9 CPython 3.9 Linux musl 1.2+ x86-64 Details
tiktoken-0.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
tiktoken-0.8.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ ARM64 Details
tiktoken-0.8.0-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details
tiktoken-0.8.0-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details

Total release size: 32.4 MB

Release files / tiktoken-0.8.0.tar.gz

Download URL tiktoken-0.8.0.tar.gz
Size 35.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9ccbb2740f24542534369c5635cfd9b2b3c2490754a78ac8831d99f89f94eeb2
BLAKE2b-256 checksum
How to use checksums
3702576ff3a6639e755c4f70997b2d315f56d6d71e0d046f4fb64cb81a3fb099
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp313-cp313-win_amd64.whl

Download URL tiktoken-0.8.0-cp313-cp313-win_amd64.whl
Size 883.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
18228d624807d66c87acd8f25fc135665617cab220671eb65b50f5d70fa51f69
BLAKE2b-256 checksum
How to use checksums
405914b20465f1d1cb89cfbc96ec27e5617b2d41c79da12b5e04e96d689be2a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL tiktoken-0.8.0-cp313-cp313-musllinux_1_2_x86_64.whl
Size 1.2 MB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
5376b6f8dc4753cd81ead935c5f518fa0fbe7e133d9e25f648d8c4dabdd4bad7
BLAKE2b-256 checksum
How to use checksums
19eb5989e16821ee8300ef8ee13c16effc20dfc26c777d05fbb6825e3c037b81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tiktoken-0.8.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.2 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
4177faa809bd55f699e88c96d9bb4635d22e3f59d635ba6fd9ffedf7150b9953
BLAKE2b-256 checksum
How to use checksums
abd3155d2d4514f3471a25dc1d6d20549ef254e2aa9bb5b1060809b1d3b03d3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tiktoken-0.8.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.1 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
6b231f5e8982c245ee3065cd84a4712d64692348bc609d84467c57b4b72dcbc5
BLAKE2b-256 checksum
How to use checksums
e4f00ecf79a279dfa41fc97d00adccf976ecc2556d3c08ef3e25e45eb31f665b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL tiktoken-0.8.0-cp313-cp313-macosx_11_0_arm64.whl
Size 982.8 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c94ff53c5c74b535b2cbf431d907fc13c678bbd009ee633a2aca269a04389f9a
BLAKE2b-256 checksum
How to use checksums
b1da24cdbfc302c98663fbea66f5866f7fa1048405c7564ab88483aea97c3b1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp313-cp313-macosx_10_13_x86_64.whl

Download URL tiktoken-0.8.0-cp313-cp313-macosx_10_13_x86_64.whl
Size 1.0 MB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
02be1666096aff7da6cbd7cdaa8e7917bfed3467cd64b38b1f112e96d3b06a24
BLAKE2b-256 checksum
How to use checksums
e338802e79ba0ee5fcbf240cd624143f57744e5d411d2e9d9ad2db70d8395986
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp312-cp312-win_amd64.whl

Download URL tiktoken-0.8.0-cp312-cp312-win_amd64.whl
Size 883.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
d8f3192733ac4d77977432947d563d7e1b310b96497acd3c196c9bddb36ed9db
BLAKE2b-256 checksum
How to use checksums
45e239d4aa02a52bba73b2cd21ba4533c84425ff8786cc63c511d68c8897376e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL tiktoken-0.8.0-cp312-cp312-musllinux_1_2_x86_64.whl
Size 1.2 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
294440d21a2a51e12d4238e68a5972095534fe9878be57d905c476017bff99fc
BLAKE2b-256 checksum
How to use checksums
c789926b66e9025b97e9fbabeaa59048a736fe3c3e4530a204109571104f921c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tiktoken-0.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.2 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d2908c0d043a7d03ebd80347266b0e58440bdef5564f84f4d29fb235b5df3b04
BLAKE2b-256 checksum
How to use checksums
2632e0e3a859136e95c85a572e4806dc58bf1ddf651108ae8b97d5f3ebe1a244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tiktoken-0.8.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.1 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
9a58deb7075d5b69237a3ff4bb51a726670419db6ea62bdcd8bd80c78497d7ab
BLAKE2b-256 checksum
How to use checksums
b3a179846e5ef911cd5d75c844de3fa496a10c91b4b5f550aad695c5df153d72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL tiktoken-0.8.0-cp312-cp312-macosx_11_0_arm64.whl
Size 982.6 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fe9399bdc3f29d428f16a2f86c3c8ec20be3eac5f53693ce4980371c3245729b
BLAKE2b-256 checksum
How to use checksums
04d2c793cf49c20f5855fd6ce05d080c0537d7418f22c58e71f392d5e8c8dbf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp312-cp312-macosx_10_13_x86_64.whl

Download URL tiktoken-0.8.0-cp312-cp312-macosx_10_13_x86_64.whl
Size 1.0 MB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
881839cfeae051b3628d9823b2e56b5cc93a9e2efb435f4cf15f17dc45f21586
BLAKE2b-256 checksum
How to use checksums
c12234b2e136a6f4af186b6640cbfd6f93400783c9ef6cd550d9eab80628d9de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp311-cp311-win_amd64.whl

Download URL tiktoken-0.8.0-cp311-cp311-win_amd64.whl
Size 884.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
326624128590def898775b722ccc327e90b073714227175ea8febbc920ac0a99
BLAKE2b-256 checksum
How to use checksums
1e86eea2309dc258fb86c7d9b10db536434fc16420feaa3b6113df18b23db7c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL tiktoken-0.8.0-cp311-cp311-musllinux_1_2_x86_64.whl
Size 1.2 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
56edfefe896c8f10aba372ab5706b9e3558e78db39dd497c940b47bf228bc419
BLAKE2b-256 checksum
How to use checksums
f8a3ef984e976822cd6c2227c854f74d2e60cf4cd6fbfca46251199914746f78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tiktoken-0.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.2 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9fb0e352d1dbe15aba082883058b3cce9e48d33101bdaac1eccf66424feb5b47
BLAKE2b-256 checksum
How to use checksums
01c4c4a4360de845217b6aa9709c15773484b50479f36bb50419c443204e5de9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tiktoken-0.8.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.1 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
5637e425ce1fc49cf716d88df3092048359a4b3bbb7da762840426e937ada06d
BLAKE2b-256 checksum
How to use checksums
ac3c2b95391d9bd520a73830469f80a96e3790e6c0a5ac2444f80f20b4b31051
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL tiktoken-0.8.0-cp311-cp311-macosx_11_0_arm64.whl
Size 982.4 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2efaf6199717b4485031b4d6edb94075e4d79177a172f38dd934d911b588d54a
BLAKE2b-256 checksum
How to use checksums
8cf8f0101d98d661b34534769c3818f5af631e59c36ac6d07268fbfc89e539ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp311-cp311-macosx_10_9_x86_64.whl

Download URL tiktoken-0.8.0-cp311-cp311-macosx_10_9_x86_64.whl
Size 1.0 MB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
d622d8011e6d6f239297efa42a2657043aaed06c4f68833550cac9e9bc723ef1
BLAKE2b-256 checksum
How to use checksums
f61eca48e7bfeeccaf76f3a501bd84db1fa28b3c22c9d1a1f41af9fb7579c5f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp310-cp310-win_amd64.whl

Download URL tiktoken-0.8.0-cp310-cp310-win_amd64.whl
Size 884.2 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
d8c2d0e5ba6453a290b86cd65fc51fedf247e1ba170191715b049dac1f628005
BLAKE2b-256 checksum
How to use checksums
dcda8d1cc3089a83f5cf11c2e489332752981435280285231924557350523a59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp310-cp310-musllinux_1_2_x86_64.whl

Download URL tiktoken-0.8.0-cp310-cp310-musllinux_1_2_x86_64.whl
Size 1.2 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
6b2ddbc79a22621ce8b1166afa9f9a888a664a579350dc7c09346a3b5de837d9
BLAKE2b-256 checksum
How to use checksums
57818a5be305cbd39d4e83a794f9e80c7f2c84b524587b7feb27c797b2046d51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tiktoken-0.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.2 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
f13d13c981511331eac0d01a59b5df7c0d4060a8be1e378672822213da51e0a2
BLAKE2b-256 checksum
How to use checksums
2e28cf3633018cbcc6deb7805b700ccd6085c9a5a7f72b38974ee0bffd56d311
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tiktoken-0.8.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.1 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
25e13f37bc4ef2d012731e93e0fef21dc3b7aea5bb9009618de9a4026844e560
BLAKE2b-256 checksum
How to use checksums
e99818ec4a8351a6cf4537e40cd6e19a422c10cce1ef00a2fcb716e0a96af58b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL tiktoken-0.8.0-cp310-cp310-macosx_11_0_arm64.whl
Size 982.4 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9269348cb650726f44dd3bbb3f9110ac19a8dcc8f54949ad3ef652ca22a38e21
BLAKE2b-256 checksum
How to use checksums
910513dab8fd7460391c387b3e69e14bf1e51ff71fe0a202cd2933cc3ea93fb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp310-cp310-macosx_10_9_x86_64.whl

Download URL tiktoken-0.8.0-cp310-cp310-macosx_10_9_x86_64.whl
Size 1.0 MB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
b07e33283463089c81ef1467180e3e00ab00d46c2c4bbcef0acab5f771d6695e
BLAKE2b-256 checksum
How to use checksums
c9baa35fad753bbca8ba0cc1b0f3402a70256a110ced7ac332cf84ba89fc87ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp39-cp39-win_amd64.whl

Download URL tiktoken-0.8.0-cp39-cp39-win_amd64.whl
Size 884.8 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
1473cfe584252dc3fa62adceb5b1c763c1874e04511b197da4e6de51d6ce5a02
BLAKE2b-256 checksum
How to use checksums
d53b7c8812952ca55e1bab08afc1dda3c5991804c71b550b9402e82a082ab795
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp39-cp39-musllinux_1_2_x86_64.whl

Download URL tiktoken-0.8.0-cp39-cp39-musllinux_1_2_x86_64.whl
Size 1.2 MB
Tags CPython 3.9 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
845287b9798e476b4d762c3ebda5102be87ca26e5d2c9854002825d60cdb815d
BLAKE2b-256 checksum
How to use checksums
3e6b3ae00f0bff5d0b6925bf6370cf0ff606f56daed76210c2b0a156017b78dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tiktoken-0.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.2 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b591fb2b30d6a72121a80be24ec7a0e9eb51c5500ddc7e4c2496516dd5e3816b
BLAKE2b-256 checksum
How to use checksums
c2e16c7a772e0200131e960e3381f1d7b26406bc5612c70677989c1498af2a60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tiktoken-0.8.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.1 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
6adc8323016d7758d6de7313527f755b0fc6c72985b7d9291be5d96d73ecd1e1
BLAKE2b-256 checksum
How to use checksums
f7011483856d84827c5fe541cb160f07914c6b063b8d961146e9c3557c4730c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp39-cp39-macosx_11_0_arm64.whl

Download URL tiktoken-0.8.0-cp39-cp39-macosx_11_0_arm64.whl
Size 983.8 kB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
886f80bd339578bbdba6ed6d0567a0d5c6cfe198d9e587ba6c447654c65b8edc
BLAKE2b-256 checksum
How to use checksums
427a914bd98100449422778f9222d00b3a4ee654211c40784e57541fa46311ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / tiktoken-0.8.0-cp39-cp39-macosx_10_9_x86_64.whl

Download URL tiktoken-0.8.0-cp39-cp39-macosx_10_9_x86_64.whl
Size 1.0 MB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
7e17807445f0cf1f25771c9d86496bd8b5c376f7419912519699f3cc4dc5c12e
BLAKE2b-256 checksum
How to use checksums
08f38a8ba9329e6b426d822c974d58fc6477f3f7b3b8deef651813d275cbe75f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page