Keep a way back.
Preserve originals for recovery. Keep the current model when another route fails the requirements.
For agents in your apps and workflows
Every repeated prompt, oversized model, and retry adds to your bill. Caveman brings caching, compression, and routing together to help your agents cost less to run.
Platform and Router are in private development. Explore the approach below.
Reuse repeated context
CacheSend less to the model
CompressChoose a suitable model
RouteYour allowed models
↗Quality checks before wider rollout.Hosted · in development
01 / The problem
One user request can trigger many model calls. The bill includes everything the agent reads, writes, repeats, and retries before it delivers an answer.
The same instructions and background information get sent again.
Simple tasks use the same large model as the difficult ones.
Retries and tool loops add cost without adding a useful result.
02 / How Caveman helps
There is no single trick. Reuse what repeats, shrink what travels, choose a suitable model, and fix steps that waste money.
Hosted · in development
Your app sends the same instructions and background information across many calls.
Caveman’s hosted optimization layer is designed to reuse eligible prompt content through provider caching, and account for cache state before changing models.
Repeated input can use the provider’s lower cached-input price.
Cache writes, misses, and rebuilding all cost money. The full cost matters, not the hit rate alone.
Explore the Platform03 / The impact
Count everything spent on a batch, then divide by the tasks it solved. A lower bill can still mean worse value if too many tasks fail.
Original setup
$0.133per successful taskProposed change
$0.100per successful task25% lower cost per successful task. The same 90 tasks succeeded.
Example numbers, not measured Caveman performance. Totals include every attempt and retry; changing this control only changes the assumed success count.
The local engine has a published input-token benchmark. The hosted Platform and Router remain in private development. There is no universal production-savings percentage to promise. Your own workload, quality tests, and provider costs decide the result.
Explore the evaluation work04 / What reliable means
Fewer tokens only help when the task gets done. Keep the original details, test the result, and compare the complete cost.
Preserve originals for recovery. Keep the current model when another route fails the requirements.
Compare the same tasks before and after a change. Check correctness and response time alongside cost.
Include prompt overhead, cache charges, recovery calls, and retries. A smaller token count is not a guaranteed bill reduction.
Bring your workflow and your quality bar. Explore where Caveman could lower your costs.
Hosted optimization: in development. Agent SDK: public source available.