Skip to content

Open source

Open-source software

Free tools we build and maintain in public. They are side projects, separate from our AI security services.

Open-source AI cost optimization toolWindows · macOS · Linux

tokensaver

See what your AI prompts cost, and exactly what to cut.

tokensaver counts the tokens in a prompt across 20 OpenAI, Anthropic and Google models, compares their costs, and suggests concrete edits that make it cheaper. Each edit comes with the tokens and dollars it saves. It runs fully offline, so prompts never leave your machine.

Free and offline: see what your prompts cost before you change them. Cost and rate limits are part of every AI Security Assessment.AI Security Assessment

AI cost features

  • Exact token counts for OpenAI models; clearly labelled estimates for Claude and Gemini
  • Side-by-side cost comparison across 20 models, cheapest first
  • Every suggestion priced in tokens and dollars, measured on your chosen model
  • Works with prompts in any language: tested on 55, including Arabic, Persian, Hindi, Chinese and Japanese

Key features

  • Six rules: JSON minification, whitespace cleanup, duplicates, repeated instructions, filler phrases and long examples
  • Safe fixes applied automatically; anything that could change meaning waits for review
  • Before/after diff; the original file is never overwritten
  • Fully offline: no API key, no account, nothing sent anywhere
  • Free and open source (MIT); 216 automated tests on Windows, macOS and Linux
  • Install with pip install prompt-tokensaver

Live · free and open source · v0.1.4