Reduce your AI prompt costs by 25%+ before you hit send.
TOTman is a free, open-source, client-side tool that helps you optimize prompts before sending them to any AI model. It works with ChatGPT, Claude, Gemini, Grok, Mistral, Llama, DeepSeek, Cohere, Amazon Nova, DALL·E, Sora, Midjourney, Whisper, ElevenLabs, Copilot, Cursor, and 50+ models.
🔒 100% Private — Everything runs in your browser. No data is sent anywhere. No API keys needed.
🌐 Live: https://www.totman.online
Instant token estimates across all major AI model families as you type.
100+ optimization rules across 6 categories, targeting 25%+ token reduction:
- Verbose Phrase Replacement — "in order to" → "to", "due to the fact that" → "because"
- Filler Word Removal — strips "basically", "essentially", "just", "really", etc.
- Prompt Pattern Optimization — concise labels instead of wordy setups
- Structural Cleanup — excess whitespace, duplicates, repeated punctuation
- Smart Suggestions — context-aware tips (reduce examples, structured format, etc.)
- Redundancy Detection — finds duplicate sentences and repeated context
See exactly what your prompt costs on every major AI model, ranked cheapest to most expensive.
Covers every type of AI: Text, Code, Image Gen, Video Gen, Audio/Speech, Agentic AI, Productivity Tools, and Cross-Model Cost Strategies.
50+ models from 18 providers — including image (DALL·E 3, Midjourney, Stable Diffusion, FLUX), video (Sora 2, Veo 2, Runway), audio (Whisper, TTS, ElevenLabs), and productivity (Copilot, Cursor, Gemini Code Assist).
Visit https://www.totman.online — no install needed.
git clone https://github.com/PuneetKhamborkar/totman.git
cd totman
open index.htmlFork this repo → Go to Settings → Pages → Deploy from main branch. Done.
| Layer | Tech |
|---|---|
| Frontend | Vanilla HTML, CSS, JavaScript |
| Build Tools | None (zero dependencies!) |
| Hosting | GitHub Pages (free) |
| Privacy | 100% client-side processing |
We welcome contributions! Here's how:
- Edit
js/models.js - Update
inputPrice/outputPrice(per 1M tokens) - Submit a PR
Add a new entry to AI_MODELS in js/models.js.
Add patterns to js/optimizer.js — verbose phrases, filler words, or prompt patterns.
Open an issue with a sample prompt.
MIT License — see LICENSE
Built with ❤️ for the AI community. Stop wasting tokens.