compache

What does your chat cost?

Set the workload, pick what you do today, see what a fitted policy changes.

Calculating…
Start from

Compache saves, against —

—

Cost per 1,000 turns

click one to compare with it

01 What a turn adds
More
02 What later turns need

03 How long threads run
More
04 How long users are away
More
Your app today
Clearing and summary rules
Prices and settings

Prices

Pricing source

Cache

Request

Sampling

Compache

The policy

What stays, and what later turns need

Every candidate the fit priced

As a table
QuestionsAnswersRetrievedPingsCacheIn viewCost

One conversation under it

sentwhole historycache expiredtrimmedping kept it warmfetched back

Why

Pings after this turn

Per 1,000 turns

Compache

Tokens per turn

Compache

Mean request size among the threads that reach each turn.

Input tokens of answers

Compache
Assumptions
  • Token counts and list prices. No model is called, and answer quality is not measured.
  • The policy has the package's form: how many turns of questions, answers and retrieved text stay, and how many pings. Before each request and after each answer it looks three turns ahead, as the package does. The cheapest candidate on one set of threads wins. Costs come from a second set.
  • A needed part that Compache archived costs one extra call. A comparison that drops text for good does not pay for it and does not have it: that is the “missing” column. Text that is in a summary counts as missing.
  • Comparisons follow documented defaults, read on the date in each tooltip, and are not run. OpenAI's own compaction has no documented default and is not modeled.
  • A cache entry needs an identical start of the request and lives exactly its lifetime from when the request was sent.
  • The range beside the saving draws the sampled threads again. It does not cover what the model leaves out.

Full method