⚡ CuToken CLI
Fast, intelligent prompt token optimizer for your terminal. Cut AI prompt tokens by up to 50% before sending to ChatGPT, Claude, or Gemini.
🚀 Quick Install
pip install cutoken
⚡ Quick Start
1. Authenticate Once
Get your API key at pro.cutoken.in:
cutoken login
2. Interactive Mode (Like Claude Code)
Just type cutoken in your terminal:
cutoken
─────────────────────────────────────────────────────────────
⚡ CuToken CLI v1.0.0 Your Name │ 450.00 Credits
─────────────────────────────────────────────────────────────
Type or paste your prompt (multi-paragraph supported).
Commands: /mode <s|b|a>, /paste, /balance, /exit
cutoken (balanced) > Can you please rewrite this whole email to sound more professional?
✔ Optimized in 420ms
─────────────────────────────────────────────────────────────
Original: 34 tok Optimized: 16 tok Saved: -18 (52.9%) Left: 449.0
─────────────────────────────────────────────────────────────
Rewrite this email professionally for executives.
─────────────────────────────────────────────────────────────
📋 Copied to clipboard!
🛠️ Commands & Features
One-Shot Optimization
cutoken "Your long prompt text goes here"
Optimize Multi-Paragraph Files
cutoken -f system_prompt.txt
Unix Piping (Use in Scripts & Agents)
cat prompt.txt | cutoken -q | llm
Change Intensity Mode
CuToken supports 3 optimization levels:
safe: Gentle token cleanup, preserves exact phrasing.balanced(Default): Optimal balance between compression and quality.aggressive: Maximum token reduction for lowest latency and cost.
Permanently set your default mode:
cutoken mode aggressive # or shortcut: cutoken mode a
cutoken mode balanced # or shortcut: cutoken mode b
cutoken mode safe # or shortcut: cutoken mode s
Or pass for a single run:
cutoken "Your prompt" -m aggressive
Check Credit Balance
cutoken balance
View Configuration
cutoken config
📋 Features
- 🚀 Blazing Fast: Starts in milliseconds with lightweight dependency footprint.
- 📋 Automatic Clipboard: Result is instantly copied to your clipboard.
- 📑 Multi-Paragraph Support: Paste long multi-paragraph documents without broken line breaks.
- 🔄 Unified Billing: Shares the exact same Pro credit balance with your web dashboard and extensions.
- 🔒 Secure: API Key is stored locally in
~/.cutoken/config.json.
🌐 Links
- Website: cutoken.in
- Pro Dashboard: pro.cutoken.in
- Chrome Extension: Available on the Chrome Web Store
📄 License
MIT License © 2026 CuToken
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cutoken-1.0.0.tar.gz
(13.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cutoken-1.0.0-py3-none-any.whl
(13.1 kB
view details)
File details
Details for the file cutoken-1.0.0.tar.gz.
File metadata
- Download URL: cutoken-1.0.0.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14dcb83473c6f2763ddf6e17dfaabe01d42c18d1a0925840880c5b1c7b77cdb3
|
|
| MD5 |
63afb0a7c6d23e0b479f0ef7305a796c
|
|
| BLAKE2b-256 |
b359c2e61d190229cf4b3c61b04949bcf234d9b0b1a5ac1f1d1eec0d9a3b29ed
|
File details
Details for the file cutoken-1.0.0-py3-none-any.whl.
File metadata
- Download URL: cutoken-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7abe08087867a556a0270d7784e4ddfa999bee6bdc7881cb1803026e2b38b712
|
|
| MD5 |
92b2c7162980a71d3e0fc152cae6a323
|
|
| BLAKE2b-256 |
85b898b3699c06d57ea4ff9f7be09a7b573ae1aa628692754eb9f8e6ceaeb8f5
|