Better HN
topnewbestaskshowjobs
Log inSign up

j_filipe

5 karma · joined Nov 16, 2025 (1y ago) · 11 submissions

Building CostLens (https://costlens.dev) — AI cost attribution for engineering teams.

Previously: full-stack engineer working with Next.js, TypeScript, and LLM APIs.

Interested in: developer tools, AI infrastructure, cost optimisation.

Submissions

1.

Claude Fable 5 costs $10/$50M tokens – what that means in production(costlens.dev ↗)

8 points · by j_filipe · 5mo ago · 3 comments

2.

Show HN: AI Efficiency Score – paste any GitHub repo, get a score in seconds(costlens.dev ↗)

2 points · by j_filipe · 6mo ago · discuss

comment 1y ago · link · parent

Thanks for sharing. I'll take a look!

comment 1y ago · link · parent

Hey everyone!

I'm the dev behind this. Started as a weekend project because I kept getting sticker shock from my OpenAI bills. I'd use GPT-4 for literally everything - even "fix this typo" type requests that cost 20x more than they should.

The breakthrough was realizing most requests don't actually need the expensive models. So I built quality detection that tries the cheap model first, then upgrades only if the response is garbage.

Been using it in production for 3 months now. Went from ~$400/month to ~$120/month with zero changes to my actual prompts or code. The quality detection catches about 15-20% of requests that need the premium models.

Works with both OpenAI and Anthropic - Claude Opus → Claude Haiku saves even more than the OpenAI routing since the price gap is bigger.

Happy to answer any questions! The trickiest part was getting the quality scoring right - too aggressive and you get bad responses, too conservative and you don't save money.

Also working on a team dashboard, but wanted to get the core SDK out there first since it's been so useful for me.

5.

Show HN: I built CostLens SDK to cut my AI bills by routing to cheaper models(costlens.dev ↗)

2 points · by j_filipe · 1y ago · 2 comments