murali krishnan retweeted
You hit "Send" on an LLM API call.
~400 milliseconds later you get a response.
Ever wonder what happened in between?
14+ infrastructure layers. Billions of matrix multiplications. Thousands of dollars in GPU compute per hour.
This applies to every major provider โ OpenAI, Anthropic, Google, all of them.
Here's the full journey:
๐ฆ๐๐ฒ๐ฝ ๐ญ: ๐๐ฃ๐ ๐๐ฎ๐๐ฒ๐๐ฎ๐ (~5ms)
Your request doesn't go straight to a model.
โ TLS termination
โ API key validation
โ Rate limiter checks tokens-per-minute and requests-per-minute
โ Request schema validation
โ Billing meter starts ticking
That 429 error you sometimes get? It dies right here.
๐ฆ๐๐ฒ๐ฝ ๐ฎ: ๐๐ผ๐ฎ๐ฑ ๐๐ฎ๐น๐ฎ๐ป๐ฐ๐ฒ๐ฟ (~2ms)
Your request gets routed to one of many GPU clusters.
โ Geographic routing to nearest data center
โ Least-connections algorithm picks the cluster
โ Health checks running continuously
This is why latency varies between identical calls.
๐ฆ๐๐ฒ๐ฝ ๐ฏ: ๐ง๐ผ๐ธ๐ฒ๐ป๐ถ๐๐ฎ๐๐ถ๐ผ๐ป (~3ms)
Your text gets converted to numbers.
โ BPE, SentencePiece, or WordPiece depending on the provider
โ Each token is roughly 4 characters
โ Context window limit checked here
Token count equals your cost. This is where the meter runs.
๐ฆ๐๐ฒ๐ฝ ๐ฐ: ๐ ๐ผ๐ฑ๐ฒ๐น ๐ฅ๐ผ๐๐๐ฒ๐ฟ (~1ms)
The layer nobody talks about.
โ Large model requests route to heavy multi-GPU clusters
โ Small model requests route to optimized single-GPU clusters
โ Embedding requests route to dedicated clusters
โ Queue management during peak traffic
Every provider with multiple models has this layer.
๐ฆ๐๐ฒ๐ฝ ๐ฑ: ๐๐ป๐ณ๐ฒ๐ฟ๐ฒ๐ป๐ฐ๐ฒ (~300-800ms)
This is 95% of your wait time. Two phases:
๐ฃ๐ฟ๐ฒ๐ณ๐ถ๐น๐น:
โ All input tokens processed in parallel
โ Attention scores computed across Query and Key matrices
โ KV Cache generated and stored in GPU HBM memory
โ This is why long prompts have higher time-to-first-token
๐๐ฒ๐ฐ๐ผ๐ฑ๐ฒ:
โ One token generated per forward pass
โ KV Cache reused so past tokens aren't recomputed
โ Temperature and top_p sampling happens at this step
โ Each token sent immediately if streaming is on
This is the fundamental reason streaming exists โ tokens are generated one at a time.
The hardware doing this:
โ A100 / H100 / H200 GPUs with 80GB+ HBM
โ Model weights split across multiple GPUs via tensor parallelism
โ Multiple user requests batched together for throughput
โ Flash Attention and GQA for memory efficiency
This is why GPU compute costs $2-3 per hour.
๐ฆ๐๐ฒ๐ฝ ๐ฒ: ๐ฃ๐ผ๐๐-๐ฃ๐ฟ๐ผ๐ฐ๐ฒ๐๐๐ถ๐ป๐ด (~5ms)
โ Token IDs converted back to readable text
โ Safety classifier runs on the output
โ Stop sequences checked
โ Response packaged as JSON
๐ฆ๐๐ฒ๐ฝ ๐ณ: ๐๐ถ๐น๐น๐ถ๐ป๐ด & ๐ฅ๐ฒ๐๐ฝ๐ผ๐ป๐๐ฒ
โ Input tokens ร price per 1K
โ Output tokens ร price per 1K (usually 3-5x more expensive)
โ Prompt caching reduces cost at most providers now
None of this is specific to one provider. This is how LLM inference works at scale โ whether you're calling OpenAI, Anthropic, Google, or anyone else.
murali krishnan retweeted
Donโt Miss Out! Final Call for Scholarships!
These scholarships are closing on January 24th - check them out on Cirkled In and grab these amazing opportunities.
Start applying today and give your future the boost it deserves! ๐
๐ Visit cirkledin.com/scholarships/sโฆ
murali krishnan retweeted
Intensity vs Volume: What Actually Builds Endurance?
Exercise science finally gives us a clear answer ๐
Hereโs what a large science-backed meta-analysis found:
1. Training intensity drives mitochondrial growth
Higher intensity training led to up to 3.9x greater increases in mitochondrial content compared to lower intensity work.
2. Sprint interval training punches above its weight
Short, intense sessions produced stronger mitochondrial adaptations than longer endurance sessions.
3. Volume matters, but less than you think
More sessions help, but gains plateau faster than with increases in intensity.
4. Capillarization improves with consistency
Capillary growth increases over time, especially after 8 weeks, regardless of training style.
5. Untrained individuals adapt faster
Beginners see larger improvements than well trained athletes due to higher trainability.
6. Benefits apply across ages and health status
Young, old, healthy, and clinical populations all showed positive adaptations.
If time is limited, intensity delivers the biggest return.
Train smart, not just long.
murali krishnan retweeted
Microsoft Copilot and Perplexity.AI have been trending together. โจโจGoogle Gemini has consistently run ahead of these.โจโจNOTE: This is as reported by Google Trends.โจโจ#AI #Traction #copilot #perplexity.ai
murali krishnan retweeted
"If you're in tech, run in one of these directions."
In this clip, @amasad (CEO @Replit) shares two paths to future-proof your career in the AI era:
1. Get as close to the metal as possible (e.g., NASA won't use GPT-Javascript to run rockets)
OR
2. Become a generalist who can go from idea to end product with AI end to end.
Amjad and I had a great chat covering:
โข Why now's the best time to learn to code
โข A live demo of building a nutrition tracker app
โข The rise of personal apps and the future of work
Some quotes from Amjad:
"The return on learning to code doubles every 6 months. AI automates many of the boring parts. What's left is you and your creativity โ the most exciting part of coding."
"The ultimate test for an AI coding agent is if you can make an app faster than you can Google for it. I think we've done it."
"Iโll be honest with you. I think roadmaps are dead. Here's why..."
๐ Watch now: youtu.be/xoca0PSA8rA
murali krishnan retweeted
๐ Just Switched from @perplexity_ai to @deepseek_ai โHereโs Why My iPhone Will Never Look the Same ๐
Let me start with a confession: I was a *Perplexity loyalist*. For months, it was my go-to app for quick answers, research, and AI-powered insights.
But this week, I took a leap of faith and replaced it with **Deepseek**. And holy molyโthis might be the best productivity upgrade Iโve made all year.
Hereโs why Iโm never going back:
๐ฅ Speed Demon Deepseek delivers answers *instantly*. No more awkward 3-second waits while I stare at a spinning wheel. It feels like the app reads my mind before I finish typing.
๐ฏ Precision Over Hallucinations: If youโve used AI tools, you know the pain of getting a confident-sounding answer thatโs justโฆ wrong. Deepseekโs responses are shockingly accurate and cite sources transparently. Fewer โwait, thatโs not trueโ moments = more trust.
๐ก Smarter, Not Harder: It doesnโt just answer questionsโit *anticipates* follow-ups. Need a step-by-step breakdown? Curious about counterarguments? Deepserve serves it up like a 5-star concierge.
The kicker? I tested both apps side-by-side on the same tricky query about quantum computing trends. Perplexity gave me a vague, jargon-heavy summary. Deepseek served a crisp, bulleted list with recent studies, key players, and even linked to a free course.
Mic ๐ค drop.
Why this matters for you:
Weโre all drowning in AI tools, but speed + accuracy = game-changing ROI. Whether youโre prepping for a client call, researching competitors, or just satisfying a random 2 AM curiosity, Deepseek cuts the noise and gets to the point.
PSA to my network: If youโre still tolerating sluggish apps or AI hallucinations, do yourself a favorโgive Deepseek 24 hours. Your workflow (and sanity) will thank you.
๐ Have you tried Deepseek yet? Or sticking with your current tool? Letโs debate in the comments!
(No, this isnโt sponsoredโjust a productivity geek spreading the gospel.)
#AI #ProductivityHacks #TechTrends #Innovation #Deepseek #CareerGrowth
murali krishnan retweeted
Your technical interview process is wrong.
After building multiple engineering teams at Microsoft, VMware & Instacart,
I've discovered what really predicts performance.
Here are the 3 traits of the best engineers:
murali krishnan retweeted
This is Einstein at Princeton, 1935.
He was tasked to find which young physicists would revolutionize science.
His unconventional method found Oppenheimer, Wheeler, and Nobel-Prize winners before anyone knew their names.
Here is his ONE method to spotting genius: ๐งต
murali krishnan retweeted
It's weird that we talk so much about a "loneliness epidemic" but we don't really talk to people about how to make friends or why they are not making friends.
So, a few things.
I've said this before and people get very angry about me โ but something has to replace smoking.
murali krishnan retweeted
Why does Paris look the way it does?
Well, until the year 1853 it was a diseased and overcrowded Medieval city โ then the biggest urban renovation in history was announced.
This is the story of how Paris was transformed into the world's most popular city...
murali krishnan retweeted
Full technical breakdown as to why Crowdstrike's update caused a worldwide BSOD โ crashing computers at Airports, Banks, Casinos, 911, Hospitals and more. ๐งต
(1/n)
murali krishnan retweeted
Today was not a security or cyber incident. Our customers remain fully protected.
We understand the gravity of the situation and are deeply sorry for the inconvenience and disruption. We are working with all impacted customers to ensure that systems are back up and they can deliver the services their customers are counting on.
As noted earlier, the issue has been identified and a fix has been deployed. There was an issue with a Falcon content update for Windows Hosts.
For the latest information that we will continuously update, please refer to the CrowdStrike website (crowdstrike.com/blog/statemeโฆ), my posts on LinkedIn, and my posts on X.ย I will continue to provide updates to our community and the industry as they become available.
murali krishnan retweeted
Harsh weight loss truths I know at 44 that I wish I knew at 24:
1. If you're gaining weight you're eating too many calories. It's that simple.
murali krishnan retweeted
Now is a turbulent time in our economy.
My eldest son is about to go to college.
He asked me what careers to pursue, and what to avoid.
Hereโs what I told him:
murali krishnan retweeted
Two years back, the software industry hired a record 6L engineers. Last year it hired around 2.5L. This year (i. e. The year ending in March 2023) it looks like the number will be less than 1L.
This is the worst job market in India in at least 20 years if not more.
Indian software services companies will end FY24 having hired between 70,000 and 80,000 fresh engineers โthe lowest intake in over two decades.
m.economictimes.com/tech/infโฆ
murali krishnan retweeted
Replying to @JoannaStern
With Apple Vision Pro, you wonโt cry from chopping onions anymore ๐
































