This page runs the same optimization engine as the prototype, live in your browser. Pick a workload, switch the levers on and off, and inspect exactly what was sent to the model before and after.
Your app keeps its code and its provider key. Requests go through Sieve, which sends a leaner version to the same provider.
# Python (OpenAI SDK). Works the same in JS, Go, curl. client = OpenAI( base_url="https://api.openai.com/v1" base_url="https://gw.sieve.ai/v1" ) client.chat.completions.create( model="frontier-large", messages=history, tools=tools, extra_headers={"X-Sieve-Route": "coding-agent/step"} )
What happens on every call
Cumulative cost
Tokens removed, by lever
Inspect request
What your app sent
What Sieve sent
Orange rows hold changing values (timestamps, ids) that break the provider cache. Green rows were changed by Sieve.
Result
Optimized request
Why the "cache-friendly" switch matters
Providers already discount repeated prompt text. If an app puts a timestamp at the top of its prompt, it loses that discount on every call, and Sieve wins most of the money back. If the app is already well built, Sieve still saves by shrinking long agent histories, but much less. Tick the switch to see both cases.
What this demo does not show
Prices are illustrative ($3 / $15 per million input / output tokens for the large model, $0.80 / $4 for the small one, cached input at 10%; owned hardware at an assumed $0.02 / $0.06 for power). For stuck agents, the calls a stopped run would have made are simulated, so that saving is shown but kept out of verified savings. Workloads are generated, not real traffic. Answer quality is checked by Sieve's quality guard against real models, which this page cannot call.