Paritok-official / paritok-4b-v1
Non-destructive compression gateway for AI coding agents. Cuts token bills 25% on turn 1 to past 85% in long or saturated sessions, and fits ~3× more turns in the same context window. Powered by our open-source code-native 4B model. Drop-in for Claude Code, Cursor, Codex, OpenHands, and any BASE_URL agent.
Why this job: topics: ai-coding, agentic-coding, coding agents, ai coding

What it does
- Code-native. Trained on real coding-agent trajectories (file_read, bash_command, log_output, …). It knows what an import statement is worth vs a debug line, so it protects function names, paths, and error strings while compressing.
- Extractive. audited, not asserted. It selects spans instead of rewriting them: 96.2% of the identifiers, paths, and numbers it emits on held-out SWE-bench Lite are copied straight from the input, so an exact-match edit against compressed c
- Compresses each segment to 25.7% of original. 2× harder than gpt-4.1-mini (50.2% CR) and 2.4× harder than gpt-5 (61.9% CR).
- Retains 86.5% of full-context solve quality on SWE-bench Lite (89.3% fed the line-numbered input it was trained for, where the paired difference against uncompressed is not significant, p = 0.079) — matching gpt-4.1-mini as compressor at le
- Small & self-hostable. 4B LoRA adapter, bf16, runs on a single 24GB GPU. No SaaS, no lock-in, no per-token compressor fee.
Get started
pip install "paritok[proxy]"
# or, from a clone of this repo:
pip install -e ".[proxy]"- Maintenance
- Active
- Last commit 3 days ago
- Stars
- 1,444
- +3 this week
- Licence
- Apache-2.0
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- None yet
- No releases
- Built with
- Python
- 98% of the code
Is it looked after?
- Contributors
- 8
- Last 90 days
- Issues
- 87% closed
- 5 still open
- Pull requests
- 14 merged
- 3 waiting
- Releases
- None
- Never published
- No contributing guide
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| rtk-ai / rtk | 85,958 | yesterday | Apache-2.0 | Mac, Windows, Linux |
More: languages, topics and project record
Languages
- Python 98%
- JavaScript 1%
- HTML 1%
- Shell <1%
Topics
- agentic-coding
- ai
- ai-agents
- ai-coding
- ai-infrastructure
- developer-tools
- llm-gateway
- llms
- token-optimization
Project record
- JobCoding agents
- StatusListed
- Commits159
- Forks138
- Watching128
- Stars in 28 days+14
- CreatedJul 15, 2026
- First seen by usNov 7, 2026
- CheckedNov 7, 2026
