Developer config
Claude Code · Cursor · Aider
Swap the provider host for the proxy and keep your existing API key. No SDK, no agent-side code — the tool reads the same contract.
In Claude Code, Cursor, or Aider, replace the provider host with the proxy and keep your existing key. Promptflint compresses bulky context before the request hits Anthropic or OpenAI — streamed responses pass through unmodified, latency does not change, the bill does.
The setup
Two env vars. Nothing else.
The same OpenAI / Anthropic shape — no SDK swap, no agent-side code, no schema edits.
The diagram
Three hops, no forks. The proxy sits between your editor and the provider, compresses on the way in, forwards on the way out. Your tooling never notices.
Claude Code · Cursor · Aider
Swap the provider host for the proxy and keep your existing API key. No SDK, no agent-side code — the tool reads the same contract.
api.promptflint.dev
Each request is scored and compressed at the edge — prose pruned, tool definitions fingerprinted, JSON / code / IDs bypass byte-exact.
transparent passthrough
The compressed request reaches the model. The streamed response flows back untouched — latency stays the same, the bill does not.
The contract
Hit the proxy the same way you would hit Anthropic or OpenAI directly. The host is the only thing that changes — and your provider key still rides in the request.
curl https://api.promptflint.dev/v1/messages \
-H "Authorization: Bearer $PROMPTFLINT_KEY" \
-H "content-type: application/json" \
-d '{"model":"claude-sonnet-4-5","messages":[{"role":"user","content":"hi"}]}'Tied to the dashboard
Three primitives that the proxy exposes to the operator UI: what gets compressed, what gets reused, and when to route direct to upstream if a model misbehaves.
Bulky prose, tool descriptions, and prior turns collapse into a dense, semantic representation — the model keeps the signal, the prompt shrinks.
Compressed artifacts are fingerprinted and held at the edge — a 10,000-token tool definition rendered once serves every subsequent turn in microseconds.
Hit the kill switch and traffic falls back to upstream Anthropic or OpenAI. Used by anomaly teams when an agent starts misbehaving.
Plug it in
No SDK. No agent-side code. Your provider key keeps working against the same Anthropic or OpenAI contract — only now the compression stack is between you and the model.
Inbox
Talk to a human
Questions about fit, rollout, procurement, or a conservative start? Drop a note and we'll route the conversation.
promptflint@polsia.app