less-tokens

Cut LLM prompt token costs by 30-40% with deterministic, training-free lexical compression for OpenAI, Anthropic, Gemini and any LLM API. Zone-aware compression protects JSON schemas and output formats; PDFs and Word files reduce to Markdown. Includes a 6-metric quality evaluator. The optional agent extra adds a local-first chat app: a local Ollama model answers what it can, a router escalates the rest to the cheapest frontier model, with automatic RAG, rolling chat summaries and a token ledger in SQLite.

less-tokens has been downloaded 11,702 times in total on PyPI, including 1,113 in the last 30 days. The latest version is 0.8.2, released Oct 26, 2026. It is distributed under the MIT license.

Version0.8.2
Downloads
11.70k
LicenseMIT
AuthorShamin Chokshi
UpdatedOct 26, 2026

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal0.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included2 / 18 series
Selected total5.48k
11.7kAll-time
1.1kLast 30 days
9Last 24 h
<0.01/sPer second

Version distribution

Share of downloads by released version. Computed over the last quarter.

  • 01

    0.8.2

    610 downloads
    22.3%
  • 02

    0.8.1

    500 downloads
    18.2%
  • 03

    0.7.1

    285 downloads
    10.4%
  • 04

    0.7.0

    145 downloads
    5.3%
  • 05

    0.6.7

    113 downloads
    4.1%
  • 06

    0.6.6

    98 downloads
    3.6%
  • 07

    0.6.2

    95 downloads
    3.5%
  • 08

    0.6.1

    92 downloads
    3.4%
  • 09

    Other

    802 downloads
    29.3%

Guess the next day

Thirteen recent days of less-tokens downloads. Drag the green handle on the right to guess where day fourteen lands.

TRUTH975TUEWEDTHUFRISATSUNMONTUEWEDTHUFRISATSUN
    less-tokens · 11.7k downloads on PyPI