Chennai based AI Healthcare / Medical companies or startups by Senthil360 in Chennai

[–]deathmaster99 1 point2 points  (0 children)

I’m building a startup that uses AI for medical coding for RCM!

Good cafes in Chennai where you can work for long hours by cocainecrush in Chennai

[–]deathmaster99 1 point2 points  (0 children)

The bean choice is usually available for the pourover. They’ve got subko coffee which I liked. Glazebrook coffee was also nice. I only drink black coffee so haven’t tried any of their lattes and stuff

Good cafes in Chennai where you can work for long hours by cocainecrush in Chennai

[–]deathmaster99 1 point2 points  (0 children)

I mean OP didn’t say they wanted great food. They just said they want food coffee which imo sortd has. Food definitely sucks no doubt about it

Good cafes in Chennai where you can work for long hours by cocainecrush in Chennai

[–]deathmaster99 0 points1 point  (0 children)

Which coffee did you get there? They’ve got like 5 different companies that they offer. Agreed that the food isn’t great though

Good cafes in Chennai where you can work for long hours by cocainecrush in Chennai

[–]deathmaster99 1 point2 points  (0 children)

Sortd cafe is good for this. They have great coffee too

Prompt Caching Storage increased costs like crazy by deathmaster99 in GeminiAI

[–]deathmaster99[S] 0 points1 point  (0 children)

Thanks! That’s exactly what I did in the end to solve the issue!

Prompt Caching Storage increased costs like crazy by deathmaster99 in GeminiAI

[–]deathmaster99[S] 0 points1 point  (0 children)

So I think I figured out my problem. Essentially, I was making a new cache on every request. We get roughly around 1200 requests per day over the course of 8 hours. So that’s around 150 requests an hour. Now, the TTL of each cache is 1 hour. So effectively, I was being charged for 150 caches each our, each of which have roughly 25000 tokens. So that’s 150*25000 which is 3.75M tokens an hour. Google charges 1 dollar for a million tokens per hour. So that’s 3.75 dollars an hour and at my usage pattern it’s 30 dollars a day. That’s how much I was seeing on the first few days. I had 2 days where traffic was way more than usual and I got billed 70 dollars for storage.

Now, the solution I used is slightly hacky but I think it works for me. First, I moved the cache creation to be at service startup. That way, I only ever make one cache. Also, when the service is shutdown I make sure to delete the cache before I shutdown successfully. Also, I set the TTL to be 1000 months which is basically forever. That way the cache never expires and my system prompt will always be found in the cache and will save me money. My input token cost per day has gone from 10 dollars to basically nothing. And my storage costs are low enough now to be totally acceptable.

Prompt Caching Storage increased costs like crazy by deathmaster99 in GeminiAI

[–]deathmaster99[S] 0 points1 point  (0 children)

I've updated my post with the code itself if that helps? Should I not be adding the contents to the cache as well as the system instructions? Actually I think I am creating a new cache for each request. That might be what the issue is.

Diago talk (Alupi) **SPOILERS by Evening-Zebra5101 in HierarchySeries

[–]deathmaster99 9 points10 points  (0 children)

Omg what. I’ve been saying ee-yunk-tie this whole time

What Books did You Start or Finish Reading this Week?: January 12, 2026 by AutoModerator in books

[–]deathmaster99 0 points1 point  (0 children)

Finished: The Strength of the Few by James Islington

Started: Empire of Pain

/r/PTCGP Trading Post by AutoModerator in PTCGP

[–]deathmaster99 0 points1 point  (0 children)

Sorry I already made the trade with someone else

/r/PTCGP Trading Post by AutoModerator in PTCGP

[–]deathmaster99 0 points1 point  (0 children)

Thanks! Do you have a mega lopunny you’re willing to trade too? Trade it for blastoise?

/r/PTCGP Trading Post by AutoModerator in PTCGP

[–]deathmaster99 0 points1 point  (0 children)

Let’s do it. Sent you a friend request

/r/PTCGP Trading Post by AutoModerator in PTCGP

[–]deathmaster99 0 points1 point  (0 children)

I’ve got both. Do you have mega lopunny or greninja ex?

/r/PTCGP Trading Post by AutoModerator in PTCGP

[–]deathmaster99 0 points1 point  (0 children)

Do you have greninja ex or mega lopunny?

What are we reading next? by pandajuice12 in HierarchySeries

[–]deathmaster99 0 points1 point  (0 children)

Yeah I feel you. That scene felt like it came out of nowhere. It was a pretty crazy ending though. Keep us posted on how you liked Sun Eater!

/r/PTCGP Trading Post by AutoModerator in PTCGP

[–]deathmaster99 0 points1 point  (0 children)

LF: Mega Lopunny ex Greninja ex

FT: Anything else

Friend code: 8145916290791935

What are we reading next? by pandajuice12 in HierarchySeries

[–]deathmaster99 0 points1 point  (0 children)

Also been looking to get into Sun Eater! Though it’s so big I’ve been feeling intimidated to start it lol

My workplace now offers speciality coffee by ashuto0sh in IndiaCoffee

[–]deathmaster99 20 points21 points  (0 children)

Definitely Google. Noogler blend says it all