Curtly
Technical Benchmark

Curtly vs traditional compression architectures

Compare latency, token savings efficiency, and syntax reliability against LLMLingua, secondary LLM summarizers, and manual prompt engineering.

Latency vs LLMLingua
25x Faster

< 15ms total proxy overhead vs 300ms+ local inference.

Compute Overhead
0 GPU

Zero dedicated GPU requirements or infrastructure management.

Output Governance
Built-in

Dual-stage architecture covers 5x output generation prices.

The production engineering challenge

Existing compression approaches like LLMLingua require running secondary local neural models with 150-500ms latency overhead, while basic string cleaners destroy code syntax and lack output generation governance.

Technical architecture & mechanics

1

Zero GPU/LLM dependency for compression

Executes via optimized in-memory Rust and TypeScript token engines, avoiding the high compute costs and latency of secondary models.

2

Integrated dual-stage pipeline

Addresses both input token context and output generation rates in a single unified proxy gateway.

3

Edge streaming proxy infrastructure

Deployed globally on sub-15ms edge runtimes with zero cold start delays.

Compare Gateway Response Headers

curl https://proxy.curtly.dev/v1/chat/completions \ -H "Authorization: Bearer $OPENAI_API_KEY" \ -H "x-curtly-key: $CURTLY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-6-astra", "messages": [{"role": "user", "content": "Analyze system logs..."}] }' -i # Inspect Curtly Telemetry Headers: # x-curtly-input-savings: 58.4% # x-curtly-output-savings: 35.0% # x-curtly-latency-ms: 8.2ms

Architecture comparison

Evaluation metricCurtly.dev gatewayTraditional / naive approach
Architecture ModelIn-memory deterministic edge proxyHeavy secondary neural model (LLMLingua)
Proxy Latency< 15ms end-to-end150ms - 500ms processing delay
Output Token GovernanceYes (Dual-stage 30-50% reduction)No (Input only)
Zero Code ChangesYes (1-line baseURL proxy swap)No (Requires custom SDK wrapper & Python environment)

Frequently asked questions

LLMLingua requires deploying and maintaining a dedicated small language model on GPUs, introducing 200-500ms latency per request and providing zero protection for output token pricing.

Ready to optimize your AI infrastructure?

Start optimizing in 60 seconds with a 1-line baseURL change. Free tier available with zero credit card required.