Case Study: Reducing AI Cost Through Better Context

A fixed Unlimited Tools benchmark reduced standing tool-schema payload by 98.6%, measured in bytes rather than estimated tokens.

Noisy information fragments passing through precision filters into a compact AI context capsule

Reducing AI cost through better context can be measured before anyone estimates token or dollar savings. Unlimited Skills published an owned byte-level case for its Unlimited Tools gateway. In a fixed 40-tool fixture, the full upstream tools/list payload measured 90,420 bytes. The tools/list returned by the gateway measured 1,268 bytes. That is a 98.6% reduction in standing schema bytes.

The measurement answers one narrow question: how much JSON schema payload must the host place in standing context when it receives all upstream schemas versus three gateway meta-tools. It does not price tokens, model calls, engineering work, or business outcomes.

What was measured and held constant

The benchmark used 40 fake upstream tools with realistic input schemas. The full path serialized every tool name, description, and complete input schema. The gateway path exposed only 3 meta-tools: tools_search, tools_schema, and tools_call. Both payloads were measured as bytes of JSON.

The arithmetic is direct. Dividing the 1,268-byte gateway payload by the 90,420-byte full dump leaves roughly 1.4% of the original standing payload. Expressed as removed bytes, the measured reduction is 98.6%. No tokenizer assumption is needed for that result.

The same boundary principle appears in the medical data security case study: measure the surface you control and do not broaden the claim. Here, the controlled surface is serialized tool-schema payload in the fixture.

Why better context means delayed schema delivery

The gateway does not delete tool capability. It changes when detail enters context. tools_search returns matching names and descriptions without input schemas. tools_schema returns one selected schema. tools_call relays one chosen upstream call. The standing list stays small while specific detail arrives on demand.

That architecture replaces preload-all with retrieve-then-expand. A smaller standing payload can leave more room for the task, source material, and reasoning. However, the public benchmark measured bytes, not the model-specific token count of those bytes.

Context quality still needs safeguards. Search must expose enough candidate names, schema retrieval must return the exact selected tool, and calls must preserve security and timeout controls. The font licence risk audit is a useful reminder that removing apparent clutter cannot remove a condition that controls the decision.

How to use the 98.6% result responsibly

Treat 98.6% as a fixture-backed reduction in standing JSON bytes. Reproduce it by serializing the same two surfaces and recording their lengths. If upstream descriptions, schemas, gateway metadata, or tool count changes, rerun the measurement instead of carrying the percentage forward.

Do not convert the result into token savings without applying the target model tokenizer to the retained payloads. Do not convert it into dollars without model pricing and actual request behavior. Do not infer latency or task quality from payload size alone.

The deferred detail is still real context when requested. A complete accounting should separate standing bytes, search-response bytes, selected-schema bytes, and repeated retrieval across a session. The published 98.6% figure belongs only to the first of those categories.

Version the fixture and serialization method alongside the result. Whitespace, schema shape, descriptions, and JSON encoding can move the byte count without changing capability. Reproducibility depends on retaining the exact generation path, not only the two totals.

The agency task automation case study shows why context matters inside a workflow, but it supplies no measurement for this gateway. The Unlimited Tools evidence remains a public, owned infrastructure benchmark with a clearly bounded denominator.

A useful context-cost case therefore publishes the fixture, both byte totals, the calculation, and the exclusions. That makes the result reproducible without turning a storage measurement into a financial promise.

Frequently Asked Questions

What did the Unlimited Tools benchmark measure?

It serialized tool-list JSON and compared the full upstream schema dump with the gateway list of three meta-tools.

How was the 98.6% reduction calculated?

The fixed fixture compared 90,420 bytes for the full dump with 1,268 bytes for standing tools/list returned by the gateway.

Does a byte reduction equal token savings?

No. Token savings require the target tokenizer and retained payloads, while the published result reports bytes only.

Can the benchmark support a dollar-saving claim?

No. A financial result needs model pricing and observed request behavior in addition to the byte measurement.

For teams choosing between preloaded tool schemas and retrieval on demand, AI4SALE AI integration can define the context budget and acceptance tests. Any token, dollar, latency, or quality claim still requires its own run.

Get in touch

Book a free consultation


    Protected by reCAPTCHA. The Google Privacy Policy and Terms of Service apply.