Claude Code usage
Cjk Token Reducer
Reduce Claude Code token usage by 35-50% when using CJK (Chinese, Japanese, and Korean)
Install
cargo install --git https://github.com/jserv/cjk-token-reducerFound in the project README. Check it for setup steps after installing.
git clone https://github.com/jserv/cjk-token-reducer.gitFrom the README
cjk-token-reducer
Reduce Claude Code token usage by 35-50% when using CJK languages.
The Problem
CJK (Chinese, Japanese, Korean) languages consume 2-4x more tokens than English for the same semantic content.
This discrepancy leads to higher costs, faster context exhaustion, and reduced context windows for RAG/agent workflows.
*Token ratios based on BPE tokenizer analysis. Actual savings depend on text complexity and technical term density.*
Why Does This Happen?
The inefficiency stems from the mechanics of Byte-Pair Encoding (BPE) and training data distribution:
1. Vocabulary Bias: Modern tokenizers train primarily on English corpora.
Common English words merge into single tokens.
CJK characters, occurring less frequently in training data,
often fail to merge into "words" and split into individual character tokens or raw bytes.
2. UTF-8 Byte Fallback: A common cause of token expansion.
- Many LLM tokenizers process text as UTF-8 bytes.
- An English character is 1 byte.
- A CJK character is typically 3 bytes in UTF-8.
- If a CJK character is absent from the tokenizer's vocabulary,
byte-level tokenizers may expand it into multiple tokens.
The exact expansion depends on the tokenizer's merge rules.
3. Lack of Delimiters: English uses spaces as natural word boundaries,
aiding the tokenizer in identifying mergeable units.
CJK languages lack these delimiters,
forcing the tokenizer to rely purely on statistical frequency, which is lower for CJK sequences.
The consequence: API billing and model context limits measure tokens, not meaning.
Writing in CJK incurs a "tax" on both cost and memory.
The Solution
CJK Token Reducer translates your CJK input to English before sending it to Claude.
English is the "native language" of LLM…Details
- Repository
- jserv/cjk-token-reducer
- Language
- Rust
- License
- MIT
- Last updated
- 2 November 2026
- Topics
- cjk-tokenizerclaude-codellm-inference
FAQ
What is Cjk Token Reducer?
Reduce Claude Code token usage by 35-50% when using CJK (Chinese, Japanese, and Korean) It is a usage for Claude Code, from jserv/cjk-token-reducer on GitHub.
How do I install Cjk Token Reducer?
Run cargo install --git https://github.com/jserv/cjk-token-reducer, then follow the setup in the README.
Is Cjk Token Reducer popular?
jserv/cjk-token-reducer has 56 GitHub stars and 12 forks. It was last updated on 2 November 2026.
More usage & cost trackers
Aeroric
62Aho1ic/Aeroric
A desktop task manager for AI coding agents like Claude Code and Codex, with multi-project workspaces, live terminals, session tracking, permission-aware execution, Git integration, and usage analytics.
CC Usage Elink
64fuergaosi233/cc-usage-elink
Claude Code usage dashboard on a BLE tri-color e-ink display (蓝签 EDP-42000DDF)
Claudebar
63mryll/claudebar
Claude Code usage limits for Waybar and the Omarchy shell. Session, weekly, per-model, and extra-usage costs. Bash, AUR.
Agent Cat Releases
58yong076/agent-cat-releases
Agent Cat downloads — a free macOS menu bar and Windows tray app that shows Claude Code, Codex and Gemini CLI usage, remaining limits and reset times.
CC Copilot Bridge
63FlorianBruniaux/cc-copilot-bridge
V1 (Bash). Multi-provider routing for Claude Code CLI: your Copilot subscription, Ollama offline, or Anthropic Direct. V2 coming soon.
Costats
55fmdz387/costats
A lightweight Windows tray app that shows live status for AI coding providers like Codex and Claude Code, plus token usage and spend.
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.