Better HN
topnewbestaskshowjobs
Log inSign up

dex0shubham

2 karma · joined Sep 29, 2026 (1mo ago) · 10 submissions

Building pith, an open-source output-token control plane for LLM APIs. github.com/dex0shubham/pith
Submissions

1.

Show HN: Pith – a proxy that cuts LLM output tokens, and refuses when it can't(github.com ↗)

1 points · by dex0shubham · 1mo ago · discuss

comment 1mo ago · link · parent

Really Cool, the on-device shifts the economics a bit. Usually output tokens are longer and 5x more expensive than input tokens, but here it's more about speed. so shouldn't we count the tokens an agent needs for completing a task rather than tokens per call ?

comment 1mo ago · link · parent

Does Pensieve reduce token usage by giving more relevant context to the agents, instead of agents searching and looking through lot of files ?

comment 1mo ago · link · parent

Thanks for the detailed explanation, I will try with apsw.ext.query_info. In my case I was building column-keyed dicts from results but as the result was an empty set, there was nothing to key on. Appreciate the pointer to the execution tracer too.

comment 1mo ago · link · parent

This is a really interesting project, I wanted to try this myself but at times the agent produces code that looks right but it isn't. Is there a way to automate the the process of finding these kind of mistakes ?

comment 1mo ago · link · parent

I was experimenting with APSW and I noticed that when a query doesn't return any row, it becomes difficult to get column names from the cursor, is there any recommended way to do this ?