Skip to content

Repository files navigation

every-other-token

English | 简体中文 | 日本語 | 한국어

crates.io docs.rs CI

See how sure an LLM is about each word.

One binary, 1,165 tests.

  • Shows each token's confidence live
  • Rewrites every other token as it writes
  • Runs OpenAI, Anthropic, Gemini, Ollama
  • Tries offline with no API key

Install

cargo install --locked every-other-token

Use

$ every-other-token "Why is the sky blue?" --provider mock
The kciuq brown xof jumps revo the yzal dog. This si a kcom response rof prompt: Why si the yks blue?
24 tokens streamed, 12 transformed

Try it in the browser · Windows .exe · crates.io · docs.rs

More: docs/DETAILS.md

License: MIT