https://www.cartesia.ai/blog/from-tokens-to-bytes-part-1