<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vishakha Jha on Medium]]></title>
        <description><![CDATA[Stories by Vishakha Jha on Medium]]></description>
        <link>https://medium.com/@vishakha.jha24?source=rss-a6100c83cdd2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gYYXOjVJXrTmk701DJldtA.png</url>
            <title>Stories by Vishakha Jha on Medium</title>
            <link>https://medium.com/@vishakha.jha24?source=rss-a6100c83cdd2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 18:31:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vishakha.jha24/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[    ]]></title>
            <link>https://medium.com/@vishakha.jha24/model-context-window-matters-c990d8cd0699?source=rss-a6100c83cdd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/c990d8cd0699</guid>
            <category><![CDATA[system-prompt]]></category>
            <category><![CDATA[context-window]]></category>
            <category><![CDATA[hallucinations]]></category>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Vishakha Jha]]></dc:creator>
            <pubDate>Fri, 26 Jun 2026 23:09:58 GMT</pubDate>
            <atom:updated>2026-06-26T23:10:27.400Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/958/0*SSQkPNPsD-6Yngmb" /></figure><p>A goldfish can only see what’s in front of it, turn its head, the old world disappears. Models work the exact same way, they only see what’s in the context window right now and everything outside that window does not exist for them.</p><p>The context window assembles as a stack-<br> 1. 𝗦𝘆𝘀𝘁𝗲𝗺 𝗽𝗿𝗼𝗺𝗽𝘁 at the top, this is your product specification. The set of instructions that defines what the AI does, what it can’t do, how it behaves. Changing the system prompt can change the behavior of a product without even touching its code.</p><p>2. Then comes 𝗰𝗼𝗻𝘃𝗲𝗿𝘀𝗮𝘁𝗶𝗼𝗻 𝗵𝗶𝘀𝘁𝗼𝗿𝘆, every message from this conversation so far, stacked in order. The model reads it fresh every turn this basically means that by turn ten you’re carrying everything from turns one through nine.</p><p>3. Third your 𝗰𝘂𝗿𝗿𝗲𝗻𝘁 𝗾𝘂𝗲𝘀𝘁𝗶𝗼𝗻.</p><p>4. Lastly, 𝗼𝘂𝘁𝗽𝘂𝘁 𝘀𝗽𝗮𝗰𝗲 the model needs to write its answer.</p><p>In fintech, conversations get long fast. Forty turns about a disputed transaction, complex questions needing policy documents. The history keeps stacking up and the context fills.</p><p>The 𝗺𝗼𝗱𝗲𝗹 𝗵𝗮𝘀 𝗮 𝗨-𝘀𝗵𝗮𝗽𝗲𝗱 𝗮𝘁𝘁𝗲𝗻𝘁𝗶𝗼𝗻 𝗽𝗮𝘁𝘁𝗲𝗿𝗻. It pays strong attention to what’s at the beginning and the end, the middle sometimes not so much. It’s like reading a 200-page legal contract and being asked to find a single clause, unless you’re Mike Ross. You remember the first and last sections clearly, but the middle becomes hazy.</p><p>So if your system prompt is at the top, it gets the model’s attention. If your conversation history is in the middle, it still gets processed. But if your retrieved documents are buried deep within that history, they may be overlooked.<br>When that happens, the model may rely on its training data instead of your documents. This can cause 𝗵𝗮𝗹𝗹𝘂𝗰𝗶𝗻𝗮𝘁𝗶𝗼𝗻𝘀 𝗲𝘃𝗲𝗻 𝘄𝗵𝗲𝗻 𝗥𝗔𝗚 𝗶𝘀 𝗽𝗿𝗲𝘀𝗲𝗻𝘁.<br>This leads to what is often called a 𝗽𝗹𝗮𝗰𝗲𝗺𝗲𝗻𝘁 𝗽𝗿𝗼𝗯𝗹𝗲𝗺, where information appears in the context window can matter just as much as the information itself.</p><p>𝗪𝗵𝗮𝘁 𝗵𝗲𝗹𝗽𝘀?<br>Summarization strategy applied with a threshold, monitoring context utilization and reserving explicit token budget for o/p.</p><p>The recommended structure (may change per problem or model design)- System prompt at top, conversation history in the middle, retrieved documents near the bottom, close to the question and output space at the end. This structure determines what the model actually uses.<br> <br>As a product person building this, you own the context window structure, token budget allocation, summarization triggers, monitoring requirements. You own what gets included because inclusion determines cost and quality.</p><p>To view or add a comment, <a href="https://www.linkedin.com/signup/cold-join?session_redirect=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Fgavin-tam-35621923_thinkingmodel-modelbehaviours-languagemodel-activity-7466109874058493952-i8Yr&amp;trk=public_post_feed-cta-banner-cta">sign in</a></p><p><em>Originally published at </em><a href="https://www.linkedin.com/posts/jha-vishakha_%F0%9D%97%AA%F0%9D%97%B5%F0%9D%97%AE%F0%9D%98%81-%F0%9D%98%81%F0%9D%97%B5%F0%9D%97%B2-%F0%9D%97%BA%F0%9D%97%BC%F0%9D%97%B1%F0%9D%97%B2%F0%9D%97%B9-%F0%9D%97%AE%F0%9D%97%B0%F0%9D%98%81%F0%9D%98%82%F0%9D%97%AE%F0%9D%97%B9%F0%9D%97%B9-share-7470478057653563395-mCyg/?utm_source=share&amp;utm_medium=member_desktop&amp;rcm=ACoAAB914h4BwAXUePhf8-hR-hYWoEUBAJDhu9w"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c990d8cd0699" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tokenization Matters for AI Product Costs]]></title>
            <link>https://medium.com/@vishakha.jha24/tokenization-matters-for-ai-product-costs-vishakha-jha-posted-on-the-topic-linkedin-a17b09fb1a3d?source=rss-a6100c83cdd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a17b09fb1a3d</guid>
            <category><![CDATA[ai-processing]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[tokenization]]></category>
            <dc:creator><![CDATA[Vishakha Jha]]></dc:creator>
            <pubDate>Thu, 25 Jun 2026 18:36:54 GMT</pubDate>
            <atom:updated>2026-06-26T22:57:05.204Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xoSCJ6NhuJUoXYt5" /><figcaption>Tokenization</figcaption></figure><p>𝗪𝗵𝗲𝗻 𝘂𝘀𝗲𝗿 𝘁𝘆𝗽𝗲𝘀 𝗮𝗻𝗱 𝗵𝗶𝘁 𝘀𝗲𝗻𝗱</p><p>I remember thinking: “When I type a question and hit send, what actually happens before the answer appears?”</p><p>As a builder, i needed to know what was actually happening behind the scenes and how these pieces fit together, to make informed decisions about what I was building.</p><p>What I learned is that your text can’t enter the model directly. The model doesn’t read English, it reads numbers. Before anything else happens, 𝘁𝗼𝗸𝗲𝗻𝗶𝘇𝗮𝘁𝗶𝗼𝗻 𝗰𝗼𝗻𝘃𝗲𝗿𝘁𝘀 𝘆𝗼𝘂𝗿 𝘁𝗲𝘅𝘁 𝗶𝗻𝘁𝗼 𝘁𝗼𝗸𝗲𝗻𝘀, 𝘀𝘂𝗯𝘄𝗼𝗿𝗱 𝗽𝗶𝗲𝗰𝗲𝘀 𝘁𝗵𝗮𝘁 𝗴𝗲𝘁 𝗰𝗼𝗻𝘃𝗲𝗿𝘁𝗲𝗱 𝘁𝗼 𝗻𝘂𝗺𝗯𝗲𝗿𝘀. 𝗧𝗵𝗲 𝗺𝗼𝗱𝗲𝗹 𝘁𝗵𝗲𝗻 𝗽𝗿𝗼𝗰𝗲𝘀𝘀𝗲𝘀 𝘁𝗵𝗼𝘀𝗲 𝗻𝘂𝗺𝗯𝗲𝗿𝘀 𝗮𝘀 𝗺𝗲𝗮𝗻𝗶𝗻𝗴 𝘃𝗲𝗰𝘁𝗼𝗿𝘀.</p><p>Why does this matter? Because every token costs money. And in fintech, financial text is way more expensive in tokens than regular English. A banking sentence with account numbers, decimals, commas, everything becomes a separate token. A customer service conversation in a consumer app averages 800 tokens. A banking conversation? 3,500 to 5,000 tokens for the same conversation length.</p><p>𝗛𝗲𝗿𝗲’𝘀 𝘄𝗵𝗮𝘁 𝘁𝗵𝗶𝘀 𝗺𝗲𝗮𝗻𝘀 𝗳𝗼𝗿 𝗯𝘂𝗶𝗹𝗱𝗶𝗻𝗴 𝗽𝗿𝗼𝗱𝘂𝗰𝘁𝘀:</p><p>• You cannot estimate your AI product’s cost from word count. 𝗬𝗼𝘂 𝗲𝘀𝘁𝗶𝗺𝗮𝘁𝗲 𝗳𝗿𝗼𝗺 𝘁𝗼𝗸𝗲𝗻 𝗰𝗼𝘂𝗻𝘁. Financial text runs 1.5 to 2x more tokens per word than general prose, that’s your unit economics.</p><p>• 𝗗𝗶𝗳𝗳𝗲𝗿𝗲𝗻𝘁 𝗺𝗼𝗱𝗲𝗹𝘀 𝘂𝘀𝗲 𝗱𝗶𝗳𝗳𝗲𝗿𝗲𝗻𝘁 𝘁𝗼𝗸𝗲𝗻𝗶𝘇𝗲𝗿𝘀. The same sentence produces different token counts in Claude versus GPT-4o versus Gemini. If you switch models mid-product, which happens during cost optimization, your token budgets need recalculating. That matters because you have to specify in your PRD which tokenizer and which model you’re pricing around. Switch the model without recalculating tokens and your costs blow up.</p><p>Understanding tokenization tells you where your actual costs come from and why switching models isn’t as simple as “this one is cheaper per call.”</p><p>To view or add a comment, <a href="https://www.linkedin.com/signup/cold-join?session_redirect=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Fyashaskhoday_building-trustworthy-ai-systems-for-real-time-activity-7473609017995624449-zMXM&amp;trk=public_post_feed-cta-banner-cta">sign in</a></p><p><em>Originally published at </em><a href="https://www.linkedin.com/posts/jha-vishakha_%F0%9D%97%AA%F0%9D%97%B5%F0%9D%97%B2%F0%9D%97%BB-%F0%9D%98%82%F0%9D%98%80%F0%9D%97%B2%F0%9D%97%BF-%F0%9D%98%81%F0%9D%98%86%F0%9D%97%BD%F0%9D%97%B2%F0%9D%98%80-%F0%9D%97%AE%F0%9D%97%BB%F0%9D%97%B1-%F0%9D%97%B5%F0%9D%97%B6%F0%9D%98%81-share-7469479025929879552-1qy9/?utm_source=share&amp;utm_medium=member_desktop&amp;rcm=ACoAAB914h4BwAXUePhf8-hR-hYWoEUBAJDhu9w"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a17b09fb1a3d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[    ]]></title>
            <link>https://medium.com/@vishakha.jha24/-a74e6b74b33a?source=rss-a6100c83cdd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a74e6b74b33a</guid>
            <dc:creator><![CDATA[Vishakha Jha]]></dc:creator>
            <pubDate>Thu, 25 Jun 2026 03:08:34 GMT</pubDate>
            <atom:updated>2026-06-25T03:08:34.065Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iX_iO8JOvpOPnrFO" /></figure><p>I’ve been building with AI every day for more than a year, personally and professionally both and I kept hitting walls.</p><p>I could use it. Build with it. Get things to work. But I didn’t understand it end-to-end.</p><p>I’d see a token cost difference of 10x between models. I’d design a guardrail and wonder if I was placing it in the right spot. I’d run an evaluation and not know if I was measuring the right thing. I’d talk about hallucinations like they were a model bug, when I didn’t actually understand what caused them.</p><p>Working in fintech where accuracy and cost matter, that gap felt dangerous. How do you make good decisions about something you don’t understand?<br>So for the last couple of months, I’ve been learning systematically. Building small things. Asking people who know this work. And here’s what shifted: understanding how AI actually works changes everything about how you think about building with it.</p><p>Not in an abstract way. <br> • 𝗧𝗼𝗸𝗲𝗻𝗶𝘇𝗮𝘁𝗶𝗼𝗻 isn’t just technical detail, It’s why some features cost 10x more than others.<br> • 𝗖𝗼𝗻𝘁𝗲𝘅𝘁 𝘄𝗶𝗻𝗱𝗼𝘄𝘀 aren’t engineering constraints. They’re resource allocation decisions you make as a product person.<br> • 𝗛𝗮𝗹𝗹𝘂𝗰𝗶𝗻𝗮𝘁𝗶𝗼𝗻𝘀 aren’t something the model does wrong. They’re a risk you actively manage through design.</p><p>The foundation is that the model doesn’t have feelings, it doesn’t understand what’s ethically right or actually care about your answer. It’s a 𝘀𝘁𝗮𝘁𝗶𝘀𝘁𝗶𝗰𝗮𝗹 𝗺𝗮𝗰𝗵𝗶𝗻𝗲 𝘁𝗵𝗮𝘁 𝗽𝗿𝗲𝗱𝗶𝗰𝘁𝘀 𝘁𝗲𝘅𝘁 𝗮𝗻𝗱 𝗱𝗼𝗲𝘀𝗻’𝘁 𝘁𝗵𝗶𝗻𝗸. When it says something confidently, it’s not conscious understanding. It’s 𝗽𝗮𝘁𝘁𝗲𝗿𝗻 𝗺𝗮𝘁𝗰𝗵𝗶𝗻𝗴. This isn’t a limitation to fix, it’s what the model is. Once you accept that, you stop trying to make it something it’s not. You start designing around what it actually is.</p><p>So I’m sharing this learning journey in the coming posts from user input to model output, focusing on how it technically works, why it matters for anyone building AI products, where the real tradeoffs live. I’m still figuring this out and i’ll probably get things wrong but that’s the point.</p><p>Share what’s one thing you’ve used AI for but never fully understood how it works?</p><p>To view or add a comment, <a href="https://www.linkedin.com/signup/cold-join?session_redirect=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Fnishchay-v_how-do-i-avoid-ai-slop-while-building-faster-activity-7473426642766557185-rBkh&amp;trk=public_post_feed-cta-banner-cta">sign in</a></p><p><em>Originally published at </em><a href="https://www.linkedin.com/posts/jha-vishakha_%F0%9D%97%95%F0%9D%97%B2%F0%9D%97%B3%F0%9D%97%BC%F0%9D%97%BF%F0%9D%97%B2-%F0%9D%98%86%F0%9D%97%BC%F0%9D%98%82-%F0%9D%97%AF%F0%9D%98%82%F0%9D%97%B6%F0%9D%97%B9%F0%9D%97%B1-%F0%9D%98%84%F0%9D%97%B6%F0%9D%98%81%F0%9D%97%B5-%F0%9D%97%94%F0%9D%97%9C-activity-7469194294545817600-KI2c?utm_source=share&amp;utm_medium=member_desktop&amp;rcm=ACoAAB914h4BwAXUePhf8-hR-hYWoEUBAJDhu9w"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a74e6b74b33a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>