---
title: "Discussion on \"Inside the Black Box: The Architecture of LLMs from Tokenization to Inference\" | Hashnode"
description: "Discussion on \"Inside the Black Box: The Architecture of LLMs from Tokenization to Inference\". It isn’t magic. It’s probability, linear algebra, and architecture. Here is the mechanism behind the API calls."
url: "https://hashnode.com/posts/inside-the-black-box-llm-architecture/6937b409e67c70c111fdf19e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Inside the Black Box: The Architecture of LLMs from Tokenization to Inference](https://iammuhammadasim.hashnode.dev/inside-the-black-box-llm-architecture?utm_source=hashnode&utm_medium=feed)

It isn’t magic. It’s probability, linear algebra, and architecture. Here is the mechanism behind the API calls.

Dec 6, 2025 · 6 min read · iammuhammadasim.hashnode.dev  
Read the article

-   [#artificial-intelligence](https://hashnode.com/tag/artificial-intelligence)
-   [#large-language-models](https://hashnode.com/tag/large-language-models)
-   [#machine-learning](https://hashnode.com/tag/machine-learning)
-   [#software-architecture](https://hashnode.com/tag/software-architecture)
-   [#deep-learning](https://hashnode.com/tag/deep-learning)

## Written by

[Muhammad Asim](https://hashnode.com/@muhammad-asim)

@muhammad-asim · Lahore, PK

  
[View profile](https://hashnode.com/@muhammad-asim)

Engineering Leader | Building AI-Powered Platforms | Architecting Scalable SaaS & Fintech Platforms | Team Leadership

With 13+ years of experience, I specialize in scalable web architectures, micro frontends, and high-performance applications. My journey began in 2012 as a graphics designer, creating 2D game assets during my internship, before transitioning into full-stack web development. Over the years, I've built SaaS applications, PWAs, fintech platforms, marketplaces, and e-commerce solutions. I’ve worked with startups, enterprises, and corporate giants like IBEX, Confiz, and Creative Chaos in technical and leadership roles. 💻 Highlights of Tech Stack &amp; Expertise (There are alot more than the mentioned) ✔ Frontend: ReactJS, NextJS, TypeScript, AngularJS, Micro Frontends ✔ Backend: NodeJS, NestJS, Django, Laravel, Yii, CodeIgniter ✔ Databases: MariaDB, PostgreSQL, SQLite, Firebase, MongoDB ✔ DevOps &amp; CI/CD: Docker, Jenkins, AWS (EC2, S3), Vagrant, CI/CD Pipelines ✔ 3rd Party Integrations: Stripe, PayPal, 2Checkout, Keycloak ✔ Architecture: Microservices, Scalable Web Apps, API Integrations 🚀 Career Highlights ✅ Transitioned from graphics design to full-stack development, mastering modern frameworks. ✅ Built and scaled SaaS, fintech, marketplaces, and e-commerce platforms. ✅ Led frontend teams, optimized architectures, and improved performance. ✅ Top-rated freelancer on Upwork. ✅ Managed tech communities, mentored developers, and conducted workshops. ✅ Co-founded two startups (Homemade Food Delivery &amp; Online Artificial Jewelry) but paused due to work commitments. 🎯 Leadership &amp; Mentorship I believe knowledge grows when shared, and after gaining extensive experience, it's time to give back to the tech community. ✔ I mentor junior developers, helping them transition into frontend and full-stack roles. ✔ Passionate about open-source contributions, tech blogging, and public speaking. ✔ Actively seeking mentorship programs and opportunities to conduct webinars. 🍲 Passion for Cooking &amp; Travel Beyond tech, I love traveling and cooking! I enjoy experimenting with traditional &amp; modern recipes and capturing my travel adventures. 📺 YouTube Channels: 👉 Dastarkhan Recipes – Culinary experiences &amp; traditional dishes 👉 Muhammad Asim Vlogs – Documenting journeys across different places I believe in maintaining a balance between career growth and personal passions. 🤝 Let’s Connect! 🔹 Open to exciting projects, leadership roles, mentorship opportunities, and collaborations. 🔹 If you're into tech, startups, mentorship, or great food, let’s connect &amp; chat! 🚀

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
