Comment Comment by sva_ import tiktoken enc = tiktoken.encoding_for_model('o1-mini') len(enc.encode('some string')) parent sva_ 1 year ago