frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Styling: Search-Text and Other Highlight-Y Pseudo-Elements

https://css-tricks.com/how-to-style-the-new-search-text-and-other-highlight-pseudo-elements/
1•blenderob•42s ago•0 comments

Crypto firm accidentally sends $40B in Bitcoin to users

https://finance.yahoo.com/news/crypto-firm-accidentally-sends-40-055054321.html
1•CommonGuy•1m ago•0 comments

Magnetic fields can change carbon diffusion in steel

https://www.sciencedaily.com/releases/2026/01/260125083427.htm
1•fanf2•1m ago•0 comments

Fantasy football that celebrates great games

https://www.silvestar.codes/articles/ultigamemate/
1•blenderob•1m ago•0 comments

Show HN: Animalese

https://animalese.barcoloudly.com/
1•noreplica•2m ago•0 comments

StrongDM's AI team build serious software without even looking at the code

https://simonwillison.net/2026/Feb/7/software-factory/
1•simonw•2m ago•0 comments

John Haugeland on the failure of micro-worlds

https://blog.plover.com/tech/gpt/micro-worlds.html
1•blenderob•3m ago•0 comments

Show HN: Velocity - Cheaper Linear Clone

https://velocity.quest
1•kevinelliott•4m ago•1 comments

Corning Invented a New Fiber-Optic Cable for AI and Landed a $6B Meta Deal [video]

https://www.youtube.com/watch?v=Y3KLbc5DlRs
1•ksec•5m ago•0 comments

Show HN: XAPIs.dev – Twitter API Alternative at 90% Lower Cost

https://xapis.dev
1•nmfccodes•5m ago•0 comments

Near-Instantly Aborting the Worst Pain Imaginable with Psychedelics

https://psychotechnology.substack.com/p/near-instantly-aborting-the-worst
1•eatitraw•12m ago•0 comments

Show HN: Nginx-defender – realtime abuse blocking for Nginx

https://github.com/Anipaleja/nginx-defender
2•anipaleja•12m ago•0 comments

The Super Sharp Blade

https://netzhansa.com/the-super-sharp-blade/
1•robin_reala•13m ago•0 comments

Smart Homes Are Terrible

https://www.theatlantic.com/ideas/2026/02/smart-homes-technology/685867/
1•tusslewake•15m ago•0 comments

What I haven't figured out

https://macwright.com/2026/01/29/what-i-havent-figured-out
1•stevekrouse•15m ago•0 comments

KPMG pressed its auditor to pass on AI cost savings

https://www.irishtimes.com/business/2026/02/06/kpmg-pressed-its-auditor-to-pass-on-ai-cost-savings/
1•cainxinth•16m ago•0 comments

Open-source Claude skill that optimizes Hinge profiles. Pretty well.

https://twitter.com/b1rdmania/status/2020155122181869666
2•birdmania•16m ago•1 comments

First Proof

https://arxiv.org/abs/2602.05192
3•samasblack•18m ago•1 comments

I squeezed a BERT sentiment analyzer into 1GB RAM on a $5 VPS

https://mohammedeabdelaziz.github.io/articles/trendscope-market-scanner
1•mohammede•19m ago•0 comments

Kagi Translate

https://translate.kagi.com
2•microflash•20m ago•0 comments

Building Interactive C/C++ workflows in Jupyter through Clang-REPL [video]

https://fosdem.org/2026/schedule/event/QX3RPH-building_interactive_cc_workflows_in_jupyter_throug...
1•stabbles•21m ago•0 comments

Tactical tornado is the new default

https://olano.dev/blog/tactical-tornado/
2•facundo_olano•23m ago•0 comments

Full-Circle Test-Driven Firmware Development with OpenClaw

https://blog.adafruit.com/2026/02/07/full-circle-test-driven-firmware-development-with-openclaw/
1•ptorrone•23m ago•0 comments

Automating Myself Out of My Job – Part 2

https://blog.dsa.club/automation-series/automating-myself-out-of-my-job-part-2/
1•funnyfoobar•23m ago•1 comments

Dependency Resolution Methods

https://nesbitt.io/2026/02/06/dependency-resolution-methods.html
1•zdw•24m ago•0 comments

Crypto firm apologises for sending Bitcoin users $40B by mistake

https://www.msn.com/en-ie/money/other/crypto-firm-apologises-for-sending-bitcoin-users-40-billion...
1•Someone•24m ago•0 comments

Show HN: iPlotCSV: CSV Data, Visualized Beautifully for Free

https://www.iplotcsv.com/demo
2•maxmoq•25m ago•0 comments

There's no such thing as "tech" (Ten years later)

https://www.anildash.com/2026/02/06/no-such-thing-as-tech/
2•headalgorithm•26m ago•0 comments

List of unproven and disproven cancer treatments

https://en.wikipedia.org/wiki/List_of_unproven_and_disproven_cancer_treatments
1•brightbeige•26m ago•0 comments

Me/CFS: The blind spot in proactive medicine (Open Letter)

https://github.com/debugmeplease/debug-ME
1•debugmeplease•27m ago•1 comments
Open in hackernews

API that auto-routes to the cheapest AI provider (OpenAI/Anthropic/Gemini)

https://tokensaver.org/
24•h2o_wine•2mo ago

Comments

h2o_wine•2mo ago
Out of frustration, I built an AI API proxy that automatically routes each request to the cheapest available provider in real-time.

The problem: AI API pricing is a mess. OpenAI, Anthropic, and Google all have different pricing models, rate limits, and availability. Switching providers means rewriting code. Most devs just pick one and overpay.

The solution: One endpoint. Drop-in replacement for OpenAI's API. Behind the scenes, it checks current pricing and routes to whichever provider (GPT-4o, Claude, Gemini) costs least for that specific request. If one fails, it falls back to the next cheapest.

How it works: - Estimates token count before routing - Queries real-time provider costs from database - Routes to cheapest available option - Automatic fallback on provider errors - Unified response format regardless of provider

Typical savings: 60-90% on most requests, since Gemini Flash is often free/cheapest, but you still get Claude or GPT-4 when needed.

30 free requests, no card required: https://tokensaver.org

Technical deep-dive on provider pricing: https://tokensaver.org/blog/openai-vs-anthropic-vs-gemini-pr...

I wrote up how to reduce AI costs without switching providers entirely: https://tokensaver.org/blog/reduce-ai-api-costs-without-swit...

Happy to answer questions about the routing logic, pricing model, or architecture.

jasonsb•2mo ago
> Typical savings: 60-90% on most requests, since Gemini Flash is often free/cheapest, but you still get Claude or GPT-4 when needed.

This claim seems overstated. Accurately routing arbitrary prompts to the cheapest viable model is a hard problem. If it were reliably solvable, it would fundamentally disrupt the pricing models of OpenAI and Anthropic. In practice, you'd either sacrifice quality on edge cases or end up re-running failed requests on pricier models anyway, eating into those "savings".

moduspol•2mo ago
I genuinely wonder the use cases are where the required accuracy is so low (or I guess the prompts are so strong) that you don't need to vigorously use evals to prevent regressions with the model that works best--let alone actually just change models on the fly based on what's cheaper.
growt•2mo ago
Yes and in addition for some reason that use case is also not a fit for some cheap OS model like qwen or kimi, but must be run on the cheapest model of the big three.
kbaker•2mo ago
Hi, curious, did you know about OpenRouter before building this?

> OpenRouter provides a unified API that gives you access to hundreds of AI models through a single endpoint, while automatically handling fallbacks and selecting the most cost-effective options. Get started with just a few lines of code using your preferred SDK or framework.

It isn't OpenAI API compatible as far as I know, but they have been providing this service for a while...

minimaxir•2mo ago
OpenRouter can also prioritize providers by price: https://openrouter.ai/docs/guides/routing/provider-selection...
growt•2mo ago
You should probably take the service down before the HN crowd maxes out your credit card with the already discovered security and auth issues. Then find a technical co founder of you still want to pursue this idea and build it from scratch.
h2o_wine•2mo ago
My credit card isn't in there. The app was written 6 months ago where it stayed in Beta. I rolled it out as a way to reduce the cost of development. Use it or don't. It will be obsolete in another year or two when AI calls level in price.
AstroBen•2mo ago
input tokens: $0.5 per 1,000

output tokens: $1.5 per 1,000

that's either one hell of a typo or my god I'll be broke in an hour if I accidentally use this service

neuropacabra•2mo ago
Yeah, agreed. This sounds like a proper scam to me...
h2o_wine•2mo ago
It totally isn't. In a reply above I explained how I accidentally routed to Anthropic first & ended up losing $13.62 before I realized my mistake.

The moral of the story,if something gets screwed up, I end up paying

kingstnap•2mo ago
The website looks like AI, so do we call it a typo or a hallucination?
kingstnap•2mo ago
Not only is it AI its outdated AI.

https://tokensaver.org/api/pricing

Is offering GPT 3.5 Turbo and Gemini 1.5 Pro.

kingstnap•2mo ago
So right now it seems like it actually just provides Claude 3.5 sonnet, all you need to do is curl it.

I wonder how many dollars OP loaded on their API key. So far according to stats you've spent $13.65 for a few hundred thousand tokens people sent up.

{ "success": true, "totals": { "requests": 491, "revenue": 0, "cost": 13.650696, "profit": -13.650696, "inputTokens": 411557, "outputTokens": 258956, "customers": 32 }, "byProvider": [ { "provider": "anthropic", "requests": 491, "cost": 13.650696, "revenue": 0, "profit": -13.650696 } ] }

h2o_wine•2mo ago
Actually I updated it to Gemini 2.0, GPT-4o, GPT-4o-mini, and Claude 3.5 Sonnet, Haiku. I did it when I realized I accidentally routed everything to Anthropic first & got hit with a $13.62 bill on rollout.

Moral of the story is, the only one who loses $ is me

jnamaya•2mo ago
That was exactly my impression. I thought the price was for 1 million tokens.
h2o_wine•2mo ago
Actually, I accidentally routed to Anthropic first and ended up losing $13.62 but it does work. I've used it for two of my other projects.

I created it for people using AI in development. The 1st 50 tokens are free.

raincole•2mo ago
Mom, I want openrouter.

We have openrouter at home!

In all seriousness, the value proposition is weird to me. The most expensive queries are the ones with huge contexts, and therefore the ones I'd less likely to use cheap models.

faxmeyourcode•2mo ago
This landing page is vibe coded and littered with mistakes/typos (per 1,000 tokens), outdated models (Gemini 1.5?), the security link at the bottom of the page is an href=#, and I can see the "dashboard" without logging in or signing up.

> Message Privacy: Your API requests are processed and immediately forwarded. We never store or log conversation content.

> Minimal Data: We only store your email and usage records. Nothing else. Your data stays yours.

Source: trust me bro.

shepardrtc•2mo ago
For input,

- GPT-5.1 is $1.25 / 1M tokens

- You are $0.50 / 1,000 tokens

Output:

- GPT-5.1 is $10.00 / 1M tokens

- You are $1.50 / 1,000 tokens

Am I reading that wrong? Is that a typo?

rgthomas•2mo ago
Really interesting approach.

As these routing engines evolve, I wonder how you see them handling drift or divergence when different models produce structurally incompatible outputs.

Any thoughts on lightweight harmonization layers?

csours•2mo ago
Inferred tokens are a commodity. It's crude oil, not an oil painting.

https://news.ycombinator.com/item?id=45837691

LiamPowell•2mo ago
The authentication for the API seems poorly designed. The auth token is your email address rather than a real auth token. If I know someone uses this service I can send a massive number of requests to cause a large credit card charge with just their email address. I thought this was just a mistake in the obviously LLM-written home page, but the API really does work this way after testing.

On top of that logging in does not require a password, just an email address.

dfajgljsldkjag•2mo ago
This has a nice made up "case study": https://tokensaver.org/blog/how-i-saved-500-dollars-on-ai-co...

> Six months ago, I was running a customer support chatbot for a SaaS product. Nothing fancy - ...

I'm sure this toooootally happened

> curl -X POST https://tokensaver.org/api/chat \ -H "Content-Type: application/json" \ -d '{ "email": "your@email.com", "messages": [ {"role": "user", "content": "Hello!"} ] }'

Am I getting this right that there's no auth? Just provide an email and get free requests?

Edit:

This seems to always use sonnet 3.5 no matter the request. I asked it a USAMO problem and it still used sonnet (and hallucinated the wrong answer of course).

growt•2mo ago
Vibe coded most likely. The creator might figure out the problems with that approach the hard way.
h2o_wine•2mo ago
I screwed up the routing & it sent everything to Anthropic when I updated from Beta & ended up losing money. The case study was done 6 months ago.

It's a simple tool. Use it or don't. The only person who would lose money in error is me.

_pdp_•2mo ago
I am not sure who is the intended customer for this service.

The prompt and the model go hand in hand. If you randomly select the model the likelihood of getting something consistent is basically zero.

Also model pricing don't very that much. I have never heard of spot-instance equivalent for inference although that will be cool. The demand for GPU is so high right now that I think most datacenters are at 100% utilisation.

Btw landing page does not bring much confidence this is serious. Might want to change it to communicate better and also to be attractive to "developers" I guess.

askvictor•2mo ago
> Also model pricing don't very that much.

I'm curious when AI pricing will couple with energy markets. Then the location of the datacentre will matter considerably

franga2000•2mo ago
Depends on what you're doing. Something like "read this text and extract all the phone numbers" or "write a 3-point summary of this email" will perform about the same on all good models.
pants2•2mo ago
The equivalent of "Spot Instance" is basically the OpenAI Batch API
h2o_wine•2mo ago
It's a tool not an SEO branded, shiny website. It's a utility. & model pricing varies considerably for now. This tool will be useless in another year or two.
dmezzetti•2mo ago
A free router is https://huggingface.co/models
h2o_wine•2mo ago
You don't have to take my word for it.

https://www.aiville.com/c/anthropic/api-that-auto-routes-to-...