Run agent evals and private benchmarks in sandboxed cloud environments — compare Claude Code, Codex, Cursor and Copilot on the same real tasks.
Summary
An open-source proxy that sits between your coding agent and the model, compressing tool schemas, file reads and stale history to cut token bills.
Screenshots
Description
Paritok is a compression gateway for AI coding agents. You point the agent at a local proxy instead of the model provider — export ANTHROPIC_BASE_URL=http://127.0.0.1:8080 — and every request is rewritten on the way upstream so the provider bills for far fewer input tokens. Responses come back untouched, and the agent needs no modification.
The three levers it pulls
- Tool-schema filtering. The largest single-turn win. With 46 tools registered, Paritok keeps the schemas plausibly relevant to the current turn in full and stubs the rest, reducing roughly 29K tokens of tool definitions to about 8K.
- Content compression. File reads and tool output pass through a purpose-trained 4B model that keeps function signatures, imports and error strings while discarding filler, landing at about 26% of the original size.
- History summarisation. Once the context budget fills, turns beyond a configurable recent window are summarised; recent turns stay verbatim.
Nothing is actually thrown away. Compression is "lossy on the wire, recoverable when it counts" — a read_original() call returns the exact bytes from local storage when the agent needs them.
The model behind it
Paritok-4B-v1 is a LoRA adapter over Qwen3-4B-Instruct-2507, trained on 45,000 real coding-agent trajectories so it can tell a function signature from a debug line. It needs roughly 2.5 GB at Q4 quantisation and runs on an 8 GB GPU, or CPU-only if you use tool filtering alone.
Reported results
On SWE-bench Lite the vendor reports 86.5% of uncompressed solve quality retained at a 25.7% compression rate, compared with 50.2% compression for GPT-4.1-mini prompt compression. Savings compound over a session — roughly 39% at five turns and 63% at twenty, per the project's own figures. These are the authors' benchmarks, not independent ones.
Compatibility and licensing
Works with Claude Code, Cursor, Codex, OpenHands and any OpenAI-compatible upstream. The gateway, the 4B model and the training scripts are all Apache-2.0; self-hosting is free and telemetry-free. A managed GPU endpoint is offered at $0.30 per million tokens for teams that would rather not run the model. Distributed via PyPI (pip install "paritok[proxy]"), Ollama and Hugging Face; current release is v1.3.0.
Reviews
Similar App Suggestions
A GPU-accelerated code editor written in Rust, with collaborative editing and coding agents built into the core.
Microsoft's open-source optimizer that trains an agent's SKILL.md like a model parameter — epochs, learning-rate budgets and a held-out validation gate, with frozen weights.
Meta's terminal coding agent for long-horizon work in large repositories, running the Muse Spark 1.2 model with parallel subagents and a replayable event log.
Alibaba's agentic coding platform — a desktop IDE where a lead agent dispatches specialist sub-agents, backed by an auto-generated wiki of your repository.