彼方 (@bifangKNT)关于oai的tokens估算 中发帖

[image] 
oai给出了一个估算公式,看来oai的分词器平均每token占用4字节
来源:GPT-5.1-Codex-Max Prompting Guide