import tiktoken len(tiktoken.encoding_for_model("gpt-4").encode(contents))
Reply on news.ycombinator.com