frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Picking the Best AI Model for Cost and Freshness (Lesson from Building My Site)

https://steamid.one/
1•alexcolewrites•8h ago

Comments

alexcolewrites•8h ago
Hey HN,

When building the AI game suggestion feature for steamid.one (a side project for Steam users), I ran into the common, but often under-discussed, problem of choosing the "right" AI model. My needs were simple: smart, fast, cheap, and aware of somewhat recent data without complex RAG.

Here’s how I weighed the options based on cost (per 1 Million tokens, approx.), knowledge cutoff, and performance for my use case (analyzing player profiles to suggest games and output structured JSON): 1. OpenAI (GPT): * gpt-3.5-turbo (0.5M context, cutoff early 2024): ~$0.50 input / $1.50 output. Decent baseline, but reasoning can sometimes miss nuance for creative suggestions. * gpt-4o (128K context, cutoff late 2023): ~$5.00 input / $15.00 output. Powerful, but too pricey for a free tool's scale.

2. Anthropic (Claude): * Claude 3 Haiku (200K context, cutoff early 2024): ~$0.25 input / $1.25 output. Extremely competitive on price and very capable.

3. Google (Gemini): * gemini-1.5-pro (128K context, cutoff early 2024): ~$3.50 input / $10.50 output. Solid, but more than I wanted to spend. * gemini-1.5-flash (128K context, cutoff early 2024): ~$0.35 input / $1.05 output. This was the winner.

Why Flash Stood Out for steamid.one:

Flash's performance for my specific JSON output needs (structuring game suggestions) combined with its unbeatable cost-effectiveness was the killer feature. For a free tool, literally every cent per call matters. Also, I found that for game suggestions based on user-provided data, the models' general knowledge cutoffs were less of a bottleneck than expected. The AI's strength was its reasoning with the data I fed it (player genres, owned games), not needing to know every new release. This significantly changed my prompt engineering strategy.

I'm curious: * How do you balance AI model cost, capability, and knowledge cutoff for your projects? * Any tips for cheap, reliable AI integrations?

Thanks for any feedback!

Reverse Engineering the Firmware Loader for an X-Rite Spectrophotometer

https://adam.zeloof.xyz/2025/07/10/x-rite-pantone-spectrophotometer-unlock/
1•azzeloof•14m ago•0 comments

SpatialChat, Instructure's Canvas LMS, and HyFlex Learning

https://spatial.chat/platform/spatialchat-education
1•JamesPark1982•15m ago•1 comments

The XINU Page

https://xinu.cs.purdue.edu/
1•sandwichsphinx•19m ago•0 comments

Modified mRNA vaccine masquerades as virus to trick body into stronger immunity

https://medicalxpress.com/news/2025-06-mrna-vaccine-masquerades-virus-body.html
3•PaulHoule•24m ago•0 comments

WKWebExtension – support for WebExtensions in WebKit-based browsers

https://developer.apple.com/documentation/webkit/wkwebextension
1•tech234a•25m ago•1 comments

GitHub Copilot coding agent now uses one premium request per session

https://github.blog/changelog/2025-07-10-github-copilot-coding-agent-now-uses-one-premium-request-per-session/
1•SBArbeit•31m ago•0 comments

Not So Fast: AI Coding Tools Can Reduce Productivity

https://secondthoughts.ai/p/ai-coding-slowdown
15•gk1•33m ago•2 comments

The AI Creative Destruction Wave

https://danielmiessler.com/blog/ai-creative-destruction-wave
1•ablekh•34m ago•0 comments

Digital Journaling Platform

https://ai-therapist-seven.vercel.app/login
1•taruschirag•38m ago•1 comments

Peter Boockvar's Substack

https://boockvarpeter.substack.com/
1•TechMacGyver•41m ago•0 comments

Turkey bans Grok over Erdoğan insults

https://www.politico.eu/article/turkey-ban-elon-musk-grok-recep-tayyip-erdogan-insult/
12•geox•43m ago•7 comments

Adding LSM trees to Postgres makes replication tough

https://www.paradedb.com/blog/lsm_trees_in_postgres
2•mathewpregasen•43m ago•0 comments

Rodish: Routing Tree Argv Parser

https://github.com/jeremyevans/rodish
1•thunderbong•44m ago•0 comments

From Scratch: Berry Patch

https://blog.perchbird.dev/posts/from-scratch-berry-patch/
1•fenkett•47m ago•0 comments

Integrity-Policy Header

https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Integrity-Policy
1•todsacerdoti•50m ago•0 comments

My Digital Minimalism Journey

https://sym.bearblog.dev/digital-minimalism/
1•sym5731•54m ago•0 comments

Libinput 1.29 Improving Scroll Wheel Responsiveness for Most Devices

https://www.phoronix.com/news/libinput-1.29-RC
1•Bender•56m ago•0 comments

Updating an old Ubuntu to a supported version

https://anonymoushash.vmbrasseur.com/2025/07/old-ubuntu-upgrade.html
1•vmbrasseur•56m ago•1 comments

Windows 11 clean install guide: remove bloatware and optimize performance

https://sym.bearblog.dev/win11-install/
3•sym5731•57m ago•0 comments

New Burning Coal Seams Revealed Across Wyoming's Northern Border

https://cowboystatedaily.com/2025/07/10/dozens-of-new-burning-coal-seams-revealed-across-wyomings-northern-border/
3•Bender•57m ago•0 comments

Barksdale Airmen Help Secure New Drone Restrictions Across Louisiana

https://www.afgsc.af.mil/News/Article-Display/Article/4238511/barksdale-airmen-help-secure-new-drone-restrictions-across-louisiana/
1•Bender•59m ago•0 comments

Grok 4 answers controversial questions by searching what Musk has to say

https://twitter.com/jeremyphoward/status/1943436621556466171
9•ks2048•1h ago•2 comments

Binding Application in Idris

https://andrevidela.com/blog/2025/binding-application/
1•matt_d•1h ago•0 comments

Retro-gaming YouTuber PatmanQC has died, aged 53

https://www.vanhoe.com/obituary/Patrick-Davis
1•shdon•1h ago•1 comments

Readeck

https://readeck.org/en/
3•billybuckwheat•1h ago•0 comments

The Return of the "Elderly" Pop Star

https://www.cantgetmuchhigher.com/p/why-are-pop-stars-getting-older
1•jnord•1h ago•0 comments

Don't Eat Honey

https://benthams.substack.com/p/dont-eat-honey
1•bookofjoe•1h ago•1 comments

Show HN: Context Compass – Track Claude chat token usage before hitting limit

https://chromewebstore.google.com/detail/context-compass-for-claud/fmbipbgbfoganenegfmkmlidljbfnkhf
1•raydawg88•1h ago•0 comments

San Francisco firm fined $215M for illegally using Russian oligarch funds

https://sfstandard.com/2025/06/13/russia-ukraine-sanctions-putin-venture-capital-peskin/
8•2OEH8eoCRo0•1h ago•1 comments

Musk Says Grok Chatbot Coming to Tesla Vehicles by Next Week

https://www.bloomberg.com/news/articles/2025-07-10/musk-says-grok-chatbot-is-coming-to-tesla-vehicles-by-next-week
2•JumpCrisscross•1h ago•4 comments