A free online token counter to optimize GPT-4 cost and speed
Show HN: A free online token counter to optimize GPT-4 cost and speed
Operating in show hn launch, A free online token counter to optimize GPT-4 cost and speed operates.
Profile
Implements the GPT-4 & GPT-3.5 tokenizer in Wasm. OpenAI has one online for GPT-3, but that uses a different token set. I kept using tiktoken in a REPL but this is more ergonomic. Helps optimize cost & response latency (which is ~linear w/ output token count). Also added some of the more counter-intuitive / interesting findings at the bottom!
A free online token counter to optimize GPT-4 cost and speed is positioned in show hn launch, a segment that rewards a clear, focused offering.
It is recorded at the Show HN launch stage.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: getluminal.com/tokenizer
Browse related
Full contact details are available to registered Pixilab members.
Create a free account
Create a free account