frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

How do teams prevent duplicate LLM API calls and token waste?

3•cachelogic•6h ago
I'm curious how teams running LLM-heavy applications handle duplicate or redundant API calls in production.

While experimenting with LLM APIs, I noticed that the same prompt can sometimes be sent repeatedly across different parts of an application, which leads to unnecessary token usage and higher API costs.

For teams using OpenAI, Anthropic, or similar APIs in production: How do you currently detect or prevent duplicate prompts or redundant calls? Do you rely on logging and dashboards, caching layers, internal proxy services, or something else? Or is this generally considered a minor issue that most teams just accept as part of normal usage?

Ask HN: Would you use a job board where every listing is verified?

33•BelVisgarra•4h ago•57 comments

Ask HN: Last time you wrote code?

3•blinkbat•1h ago•2 comments

Tell HN: I'm 60 years old. Claude Code has re-ignited a passion

978•shannoncc•1d ago•855 comments

Ask HN: How many of you hold an amateur radio license in your country?

77•ToddWBurgess•4d ago•96 comments

PhD interrupted by personal safety issues, now publication record is thin

3•qthrwaway•4h ago•1 comments

Whisker – Self hosted e-commerce cart, pure PHP, zero dependencies

4•eLohith•9h ago•1 comments

Ask HN: Can we talk about AI Astroturfing?

21•overgard•8h ago•14 comments

How do teams prevent duplicate LLM API calls and token waste?

3•cachelogic•6h ago•0 comments

What Will Happen to Android?

2•MrLey•9h ago•2 comments

Ask HN: Anyone else feel this community has changed recently?

36•kypro•1d ago•23 comments

Ask HN: What career will you switch to when AI replaces developers?

16•DGAP•10h ago•14 comments

Best Monitoring and Observability Platform?

2•kebforlifer1•11h ago•1 comments

Tell HN: The proposed KIDS Act (HR 7757) effectively mandates biometric browsing

16•fokdelafons•1d ago•0 comments

Should AI web agents skip sponsored/ad results by default?

3•ilyasJosef•21h ago•6 comments

Ask HN: Doctor with software development experience – careers combining both?

4•frank-cheynne•17h ago•3 comments

Ask HN: Best way to implement logging and audit trails for AI apps?

4•devstatic•18h ago•0 comments

Ask HN: How are you using multi-agent AI systems in your daily workflow?

14•paifamily•2d ago•14 comments

Self taught gen-xers with senior dev/pm exp. Where's my imposter syndrome team?

4•_hugerobots_•1d ago•3 comments

Ask HN: Do You Enjoy Your Career in Tech Nowadays?

28•karakoram•2d ago•27 comments

I started making money online in 10th grade – some lessons about capital

6•udit_50•1d ago•1 comments

$1k and the difficult future that AI has left for many

5•01-_-•14h ago•2 comments

Ask HN: Do You Have a Homelab?

12•ricardbejarano•1d ago•6 comments

Turns out making games is the easy part

5•clamlotus•1d ago•3 comments

Ask HN: Anyone fought a big corp over IP theft courts?

6•NatalijaAAD•1d ago•0 comments

Are there any companies who are anti-AI?

6•anti-ai-dev•1d ago•3 comments

Ask HN: Has anyone noticed the fear-driven prompt suggestions that GPT5.3 makes?

14•cedarscarlett•3d ago•8 comments

Ask HN: Why do we still buy things by browsing catalogs?

5•dannythecount•1d ago•7 comments

Tell HN: Digital Ocean has run out of GPU droplets

17•nathannaveen•3d ago•4 comments

Ask HN: If your project is free, what are you building and why keep it free?

11•LeanVibe•3d ago•23 comments

I lost my ability to learn anything new because of AI and I need your opinions

23•dokdev•4d ago•28 comments