Better HN
topnewbestaskshowjobs
Log inSign up

ruihanli

1 karma · joined May 25, 2024 (2y ago) · 6 submissions

Submissions

comment 5mo ago · link · parent

I built it by myself. If you want, I can share the code with you.

2.

Show HN: Cost-Xray – per-token cost attribution, by tool, skill, prompt and more(github.com ↗)

2 points · by ruihanli · 5mo ago · discuss

comment 5mo ago · link · parent

I know two approaches. One is free-form rendering, like Anthropic's Artifacts. The other is to designate a category of tools whose output gets caught by the frontend and rendered in the chat using the corresponding components. I used the second one in several projects.

comment 5mo ago · link · parent

Is it another codeburn?

comment 5mo ago · link · parent

Is this a cost attribution dashboard?