{"id":23715,"date":"2026-10-14T14:50:17","date_gmt":"2026-10-14T12:50:17","guid":{"rendered":"https:\/\/www.agenciareinicia.com\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/"},"modified":"2026-10-20T11:40:39","modified_gmt":"2026-10-20T09:40:39","slug":"how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions","status":"publish","type":"post","link":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/","title":{"rendered":"How to Get WhatsApp&#8217;s AI to Read Only What It Needs: RAG, Cache, and Instructions"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Table of Contents: How to Optimize an AI Chatbot on WhatsApp<\/strong><\/p>\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<ol class=\"wp-block-list\">\n<li><a href=\"#lo-que-lee\">Why Optimizing an AI Chatbot Starts with What It Reads<\/a><\/li>\n\n\n\n<li><a href=\"#rag\">Structured Knowledge (RAG)<\/a><\/li>\n\n\n\n<li><a href=\"#cache\">Entry-Level Positions at OpenAI, Anthropic, and Google<\/a><\/li>\n\n\n\n<li><a href=\"#rag-o-cache\">RAG and Cache: When They Complement Each Other and When They Compete<\/a><\/li>\n\n\n\n<li><a href=\"#instrucciones\">Brief Instructions and Actions Based on Intention<\/a><\/li>\n<\/ol>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<ol start=\"6\" class=\"wp-block-list\">\n<li><a href=\"#historial\">Shorter history, with buttons and Flows<\/a><\/li>\n\n\n\n<li><a href=\"#respuestas-cortas\">Short Answers<\/a><\/li>\n\n\n\n<li><a href=\"#agente-meta\">Meta&#8217;s AI agent: what you can control<\/a><\/li>\n\n\n\n<li><a href=\"#medir\">How to Determine Whether Optimization Is Working<\/a><\/li>\n\n\n\n<li><a href=\"#faq\">Frequently Asked Questions<\/a><\/li>\n<\/ol>\n<\/div>\n<\/div>\n\n<p class=\"wp-block-paragraph\">If you want <strong>to optimize an AI chatbot on WhatsApp<\/strong>, the first step isn\u2019t to switch models, but to look at what it reads before each response. In the previous article in this series, <a href=\"https:\/\/www.agenciareinicia.com\/blog\/ia-whatsapp-business-api\/\">which discussed the cost of each type of AI response on the WhatsApp Business API<\/a>, we saw that <strong>almost the entire token cost comes from reading<\/strong>, and that a hastily built assistant can read five times more than necessary to provide the same response. This article explains how to avoid this and what you should ask your provider or technical team at each step (you don\u2019t need to know how to code to understand it).  <\/p>\n\n<p class=\"wp-block-paragraph\">If you&#8217;re still not sure what such an assistant is used for, start with our guide to <a href=\"https:\/\/www.agenciareinicia.com\/en\/blog\/chatbot-for-whatsapp-business-use-cases-for-companies\/\">chatbots for WhatsApp Business<\/a>. <strong>Fisio Norte is a fictional, illustrative example<\/strong>: a made-up network of physical therapy centers, with sample conversations and figures, which we use as a central theme, just as in the previous article. The providers\u2019 rates are real and were retrieved on October 14, 2026. <\/p>\n\n<h2 id=\"lo-que-lee\" class=\"wp-block-heading\">Why Optimizing an AI Chatbot on WhatsApp Starts with What It Reads<\/h2>\n\n<p class=\"wp-block-paragraph\">An AI chatbot connected to <a href=\"https:\/\/www.agenciareinicia.com\/en\/blog\/que-es-whatsapp-business-api\/\">the WhatsApp Business API<\/a> doesn&#8217;t just type out a response\u2014 <strong>it<\/strong> first <strong>has to read everything it needs<\/strong> to write it.<\/p>\n\n<p class=\"wp-block-paragraph\">In each turn, the AI re-reads the instructions, the business knowledge, the actions it can perform, the conversation history, and the customer\u2019s message. <strong>What it reads is billed as input<\/strong>, and what it writes <strong>is billed<\/strong> as output. The output costs more per token, but it\u2019s much shorter, so it has less impact on the final bill. <\/p>\n\n<h3 class=\"wp-block-heading\">Reminder: Almost the entire token bill consists of reading data (Fisio Norte case, for illustrative purposes)<\/h3>\n\n<p class=\"wp-block-paragraph\">Fisio Norte answers the question <em>\u201cHow much does a session cost?\u201d<\/em> With the initial configuration, <strong>the AI reads 20,940 tokens to generate 120<\/strong>. With the optimized configuration, the customer receives the same answer, but the AI reads 3,935 and generates 90. Here\u2019s how it breaks down, block by block (the previous article covered the first three adjustments, which brought the read count to 4,140; here, the conversation and the shorter responses are also included):   <\/p>\n\n<figure class=\"wp-block-table is-style-stripes\"><table><thead><tr><th>Block<\/th><th>Before (tokens)<\/th><th>Next (tokens)<\/th><th>Savings<\/th><\/tr><\/thead><tbody><tr><td><strong>Instructions<\/strong><\/td><td>2.000<\/td><td>900<\/td><td>\u22121,100<\/td><\/tr><tr><td><strong>Knowledge<\/strong><\/td><td>18.000<\/td><td>2.500<\/td><td>\u221215,500<\/td><\/tr><tr><td><strong>Actions<\/strong><\/td><td>500<\/td><td>300<\/td><td>\u2212200<\/td><\/tr><tr><td><strong>History<\/strong><\/td><td>400<\/td><td>195<\/td><td>\u2212205<\/td><\/tr><tr><td><strong>Message from the customer<\/strong><\/td><td>40<\/td><td>40<\/td><td>0<\/td><\/tr><tr><td><strong>Total Input (Reading)<\/strong><\/td><td><strong>20.940<\/strong><\/td><td><strong>3.935<\/strong><\/td><td><strong>\u221217,005 (\u221281%)<\/strong><\/td><\/tr><tr><td><strong>Response (output)<\/strong><\/td><td>120<\/td><td>90<\/td><td>\u221230<\/td><\/tr><\/tbody><\/table><\/figure>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2026\/10\/optimizar-chatbot-ia-whatsapp-cascada-tokens.webp\" alt=\"A waterfall chart showing how the number of tokens read by the AI in each response to the &quot;Fisio Norte&quot; example case drops from 20,940 to 3,935\"\/><figcaption class=\"wp-element-caption\">Reading the response before and after each adjustment (case study from Fisio Norte).<\/figcaption><\/figure>\n\n<p class=\"wp-block-paragraph\">With advanced AI (GPT-6.1 Sol, at $2 input and $10 output per million tokens; 1 \u20ac = 1.14 $) and Meta\u2019s service fee (0.0166 \u20ac per response), <strong>1,000 responses cost 54.39 \u20ac before and 24.29 \u20ac after<\/strong>. This is the basis for the calculations in the rest of the article. <\/p>\n\n<h2 id=\"rag\" class=\"wp-block-heading\">Structured Knowledge (RAG): How to Prepare the Information<\/h2>\n\n<p class=\"wp-block-paragraph\">Knowledge is the heaviest component (18,000 of Fisio Norte\u2019s 20,940 tokens), which <strong>is<\/strong> why <strong>it\u2019s where the greatest savings are realized<\/strong>. The technique that achieves this is called RAG, and its results depend almost entirely on how the information is prepared. <\/p>\n\n<h3 class=\"wp-block-heading\">What Is RAG? Explained Without Technical Jargon<\/h3>\n\n<p class=\"wp-block-paragraph\">Think about the difference between giving a new employee the company\u2019s entire manual before every call, or providing them with a good index so they can look up only the page they need. <strong>RAG is that index<\/strong> (an acronym for Retrieval-Augmented Generation): the information is divided into fragments, stored in a search engine that understands meaning (not just exact words), and when a question comes in, only the fragments that match it are sent to the AI.<\/p>\n\n<p class=\"wp-block-paragraph\">For the customer, <strong>the answer remains the same; what changes is the interpretation<\/strong>.<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2026\/10\/optimizar-chatbot-ia-whatsapp-esquema-rag.webp\" alt=\"RAG diagram: a customer's question on a mobile device and a segmented knowledge base from which the AI reads only three fragments\"\/><figcaption class=\"wp-element-caption\">With RAG, the AI receives only the snippets that resemble the question.<\/figcaption><\/figure>\n\n<h3 class=\"wp-block-heading\">How to cut: by sections and approximate size of the pieces<\/h3>\n\n<p class=\"wp-block-paragraph\">It\u2019s more important to break things down properly than to break them down extensively. <strong>Each segment should contain a single, complete idea<\/strong>: a rate with its terms, a cancellation policy, or a center\u2019s hours. If you cut off in the middle of an explanation, the AI receives half-truths; if you mix topics, it receives noise. <\/p>\n\n<ul class=\"wp-block-list\">\n<li><strong>By section, not by page.<\/strong>  Each segment follows the natural structure of the content (a heading and the text that follows it), rather than an automatic break after a certain number of lines.<\/li>\n\n\n\n<li><strong>Let it be self-explanatory.<\/strong>  The excerpt should include at least some context (for example, \u201cDowntown Gij\u00f3n: hours\u201d), because the AI won\u2019t see the rest of the document.<\/li>\n\n\n\n<li><strong>Approximate size.<\/strong>  As a starting point (this is a working assumption, not a standard set by any provider), fragments ranging from about 300 to 900 tokens\u2014that is, from about 200 to 650 words. At Fisio Norte, the three passages requested in the price inquiry total 2,500 tokens. <\/li>\n\n\n\n<li><strong>One excerpt for every recurring question.<\/strong>  The most common questions from customers are the best guide to how to organize knowledge.<\/li>\n<\/ul>\n\n<h3 class=\"wp-block-heading\">How many fragments to retrieve per query<\/h3>\n\n<p class=\"wp-block-paragraph\">It\u2019s a balance between falling short and reading too much into it. <strong>Too few passages may leave the answer out<\/strong>, and too many bring the assistant closer to reading everything. The Fisio Norte pricing question requires three options (sessions, packages, and insurance). As a rough starting point, use between three and five, then adjust based on where the assistant goes wrong: if information is missing, increase the number; if it reads too much, decrease it.  <\/p>\n\n<p class=\"wp-block-paragraph\">And here&#8217;s a safety rule: <strong>if none of the prompts match the question<\/strong>, the assistant should say so and hand the conversation off to a human, rather than making up an answer.<\/p>\n\n<h3 class=\"wp-block-heading\">Why Markdown Is a Better Starting Point Than a PDF<\/h3>\n\n<p class=\"wp-block-paragraph\">A PDF is designed for printing, not for splitting up: <strong>it combines columns, headers, footers, and tables<\/strong> that, when converted to text, often become disorganized, and the excerpt reaches the AI with truncated sentences or misplaced data. Markdown (a text format in which headings, lists, and tables are easily marked up) preserves the structure: each heading indicates where a snippet begins, and each table remains a table. <\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2026\/10\/optimizar-chatbot-ia-whatsapp-pdf-vs-markdown.webp\" alt=\"Comparison on a laptop between a PDF with columns and footers that becomes disorganized when the text is extracted, and the same content in Markdown divided into chunks\"\/><figcaption class=\"wp-element-caption\">The same content, converted to text: the PDF becomes disorganized, while Markdown preserves the structure.<\/figcaption><\/figure>\n\n<p class=\"wp-block-paragraph\">If your knowledge is currently in PDF format, <strong>the first step is to convert it to Markdown<\/strong> and review it manually once. It&#8217;s a one-time effort that improves everything that comes after it. <\/p>\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#d9d0fb;padding-top:1.5rem;padding-right:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>What to Ask Your Supplier<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>How is my knowledge broken down?<\/strong>  And who checks it when a price or schedule changes?<\/li>\n\n\n\n<li><strong>How many fragments does it retrieve per query?<\/strong>  Can I see which ones he used in each answer?<\/li>\n\n\n\n<li><strong>What do you do when none of the fragments respond?<\/strong>  Does it go to a person, or does it respond the same way either way?<\/li>\n<\/ul>\n<\/div><\/div>\n\n<h2 id=\"cache\" class=\"wp-block-heading\">Input Cache: How It Works at OpenAI, Anthropic, and Google<\/h2>\n\n<p class=\"wp-block-paragraph\">The input cache is <strong>a discount for repeating the same<\/strong> message <strong>header<\/strong>. When the initial part of what the AI reads is identical to that of a recent request, the provider does not process it again and charges much less for those tokens. To take advantage of this, you need to understand which part of the message is fixed.  <\/p>\n\n<h3 class=\"wp-block-heading\">Which part of the message can be cached (and which cannot)<\/h3>\n\n<p class=\"wp-block-paragraph\">The cache recognizes <strong>the beginning of the message, and only if it matches exactly<\/strong>. As soon as something changes, everything that comes after is no longer cached. That\u2019s why order matters: stable content first, and finally, what changes with each turn. OpenAI\u2019s documentation recommends this approach (stable content first and dynamic content last), and Anthropic\u2019s documentation specifies the order as tools, instructions, and messages.   <\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2026\/10\/optimizar-chatbot-ia-whatsapp-estructura-mensaje-cache.webp\" alt=\"A bar containing the five blocks of the AI message that separates the fixed part&#x2014;which can be cached&#x2014;from the part that changes with each turn\"\/><figcaption class=\"wp-element-caption\">Stability comes first: only the identical part of the message uses the cache.<\/figcaption><\/figure>\n\n<ul class=\"wp-block-list\">\n<li><strong>The following can be cached:<\/strong> instructions, action definitions, and any information that is always sent in the same way.<\/li>\n\n\n\n<li><strong>You can&#8217;t use a cache (or it almost never works):<\/strong> the fragments that the RAG changes for each question, the history, the client&#8217;s message, and any variable data (the time, the client&#8217;s name) placed at the beginning.<\/li>\n<\/ul>\n\n<h3 class=\"wp-block-heading\">Automatic or manual: discount, minimum number of tokens, and duration for each provider<\/h3>\n\n<p class=\"wp-block-paragraph\">The three major providers offer cache, but <strong>they do not activate, charge for, or maintain it in the same way<\/strong>. Here is what their official documentation states as of October 14, 2026 (prices per million input tokens): <\/p>\n\n<figure class=\"wp-block-table is-style-stripes\"><table><thead><tr><th>Supplier<\/th><th>Do I need to activate it?<\/th><th>Minimum for a pat-down<\/th><th>Read from the cache<\/th><th>Write to the cache<\/th><th>How long does it last?<\/th><\/tr><\/thead><tbody><tr><td><strong>OpenAI<\/strong><\/td><td>Automatic on compatible models. Starting with GPT-5.6, there is also an optional explicit mode <\/td><td>1,024 tokens<\/td><td>0.1 times the standard entry price; 0.05 times on GPT-6.1 Sol ($0.10 vs. $2)<\/td><td>1.25 times the entry price starting with GPT-5.6 (previously, no additional charge)<\/td><td>At least 30 minutes since the last write or reuse (GPT-5.6 and later)<\/td><\/tr><tr><td><strong>Anthropic (Claude)<\/strong><\/td><td>Yes: It is indicated in the request, either automatically or with specific thresholds.<\/td><td>From 512 to 4,096 tokens, depending on the model<\/td><td>0.1 times overall; 0.05 times in Claude Opus 5.5 and Sonnet 5.5<\/td><td>1.25 times (5 minutes) or 2 times (1 hour)<\/td><td>5 minutes by default, which is reset with each use; 1 hour (optional)<\/td><\/tr><tr><td><strong>Google (Gemini)<\/strong><\/td><td>Implicit by default starting with Gemini 2.5. The explicit version is optional in some models. <\/td><td>From 2,048 to 4,096 tokens, depending on the model<\/td><td>10% of the list price (90% discount) on Gemini 3.8 Flash and 3.1 Pro Preview<\/td><td>The explicit version charges for storage by the hour ($0.50 per million in 3.8 Flash; $4.50 in 3.1 Pro Preview)<\/td><td>The page I viewed does not indicate this.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n<p class=\"wp-block-paragraph\"><strong>All three agree on the key points<\/strong>: they reduce repeated reading in the models in the table by between 90% and 95% and require an identical, sufficiently long beginning. They differ in how they are triggered, how long they last, and how much it costs to write. And for all of them, <strong>below the minimum threshold, there are no errors or penalties<\/strong>: the message is processed as if the cache did not exist.  <\/p>\n\n<h3 class=\"wp-block-heading\">The cost of writing to cache when it is not reused<\/h3>\n\n<p class=\"wp-block-paragraph\"><strong>Writing to cache is more expensive than not caching<\/strong>: 25% more expensive on OpenAI (starting with GPT-5.6) and on Anthropic with a 5-minute duration, and twice as expensive with a 1-hour duration. That extra cost is incurred every time a request cannot find its previously saved starting point, and it is recouped through successful hits. <\/p>\n\n<p class=\"wp-block-paragraph\">With GPT-6.1 Sol&#8217;s pricing, the math is simple: each miss costs an additional $0.50 per million tokens ($2.50 to write versus $2 to read without caching), and each hit saves $1.90 ($2 versus $0.10). <strong>Caching starts to pay off when one out of every five responses is a hit<\/strong> (approximately 21%). Below that rate, caching is more expensive than not caching. <\/p>\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#d9d0fb;padding-top:1.5rem;padding-right:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>What to Ask Your Supplier<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Is caching enabled in my assistant?<\/strong>  And which model?<\/li>\n\n\n\n<li><strong>What percentage of requests are served from the cache?<\/strong>  The data comes from the AI provider&#8217;s usage logs.<\/li>\n\n\n\n<li><strong>What goes at the beginning of the message, and what goes at the end?<\/strong>  Stability must come first.<\/li>\n<\/ul>\n<\/div><\/div>\n\n<h2 id=\"rag-o-cache\" class=\"wp-block-heading\">RAG and Cache: When They Complement Each Other and When They Compete<\/h2>\n\n<p class=\"wp-block-paragraph\">They seem like two ways to achieve the same savings, and to a certain extent they are: <strong>both reduce the cost of what the AI reads<\/strong>. But they act on different aspects and don&#8217;t always add up. RAG reduces the amount that is read; the cache reduces the cost of reading repeated content.  <\/p>\n\n<p class=\"wp-block-paragraph\">If all knowledge is always processed in the same way, caching makes it much cheaper. But if the RAG changes it for each query, <strong>that part is no longer a stable starting point<\/strong> and is no longer cached. Let&#8217;s look at the numbers.  <\/p>\n\n<h3 class=\"wp-block-heading\">Fisio Norte with and without a service fee: a comparison in euros<\/h3>\n\n<p class=\"wp-block-paragraph\">Let&#8217;s return to Fisio Norte (an illustrative example, <a href=\"https:\/\/www.agenciareinicia.com\/blog\/ia-whatsapp-business-api\/\">the same one from the previous article<\/a>) with the GPT-6.1 Sol rates. In the initial configuration, <strong>20,500 of the 20,940 tokens are fixed<\/strong> (instructions, knowledge, and actions), so they can be cached. In the optimized configuration, only 1,200 are fixed (instructions and actions), because the RAG fragments change with each question.  <\/p>\n\n<figure class=\"wp-block-table is-style-stripes\"><table><thead><tr><th>Fisio Norte Settings<\/th><th>No cache<\/th><th>Cache with a 50% hit rate<\/th><th>Cache with a 100% hit rate<\/th><\/tr><\/thead><tbody><tr><td><strong>Before:<\/strong> all knowledge in each shift (20,940 tokens)<\/td><td>54.39 \u20ac<\/td><td>41.80 \u20ac<\/td><td>\u20ac20.22<\/td><\/tr><tr><td><strong>After:<\/strong> RAG and instructions, actions, history, and responses truncated (3,935 tokens)<\/td><td>24.29 \u20ac<\/td><td>23.56 \u20ac<\/td><td>22.29 \u20ac<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Cost per 1,000 responses, including Meta&#8217;s service fee (\u20ac16.60) and excluding VAT. Hits are the percentage of responses whose fixed beginning was already cached. Assumptions: GPT-6.1 Sol, \u20ac1 = $1.14.  <\/figcaption><\/figure>\n\n<p class=\"wp-block-paragraph\">It\u2019s worth stating this honestly: <strong>with a perfect hit rate, the cache alone wins<\/strong>. The unoptimized assistant drops to \u20ac20.22, below the \u20ac22.29 of the optimized one. In terms of pure token cost, if the cache were always correct, not trimming the input could end up being cheaper. In this example, that advantage disappears below an approximate 95% hit rate.   <\/p>\n\n<p class=\"wp-block-paragraph\">And a 100% success rate is a theoretical maximum. With half that success rate, <strong>the unoptimized assistant costs \u20ac41.80 and the optimized one, \u20ac23.56. That<\/strong>\u2019s why RAG is still worth it even when the cache is enabled:  <\/p>\n\n<ul class=\"wp-block-list\">\n<li><strong>The cost is more predictable.<\/strong>  With RAG, the difference between a perfect cache and no cache is about \u20ac2 per 1,000 responses (from \u20ac22.29 to \u20ac24.29). Without RAG, the difference is about 34 \u20ac (from 20.22 \u20ac to 54.39 \u20ac), and with few hits, it can end up being even more expensive than not using a cache, due to the cost of writing. <\/li>\n\n\n\n<li><strong>It scales better.<\/strong>  If the knowledge base grows, the amount of text read grows along with it; with RAG, it barely changes, because only the relevant fragments are transmitted.<\/li>\n\n\n\n<li><strong>AI detects less noise.<\/strong>  Including less irrelevant text in each response usually helps you focus on what matters. This isn&#8217;t something you can take for granted: it needs to be verified with real questions (as we&#8217;ll see in the section on measurement). <\/li>\n<\/ul>\n\n<h3 class=\"wp-block-heading\">The pace of conversations determines whether the cache is worth it<\/h3>\n\n<p class=\"wp-block-paragraph\">The cache is only paid for if the header is reused before it expires. <strong>High, concentrated traffic benefits the cache<\/strong>: a store with hundreds of conversations per hour keeps its header valid at all times. <strong>Low traffic, or traffic with long gaps, favors RAG<\/strong>: a small clinic that receives ten messages a day, with hours between each one, would almost always let the cache expire and pay for the write without receiving the discount.<\/p>\n\n<p class=\"wp-block-paragraph\">There are two other details. First: <strong>summarizing or trimming the history can reset the cache<\/strong>, as OpenAI\u2019s documentation warns, so it\u2019s best for the person configuring the assistant to decide when to summarize it rather than doing so at the start of each session. Second: the optimized assistant\u2019s fixed 1,200 tokens barely exceed OpenAI\u2019s minimum (1,024) and fall short of the Gemini models\u2019 minimum (2,048 or 4,096), so the cache would not be triggered on Google.  <\/p>\n\n<p class=\"wp-block-paragraph\">In summary, <strong>the standard approach is to cache the stable data and use RAG to retrieve the variable data<\/strong>. At Fisio Norte, adding caching to the already-optimized assistant saves about \u20ac2 per 1,000 responses, because the fixed portion is small. The cache provides greater benefits the larger the fixed portion is and the higher the traffic; RAG provides greater benefits the greater the knowledge base is and the less of it is used for each question.  <\/p>\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#d9d0fb;padding-top:1.5rem;padding-right:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>What to Ask Your Supplier<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>How many calls does my number receive each day?<\/strong>  That determines whether the cache will hit.<\/li>\n\n\n\n<li><strong>How many fixed tokens does my assistant have?<\/strong>  If they do not reach the model&#8217;s minimum, the cache does not take effect.<\/li>\n\n\n\n<li><strong>When is the history summarized?<\/strong>  Is it done every shift or at intervals?<\/li>\n<\/ul>\n<\/div><\/div>\n\n<h2 id=\"instrucciones\" class=\"wp-block-heading\">Brief Instructions and Actions Based on Intention<\/h2>\n\n<p class=\"wp-block-paragraph\">After the initial assessment, the two categories where the most can be cut without losing anything are instructions and actions. At Fisio Norte, they reduced the total from <strong>2,500 to 1,200 tokens across both categories<\/strong>. <\/p>\n\n<h3 class=\"wp-block-heading\">Concise rules and examples outside the main message<\/h3>\n\n<p class=\"wp-block-paragraph\">A two-page manual with examples is reviewed in its entirety for each response. <strong>The instructions should explain how to respond<\/strong>, not cover every possible scenario: the tone, the boundaries, when to escalate to a supervisor, and the format of the response. Long examples (such as how to respond to a complaint or how to explain a fee) are stored separately, as another piece of knowledge, and are only retrieved when the question requires them. This is how Fisio Norte reduced its instructions from 2,000 to 900 tokens.  <\/p>\n\n<ul class=\"wp-block-list\">\n<li><strong>One instruction per idea,<\/strong> in short sentences, without repetition.<\/li>\n\n\n\n<li><strong>What never changes, at first.<\/strong>  In addition to sorting the message, it prepares that block for caching.<\/li>\n<\/ul>\n\n<h3 class=\"wp-block-heading\">Only the actions specified for each type of question<\/h3>\n\n<p class=\"wp-block-paragraph\">Every action the AI can perform (scheduling an appointment, checking on an order, transferring to a person) must be described in the message. With eight actions, each response is about 500 tokens long, <strong>even if the question is about prices<\/strong> and no actions are needed. The solution is to first detect the intent of the question and load only the relevant actions. This can be done using simple rules or a lightweight, low-cost model that classifies the question before passing it on to the main system.   <\/p>\n\n<p class=\"wp-block-paragraph\">For a pricing inquiry, Fisio Norte only needs to \u201cschedule an appointment\u201d and \u201ctransfer to a representative\u201d: <strong>300 tokens instead of 500<\/strong>. And if the agent checks customer data in the CRM (such as an appointment status or a voucher), that action is only charged when the inquiry is related to that specific information, as is the case <a href=\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-integrate-whatsapp-business-with-zoho-crm\/\">with the WhatsApp Business integration with Zoho CRM<\/a>. <\/p>\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#d9d0fb;padding-top:1.5rem;padding-right:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>What to Ask Your Supplier<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>How many tokens do the instructions and actions take up?<\/strong>  And how many actions are included in each response.<\/li>\n\n\n\n<li><strong>Where do the long examples live?<\/strong>  Do they travel all the time, or only when necessary?<\/li>\n<\/ul>\n<\/div><\/div>\n\n<h2 id=\"historial\" class=\"wp-block-heading\">Shorter history, with buttons and WhatsApp Flows<\/h2>\n\n<p class=\"wp-block-paragraph\">The history is the only block that <strong>grows with each turn<\/strong>: on the tenth response, the AI reviews the previous nine exchanges. At Fisio Norte, with short conversations, it takes up 400 tokens; in a long conversation, it would take up considerably more. <\/p>\n\n<h3 class=\"wp-block-heading\">Shorten or summarize the conversation<\/h3>\n\n<p class=\"wp-block-paragraph\">There are two ways to trim it down. <strong>Keeping only the most recent entries<\/strong> (for example, the last four messages; this is just an example) is the simplest and most predictable approach. <strong>Summarizing the above<\/strong> in a few lines (what the customer wants, what they\u2019ve been told, what\u2019s missing) preserves more context, but requires care to ensure the summary doesn\u2019t omit any important details. And, as we saw with the cache, modifying the history can reset it. <\/p>\n\n<h3 class=\"wp-block-heading\">Fewer shifts, less history to review<\/h3>\n\n<p class=\"wp-block-paragraph\">The most effective way to shorten the <strong>conversation<\/strong> history is <strong>to have fewer turns in the conversation<\/strong>. Buttons, lists, and WhatsApp Flows (forms that open within the conversation itself) capture in one go what would otherwise take several messages. We explain this in our <a href=\"https:\/\/www.agenciareinicia.com\/blog\/reducir-coste-whatsapp-business-api\/\">guide on how to reduce the cost of the WhatsApp Business API<\/a>.  <\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2026\/10\/optimizar-chatbot-ia-whatsapp-botones-flows.webp\" alt=\"Two cell phones compare a long conversation using free-form text with a short one using buttons and a WhatsApp Flows form\"\/><figcaption class=\"wp-element-caption\">Illustrative example: Buttons and Flows condense into a single step what free-form text spreads out over several messages.<\/figcaption><\/figure>\n\n<p class=\"wp-block-paragraph\">Every message you avoid sending saves you <strong>the trouble of having to reread it later<\/strong>. If you&#8217;d like to set this up with us, we can do it through our <a href=\"https:\/\/www.agenciareinicia.com\/en\/service\/whatsapp-business-platform\/\">WhatsApp Business Platform<\/a> service. <\/p>\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#d9d0fb;padding-top:1.5rem;padding-right:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>What to Ask Your Supplier<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>How many history entries are sent?<\/strong>  Should it be cut down, summarized, or included in its entirety?<\/li>\n\n\n\n<li><strong>Which steps can be completed using buttons or Flows?<\/strong>  Each one is one turn fewer.<\/li>\n<\/ul>\n<\/div><\/div>\n\n<h2 id=\"respuestas-cortas\" class=\"wp-block-heading\">Short Answers: How to Control the Output<\/h2>\n\n<p class=\"wp-block-paragraph\">The output is the most expensive token: in the example model, <strong>a written token costs five times as much<\/strong> as a read token ($10 versus $2 per million on GPT-6.1 Sol). Asking the assistant to respond in two or three sentences, without repeating the customer\u2019s question, reduces Fisio Norte\u2019s response from 120 to 90 tokens. <\/p>\n\n<p class=\"wp-block-paragraph\">The direct savings are small, but <strong>it also shortens the history<\/strong> that is reviewed in subsequent shifts (at Fisio Norte, it goes from 240 to 195 tokens). There is a limit: a response that is too short compromises the quality of care. The useful guideline isn\u2019t simply \u201cbe brief,\u201d but rather \u201canswer the question in two or three sentences, and offer to provide more details.\u201d If the customer needs more information, a button (for example, \u201cView Details\u201d) provides it without the AI writing more than necessary.   <\/p>\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#d9d0fb;padding-top:1.5rem;padding-right:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>What to Ask Your Supplier<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Is there a configured response length limit?<\/strong>  So what is it?<\/li>\n\n\n\n<li><strong>How can you verify that the short answers still work?<\/strong>  For example, conversations that end with one person.<\/li>\n<\/ul>\n<\/div><\/div>\n\n<h2 id=\"agente-meta\" class=\"wp-block-heading\">Meta&#8217;s AI Agent: What You Can Control and What You Can&#8217;t<\/h2>\n\n<p class=\"wp-block-paragraph\">All of <strong>the<\/strong> above applies to <strong>third-party AI connected to your platform<\/strong>. Meta\u2019s AI agent works differently: it\u2019s billed by tokens\u2014$2 per million, according to its documentation\u2014and we explain Meta\u2019s other fees in the <a href=\"https:\/\/www.agenciareinicia.com\/en\/blog\/whatsapp-business-api-price-changes-in-october-2026-what-this-means-for-your-bill\/\">WhatsApp Business API pricing update<\/a>. It\u2019s worth knowing what profit margin this leaves.  <\/p>\n\n<h3 class=\"wp-block-heading\">Sources of Knowledge<\/h3>\n\n<p class=\"wp-block-paragraph\">According to Meta&#8217;s documentation, the agent draws on <strong>business information, FAQs, websites, and files<\/strong>, and is given instructions regarding tone, priorities, and brand voice. It can also connect to your systems via APIs and webhook subscriptions, and hand control over to your application in certain situations. <\/p>\n\n<p class=\"wp-block-paragraph\">In other words, <strong>the responsibility for properly preparing the information still falls on you<\/strong>: outdated FAQs or a disorganized website can lead to outdated or disorganized answers here as well. What the documentation doesn&#8217;t specify is how that information is broken down or how many segments the agent reads in each response. <\/p>\n\n<h3 class=\"wp-block-heading\">Token Usage<\/h3>\n\n<p class=\"wp-block-paragraph\">Meta states that <strong>a message typically consumes between 20,000 and 25,000 tokens<\/strong> (about 4 to 5 cents, or between 3.5 and 4.4 cents), and that simpler messages cost less. That amounts to between \u20ac35 and \u20ac44 per 1,000 responses. The documentation consulted does not mention which model is used or what it reads in each turn, nor does it describe cache, fragment, or history adjustments such as those discussed in this article.  <\/p>\n\n<p class=\"wp-block-paragraph\">In addition, <strong>the token charge also applies within the 72-hour free window for<\/strong> Click-to-WhatsApp. In practice, with Meta\u2019s agent, you control the instructions, the quality of the sources, and when to hand the conversation over to a human; Meta handles the processing of each response. <\/p>\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#d9d0fb;padding-top:1.5rem;padding-right:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>What to Ask Your Supplier<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>What sources feed the agent, and who updates them?<\/strong>  If the price changes, it must change there as well.<\/li>\n\n\n\n<li><strong>What usage data do we receive each month?<\/strong>  Tokens per message and total cost.<\/li>\n\n\n\n<li><strong>When and how does the conversation shift to a person?<\/strong>  Who receives it?<\/li>\n<\/ul>\n<\/div><\/div>\n\n<h2 id=\"medir\" class=\"wp-block-heading\">How to Determine If Optimization Is Working<\/h2>\n\n<p class=\"wp-block-paragraph\"><strong>Optimizing without measuring is just guesswork.<\/strong>  Three steps are all it takes to get started, and they&#8217;re all based on the usage data provided by the AI provider.<\/p>\n\n<h3 class=\"wp-block-heading\">Tokens per response and cache hit percentage<\/h3>\n\n<p class=\"wp-block-paragraph\">Each API response reports <strong>how many tokens were read, how many came from the cache, and how many were written<\/strong> (for example, ` <em>cached_tokens<\/em> ` in OpenAI or <em>`cache_read_input_tokens<\/em> ` in Anthropic). These metrics are used to calculate the average number of input tokens per response (the goal is to reduce this number without compromising quality) and the cache hit rate (the goal is to comfortably exceed the 21% equilibrium we saw earlier). <\/p>\n\n<h3 class=\"wp-block-heading\">Cost per 1,000 responses<\/h3>\n\n<p class=\"wp-block-paragraph\">This is the unit we\u2019ve used throughout the series because <strong>it allows us to compare different options<\/strong>. It\u2019s calculated by adding up the input tokens at their price, the output tokens at their price, and Meta\u2019s service fee (\u20ac0.0166 per response starting with the 1,001st response of the month and per number). To go beyond just the cost and measure the value the assistant provides, check out our guide on <a href=\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-calculate-the-roi-of-a-chatbot\/\">how to calculate a chatbot\u2019s ROI<\/a>.  <\/p>\n\n<h3 class=\"wp-block-heading\">Quality: Make Sure Cost-Cutting Doesn&#8217;t Compromise the Response<\/h3>\n\n<p class=\"wp-block-paragraph\">An assistant that reads less but answers worse doesn&#8217;t save anything. <strong>Before making any changes, save between 30 and 50 real questions<\/strong> (this is a working assumption, adjustable) along with the answer you consider correct, and rerun them after each change. Pay attention to three things: whether it gives the correct answer, whether it makes up an answer that isn\u2019t in its database, and whether it passes the question to a human when it should. <\/p>\n\n<p class=\"wp-block-paragraph\">If you&#8217;d like to check how your company&#8217;s chatbot is set up, we explain how we work <strong>on our WhatsApp Business for Businesses page<\/strong>: <a href=\"https:\/\/www.agenciareinicia.com\/en\/whatsapp-business-for-companies-automate-and-increase-your-sales\/\">WhatsApp Business for Businesses<\/a>.<\/p>\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#d9d0fb;padding-top:1.5rem;padding-right:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>What to Ask Your Supplier<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>What kind of monthly usage report do you provide me with?<\/strong>  Tokens per response, cache hits, and cost per 1,000 responses.<\/li>\n\n\n\n<li><strong>What test questions are used to validate each change?<\/strong>  Can I see the results?<\/li>\n<\/ul>\n<\/div><\/div>\n\n<p class=\"wp-block-paragraph\">And if you want to put a number on your volume, <strong>our WhatsApp cost calculator<\/strong> estimates your Meta bill starting October 1 and the team hours you save by automating responses. It does not include AI usage, which depends on the model and what your assistant reads (that\u2019s what the calculations in this article are for): <\/p>\n<div class=\"rw rw--completa\" id=\"rw-1\" data-perfil=\"uso\" data-cfg=\"{&quot;rates&quot;:{&quot;ES&quot;:{&quot;n&quot;:&quot;Spain&quot;,&quot;mkt&quot;:0.0585,&quot;util&quot;:0.0166},&quot;PT&quot;:{&quot;n&quot;:&quot;Portugal&quot;,&quot;mkt&quot;:0.049,&quot;util&quot;:0.0142},&quot;FR&quot;:{&quot;n&quot;:&quot;France&quot;,&quot;mkt&quot;:0.0712,&quot;util&quot;:0.0248},&quot;IT&quot;:{&quot;n&quot;:&quot;Italy&quot;,&quot;mkt&quot;:0.0658,&quot;util&quot;:0.0248},&quot;DE&quot;:{&quot;n&quot;:&quot;Germany&quot;,&quot;mkt&quot;:0.1131,&quot;util&quot;:0.0456},&quot;GB&quot;:{&quot;n&quot;:&quot;United Kingdom&quot;,&quot;mkt&quot;:0.0526,&quot;util&quot;:0.0182},&quot;US&quot;:{&quot;n&quot;:&quot;United States&quot;,&quot;mkt&quot;:0.0207,&quot;util&quot;:0.0028},&quot;MX&quot;:{&quot;n&quot;:&quot;Mexico&quot;,&quot;mkt&quot;:0.0329,&quot;util&quot;:0.0071},&quot;CO&quot;:{&quot;n&quot;:&quot;Colombia&quot;,&quot;mkt&quot;:0.0104,&quot;util&quot;:0.0008},&quot;AR&quot;:{&quot;n&quot;:&quot;Argentina&quot;,&quot;mkt&quot;:0.0512,&quot;util&quot;:0.0216},&quot;CL&quot;:{&quot;n&quot;:&quot;Chile&quot;,&quot;mkt&quot;:0.0736,&quot;util&quot;:0.0166},&quot;PE&quot;:{&quot;n&quot;:&quot;Peru&quot;,&quot;mkt&quot;:0.0582,&quot;util&quot;:0.0248},&quot;NL&quot;:{&quot;n&quot;:&quot;Netherlands&quot;,&quot;mkt&quot;:0.1323,&quot;util&quot;:0.0414},&quot;PL&quot;:{&quot;n&quot;:&quot;Poland&quot;,&quot;mkt&quot;:0.0303,&quot;util&quot;:0.0101},&quot;RO&quot;:{&quot;n&quot;:&quot;Romania&quot;,&quot;mkt&quot;:0.0712,&quot;util&quot;:0.0239},&quot;HU&quot;:{&quot;n&quot;:&quot;Hungary&quot;,&quot;mkt&quot;:0.0712,&quot;util&quot;:0.0289},&quot;WEU&quot;:{&quot;n&quot;:&quot;Rest of Western Europe&quot;,&quot;opt&quot;:&quot;Rest of Western Europe (Ireland, Portugal, Belgium, Nordics\\u2026)&quot;,&quot;mkt&quot;:0.049,&quot;util&quot;:0.0142},&quot;CEE&quot;:{&quot;n&quot;:&quot;Rest of Central &amp; Eastern Europe&quot;,&quot;opt&quot;:&quot;Rest of Central &amp; Eastern Europe (Czechia, Greece, Bulgaria\\u2026)&quot;,&quot;mkt&quot;:0.0712,&quot;util&quot;:0.0175}},&quot;free&quot;:1000,&quot;resp&quot;:5,&quot;precioMkt&quot;:0.075,&quot;kMkt&quot;:1.282051282051282,&quot;calcUrl&quot;:&quot;&quot;,&quot;campana&quot;:&quot;tarifas-whatsapp-2026&quot;,&quot;origen&quot;:&quot;web&quot;,&quot;waNumber&quot;:&quot;34621085325&quot;,&quot;waLink&quot;:&quot;https:\\\/\\\/wa.me\\\/message\\\/P5FJQV5NKNRAI1&quot;,&quot;rest&quot;:&quot;https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/wp-json\\\/rcw\\\/v1\\\/enviar&quot;,&quot;captacion&quot;:&quot;ambas&quot;,&quot;pagina&quot;:&quot;How to Get WhatsApp&#8217;s AI to Read Only What It Needs: RAG, Cache, and Instructions&quot;,&quot;locale&quot;:&quot;en-US&quot;,&quot;wpLocale&quot;:&quot;en_US&quot;,&quot;t&quot;:{&quot;multiN&quot;:&quot;Several countries&quot;,&quot;wa_hola&quot;:&quot;Hi, I&#039;ve used the WhatsApp Business API calculator on your website{pagina}.&quot;,&quot;wa_pagina&quot;:&quot; (\\u201c{t}\\u201d)&quot;,&quot;wa_multi&quot;:&quot;My case covers several countries. Could you calculate it for me?&quot;,&quot;wa_clientes&quot;:&quot;Customer country: {pais}&quot;,&quot;conv_mes&quot;:&quot;{n} conversations a month&quot;,&quot;serv_mes&quot;:&quot;{n} service replies a month&quot;,&quot;mens_campana&quot;:&quot;{n} campaign messages&quot;,&quot;plant_mkt&quot;:&quot;{n} marketing templates&quot;,&quot;un_numero&quot;:&quot;{n} number&quot;,&quot;varios_numeros&quot;:&quot;{n} numbers&quot;,&quot;wa_estim&quot;:&quot;Estimate: {x} a month.&quot;,&quot;wa_sube&quot;:&quot;My Meta bill goes up by {x} a month (from {a} to {b}).&quot;,&quot;wa_nosube&quot;:&quot;According to the calculation, my bill doesn&#039;t go up.&quot;,&quot;wa_fin&quot;:&quot;Could you send me the calculation in detail?&quot;,&quot;r_multi_k&quot;:&quot;Your case covers several countries&quot;,&quot;r_multi_big&quot;:&quot;We&#039;ll calculate it for you&quot;,&quot;r_multi_sub&quot;:&quot;The cost varies a lot depending on how you split messages between countries: a marketing template costs {co} to Colombia and {de} to Germany. Tell us your countries and volumes and we&#039;ll prepare it for you within 48 hours.&quot;,&quot;calc_un_pais&quot;:&quot;See the calculator for a single country \\u2192&quot;,&quot;r_kick&quot;:&quot;Your result \\u00b7 {pais}&quot;,&quot;r_nuevo_big&quot;:&quot;\\u2248 {x} a month&quot;,&quot;r_nuevo_sub&quot;:&quot;That&#039;s what you would pay in WhatsApp Business API messages.&quot;,&quot;l_conv&quot;:&quot;Conversations a month&quot;,&quot;l_conv_v&quot;:&quot;{c} \\u2192 {r} replies&quot;,&quot;calc_completo&quot;:&quot;See the full calculation \\u2192&quot;,&quot;r_sube_big&quot;:&quot;+{x} a month&quot;,&quot;r_sube_sub&quot;:&quot;Your Meta bill goes from {a} to {b} a month{pct}.&quot;,&quot;pct&quot;:&quot; (+{p}%)&quot;,&quot;calc_reducir&quot;:&quot;See how to reduce it \\u2192&quot;,&quot;r_nosube_big&quot;:&quot;Your bill doesn&#039;t go up&quot;,&quot;r_nosube_sub&quot;:&quot;With {s} service replies you stay within the {f} free replies a month.&quot;,&quot;r_sigues&quot;:&quot; You still pay {x} a month in marketing templates.&quot;,&quot;calc_reducir_ya&quot;:&quot;See how to reduce what you already pay \\u2192&quot;,&quot;calc_abrir&quot;:&quot;Open the full calculator \\u2192&quot;,&quot;l_gratis&quot;:&quot;Free replies ({f} per number)&quot;,&quot;l_cobradas&quot;:&quot;Charged replies \\u00d7 {t}&quot;,&quot;l_campana&quot;:&quot;Campaign messages \\u00d7 {t}&quot;,&quot;l_mkt&quot;:&quot;Marketing templates \\u00d7 {t}&quot;,&quot;n_margen_campana&quot;:&quot;Campaign messages at {t}: Meta&#039;s official rate ({o}) plus the usual platform and reseller margin. Service replies at the official rate, with no margin. Platform license not included.&quot;,&quot;n_margen_mkt&quot;:&quot;Marketing messages at {t}: Meta&#039;s official rate ({o}) plus the usual platform and reseller margin. Service replies at the official rate, with no margin. Platform license not included.&quot;,&quot;n_oficial&quot;:&quot;Meta&#039;s official rate, without your platform&#039;s margin or license.&quot;,&quot;n_resp&quot;:&quot; We assume {n} replies per conversation.&quot;,&quot;n_util&quot;:&quot; Utility templates sent within the 24-hour window are charged separately, from the first one.&quot;,&quot;e_conv&quot;:&quot;Enter how many conversations you have a month. If you&#039;re not sure, an estimate will do.&quot;,&quot;e_serv&quot;:&quot;Enter how many service replies you send a month. If you&#039;re not sure, an estimate will do.&quot;,&quot;m_email&quot;:&quot;Please check your email: it doesn&#039;t look valid.&quot;,&quot;m_consent&quot;:&quot;Tick the privacy box so we can send it to you.&quot;,&quot;m_enviando&quot;:&quot;Sending\\u2026&quot;,&quot;m_ok&quot;:&quot;Sent. Check your inbox (and your spam folder, just in case).&quot;,&quot;m_err&quot;:&quot;We couldn&#039;t send it. Message us on WhatsApp and we&#039;ll send it to you.&quot;}}\">\n  <div class=\"rw-in\">\n  <div class=\"rw-pitch\">\n    <span class=\"rw-pill\">Free calculator<\/span>\n    <h3 class=\"rw-title\">How much will your WhatsApp Business API bill go up?<\/h3>\n    <p class=\"rw-text\">Since October 1, Meta charges for service replies. Enter the figures for a typical month and see right here how much your bill changes.<\/p>\n        <ul class=\"rw-facts\">\n      <li><b>\u20ac0.0028<\/b><span>per service reply (United States), from the 1,001st reply of the month<\/span><\/li>\n      <li><b>1,000<\/b><span>free replies a month per number<\/span><\/li>\n      <li><b>\u20ac0.0265<\/b><span>per marketing template (United States)<\/span><\/li>\n    <\/ul>\n    <p class=\"rw-fnote\">Meta&#039;s official price per marketing message (United States) is \u20ac0.0207; the rest is the usual platform and reseller margin. Service replies carry no margin.<\/p>      <\/div>\n\n  <div class=\"rw-card\" id=\"rw-1-card\">\n    <form class=\"rw-form\" novalidate>\n            <div class=\"rw-ftitle\"><span class=\"rw-only-uso\">A typical month on your WhatsApp<\/span><span class=\"rw-only-nuevo\">A typical month for your business<\/span><\/div>\n\n      <div class=\"rw-f\"><label for=\"rw-1-pais\">Where are your customers?<\/label>\n        <div class=\"rw-wrap rw-sel\"><select id=\"rw-1-pais\" data-p=\"pais\">\n          <option value=\"US\" selected='selected'>United States<\/option><option value=\"GB\">United Kingdom<\/option><optgroup label=\"Europe\"><option value=\"DE\">Germany<\/option><option value=\"FR\">France<\/option><option value=\"IT\">Italy<\/option><option value=\"ES\">Spain<\/option><option value=\"NL\">Netherlands<\/option><option value=\"PL\">Poland<\/option><option value=\"RO\">Romania<\/option><option value=\"HU\">Hungary<\/option><option value=\"WEU\">Rest of Western Europe (Ireland, Portugal, Belgium, Nordics\u2026)<\/option><option value=\"CEE\">Rest of Central &amp; Eastern Europe (Czechia, Greece, Bulgaria\u2026)<\/option><\/optgroup><optgroup label=\"Latin America\"><option value=\"MX\">Mexico<\/option><option value=\"CO\">Colombia<\/option><option value=\"AR\">Argentina<\/option><option value=\"CL\">Chile<\/option><option value=\"PE\">Peru<\/option><\/optgroup>          <option value=\"MULTI\">Several countries<\/option>\n        <\/select><\/div>\n      <\/div>\n\n      <div class=\"rw-f rw-only-uso\"><label for=\"rw-1-serv\">Service replies a month <span class=\"rw-req\">*<\/span><\/label>\n        <div class=\"rw-wrap\"><input id=\"rw-1-serv\" type=\"number\" min=\"0\" inputmode=\"numeric\" data-p=\"serv\" placeholder=\"E.g. 8000\"><span class=\"rw-unit\">msgs<\/span><\/div>\n        <div class=\"rw-hint\">What your team or bot replies within the 24-hour window<\/div><\/div>\n\n      <div class=\"rw-f rw-only-nuevo\"><label for=\"rw-1-conv\">Customer conversations a month <span class=\"rw-req\">*<\/span><\/label>\n        <div class=\"rw-wrap\"><input id=\"rw-1-conv\" type=\"number\" min=\"0\" inputmode=\"numeric\" data-p=\"conv\" placeholder=\"E.g. 1500\"><span class=\"rw-unit\">conv.<\/span><\/div>\n        <div class=\"rw-hint\">Customers who message you and you reply to<\/div><\/div>\n\n      <div class=\"rw-row\">\n        <div class=\"rw-f\"><label for=\"rw-1-mkt\"><span class=\"rw-only-uso\">Marketing templates a month<\/span><span class=\"rw-only-nuevo\">Campaign messages a month<\/span><\/label>\n          <div class=\"rw-wrap\"><input id=\"rw-1-mkt\" type=\"number\" min=\"0\" inputmode=\"numeric\" data-p=\"mkt\" value=\"0\"><span class=\"rw-unit\">msgs<\/span><\/div><\/div>\n        <div class=\"rw-f\"><label for=\"rw-1-nums\">WhatsApp numbers<\/label>\n          <div class=\"rw-wrap\"><input id=\"rw-1-nums\" type=\"number\" min=\"1\" inputmode=\"numeric\" data-p=\"nums\" value=\"1\"><span class=\"rw-unit\">no.<\/span><\/div><\/div>\n      <\/div>\n\n      <div class=\"rw-err\" role=\"alert\" hidden><\/div>\n      <button class=\"rw-btn rw-go\" type=\"button\">Calculate my case <span aria-hidden=\"true\">\u2192<\/span><\/button>\n      <p class=\"rw-priv\"><svg width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><rect x=\"4\" y=\"11\" width=\"16\" height=\"10\" rx=\"2\"\/><path d=\"M8 11V7a4 4 0 0 1 8 0v4\"\/><\/svg>The calculation runs in your browser. We don&#039;t store any data.<\/p>\n    <\/form>\n\n    <div class=\"rw-result\" hidden aria-live=\"polite\">\n      <div class=\"rw-rkicker\"><\/div>\n      <div class=\"rw-big\"><\/div>\n      <p class=\"rw-rsub\"><\/p>\n      <dl class=\"rw-lines\"><\/dl>\n      <p class=\"rw-note\"><\/p>\n      <a class=\"rw-btn rw-calc\" target=\"_blank\" rel=\"noopener\"><\/a>\n            <div class=\"rw-capt\">\n        <div class=\"rw-capt-t\">Shall we talk? We&#039;ll send it to you in detail<\/div>\n                <a class=\"rw-btn rw-wa\" target=\"_blank\" rel=\"noopener\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M17.5 14.4c-.3-.1-1.8-.9-2-1-.3-.1-.5-.1-.7.1-.2.3-.8 1-.9 1.2-.2.2-.3.2-.6.1-.3-.1-1.3-.5-2.4-1.5-.9-.8-1.5-1.8-1.7-2.1-.2-.3 0-.5.1-.6l.5-.6c.2-.2.2-.3.3-.5.1-.2 0-.4 0-.5l-.9-2.2c-.2-.6-.5-.5-.7-.5h-.6c-.2 0-.5.1-.8.4-.3.3-1 1-1 2.5s1.1 2.9 1.2 3.1c.2.2 2.1 3.2 5.1 4.5.7.3 1.3.5 1.7.6.7.2 1.4.2 1.9.1.6-.1 1.8-.7 2-1.4.2-.7.2-1.3.2-1.4-.1-.2-.3-.3-.6-.4zM12 2C6.5 2 2 6.5 2 12c0 1.8.5 3.5 1.3 5L2 22l5.2-1.4c1.4.8 3.1 1.2 4.8 1.2 5.5 0 10-4.5 10-10S17.5 2 12 2z\"\/><\/svg>Get it on WhatsApp<\/a>\n                        <form class=\"rw-mail\" novalidate>\n          <label class=\"rw-sr\" for=\"rw-1-email\">Your email<\/label>\n          <div class=\"rw-mail-row\"><input id=\"rw-1-email\" type=\"email\" autocomplete=\"email\" placeholder=\"you@company.com\" data-p=\"email\"><button class=\"rw-btn rw-ghost\" type=\"submit\">Get it by email<\/button><\/div>\n          <input type=\"text\" name=\"web\" class=\"rw-hp\" tabindex=\"-1\" autocomplete=\"off\" aria-hidden=\"true\">\n          <label class=\"rw-consent\"><input type=\"checkbox\" data-p=\"consent\"> <span>I accept the <a href=\"https:\/\/www.agenciareinicia.com\/en\/privacy-and-cookie-policy\/\" target=\"_blank\" rel=\"noopener\">privacy policy<\/a>. We&#039;ll use your email to send you this calculation and contact you about it.<\/span><\/label>\n          <div class=\"rw-mail-msg\" role=\"status\" hidden><\/div>\n        <\/form>\n              <\/div>\n            <button class=\"rw-back\" type=\"button\">\u2190 Change my figures<\/button>\n    <\/div>\n  <\/div>\n  <\/div>\n  <\/div>\n\n\n\t<section id=\"faq\" class=\"reinicia-faq\">\n\n\t\t\t\t\t<h2 class=\"reinicia-faq__titulo\">Preguntas frecuentes<\/h2>\n\t\t\n\t\t<div class=\"reinicia-faq__lista\">\n\n\t\t\t\t\t\t\t\n\t\t\t\t<details\n\t\t\t\t\tclass=\"reinicia-faq__item\"\n\t\t\t\t\tid=\"faq-que-es-el-rag-en-un-chatbot-de-whatsapp\"\n\t\t\t\t\t name=\"faq-grupo\"\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t<summary class=\"reinicia-faq__pregunta\">\n\t\t\t\t\t\t<h3 class=\"reinicia-faq__pregunta-texto\">\u00bfQu\u00e9 es el RAG en un chatbot de WhatsApp?<\/h3>\n\t\t\t\t\t<\/summary>\n\t\t\t\t\t<div class=\"reinicia-faq__respuesta\">\n\t\t\t\t\t\t<p>Es la t\u00e9cnica que <strong>divide el conocimiento del negocio en fragmentos<\/strong> y env\u00eda a la IA solo los que se parecen a la pregunta del cliente, en lugar de todo el conocimiento. La respuesta es la misma, pero la IA lee mucho menos, y la lectura es lo que m\u00e1s pesa en la factura.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t<\/details>\n\n\t\t\t\t\t\t\t\n\t\t\t\t<details\n\t\t\t\t\tclass=\"reinicia-faq__item\"\n\t\t\t\t\tid=\"faq-la-cache-de-entrada-es-automatica-o-hay-que-activarla\"\n\t\t\t\t\t name=\"faq-grupo\"\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t<summary class=\"reinicia-faq__pregunta\">\n\t\t\t\t\t\t<h3 class=\"reinicia-faq__pregunta-texto\">\u00bfLa cach\u00e9 de entrada es autom\u00e1tica o hay que activarla?<\/h3>\n\t\t\t\t\t<\/summary>\n\t\t\t\t\t<div class=\"reinicia-faq__respuesta\">\n\t\t\t\t\t\t<p>Depende del proveedor. <strong>En OpenAI es autom\u00e1tica<\/strong> (a partir de 1.024 tokens), en Google la impl\u00edcita viene activada por defecto y en Anthropic hay que indicarla en la petici\u00f3n. Pregunta a tu proveedor si est\u00e1 activa y qu\u00e9 porcentaje de aciertos tiene.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t<\/details>\n\n\t\t\t\t\t\t\t\n\t\t\t\t<details\n\t\t\t\t\tclass=\"reinicia-faq__item\"\n\t\t\t\t\tid=\"faq-cuanto-se-ahorra-optimizando-un-chatbot-de-ia\"\n\t\t\t\t\t name=\"faq-grupo\"\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t<summary class=\"reinicia-faq__pregunta\">\n\t\t\t\t\t\t<h3 class=\"reinicia-faq__pregunta-texto\">\u00bfCu\u00e1nto se ahorra optimizando un chatbot de IA?<\/h3>\n\t\t\t\t\t<\/summary>\n\t\t\t\t\t<div class=\"reinicia-faq__respuesta\">\n\t\t\t\t\t\t<p>Depende del punto de partida y del modelo. En el caso ilustrativo de Fisio Norte, <strong>la lectura baja un 81 %<\/strong> (de 20.940 a 3.935 tokens) y el coste por 1.000 respuestas con una IA avanzada pasa de 54,39 \u20ac a 24,29 \u20ac. Con una IA ligera el ahorro es peque\u00f1o, porque casi todo es tarifa de Meta.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t<\/details>\n\n\t\t\t\t\t\t\t\n\t\t\t\t<details\n\t\t\t\t\tclass=\"reinicia-faq__item\"\n\t\t\t\t\tid=\"faq-recortar-lo-que-lee-la-ia-empeora-sus-respuestas\"\n\t\t\t\t\t name=\"faq-grupo\"\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t<summary class=\"reinicia-faq__pregunta\">\n\t\t\t\t\t\t<h3 class=\"reinicia-faq__pregunta-texto\">\u00bfRecortar lo que lee la IA empeora sus respuestas?<\/h3>\n\t\t\t\t\t<\/summary>\n\t\t\t\t\t<div class=\"reinicia-faq__respuesta\">\n\t\t\t\t\t\t<p>No tiene por qu\u00e9, pero <strong>hay que comprobarlo con preguntas reales<\/strong>. Guarda un conjunto de preguntas con su respuesta correcta y vuelve a lanzarlas tras cada cambio. Si falta informaci\u00f3n en alguna respuesta, sube el n\u00famero de fragmentos recuperados.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t<\/details>\n\n\t\t\t\t\t\t\t\n\t\t\t\t<details\n\t\t\t\t\tclass=\"reinicia-faq__item\"\n\t\t\t\t\tid=\"faq-se-puede-optimizar-el-agente-de-ia-de-meta\"\n\t\t\t\t\t name=\"faq-grupo\"\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t<summary class=\"reinicia-faq__pregunta\">\n\t\t\t\t\t\t<h3 class=\"reinicia-faq__pregunta-texto\">\u00bfSe puede optimizar el agente de IA de Meta?<\/h3>\n\t\t\t\t\t<\/summary>\n\t\t\t\t\t<div class=\"reinicia-faq__respuesta\">\n\t\t\t\t\t\t<p>Solo en parte. Puedes cuidar <strong>las fuentes de conocimiento y las instrucciones<\/strong>, pero la documentaci\u00f3n de Meta consultada no describe ajustes sobre qu\u00e9 lee en cada respuesta ni sobre su consumo de tokens.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t<\/details>\n\n\t\t\t\n\t\t<\/div>\n\n\t\t\n\t<\/section>\n\n\n<div class=\"wp-block-columns has-yellow-background-color has-background is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column has-black-color has-text-color is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-xl-font-size wp-block-paragraph\">We check what your assistant reads and <strong>make sure it reads only what it needs to_<\/strong><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-buttons is-vertical is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-569b4b61 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-white-color has-blue-background-color has-text-color has-background wp-element-button\" href=\"https:\/\/www.agenciareinicia.com\/en\/service\/chatbot-for-business\/\">View AI-powered chatbot service<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#f5f5f5;padding-top:1.5rem;padding-right:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>About the sources for this article<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OpenAI Cache: <a href=\"https:\/\/developers.openai.com\/api\/docs\/guides\/prompt-caching\" target=\"_blank\" rel=\"noreferrer noopener\">Guide to Prompt Caching<\/a> and <a href=\"https:\/\/developers.openai.com\/api\/docs\/pricing\" target=\"_blank\" rel=\"noreferrer noopener\">API Pricing<\/a>. Anthropic: <a href=\"https:\/\/platform.claude.com\/docs\/en\/build-with-claude\/prompt-caching\" target=\"_blank\" rel=\"noreferrer noopener\">Guide to Prompt Caching<\/a>. Google: <a href=\"https:\/\/ai.google.dev\/gemini-api\/docs\/caching\" target=\"_blank\" rel=\"noreferrer noopener\">Context cache<\/a> and <a href=\"https:\/\/ai.google.dev\/gemini-api\/docs\/pricing\" target=\"_blank\" rel=\"noreferrer noopener\">Gemini API pricing<\/a>. Meta: <a href=\"https:\/\/developers.facebook.com\/documentation\/business-messaging\/whatsapp\/pricing\/non-template-messages\" target=\"_blank\" rel=\"noreferrer noopener\">Pricing for template-free messages<\/a> and <a href=\"https:\/\/developers.facebook.com\/documentation\/meta-business-agent\/overview\" target=\"_blank\" rel=\"noreferrer noopener\">an overview of Meta Business Agent<\/a>. Accessed October 14, 2026; exchange rate used in the series: 1 \u20ac = 1.14 $. <strong>Calculations are by Reinicia, and Fisio Norte is an illustrative example<\/strong>. The sizes and number of fragments, history turns, and test questions are working assumptions, not recommendations from any provider.     <\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>How to Set Up an AI Chatbot on WhatsApp to Read Only What It Needs: RAG, Cache, Instructions, History, and Metrics, Using Fisio Norte as an Example.<\/p>\n","protected":false},"author":6,"featured_media":23721,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_editorskit_title_hidden":false,"_editorskit_reading_time":0,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","footnotes":""},"categories":[1271],"tags":[961,1321,1311],"class_list":["post-23715","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-whatsapp-business","tag-artificial-intelligence","tag-waba","tag-whatsapp-business-api"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Optimizing an AI Chatbot on WhatsApp: RAG and Cache<\/title>\n<meta name=\"description\" content=\"How to Set Up an AI Chatbot on WhatsApp to Read Only What It Needs: RAG, Cache, Instructions, and Metrics, Using Fisio Norte as an Example.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Optimizing an AI Chatbot on WhatsApp: RAG and Cache\" \/>\n<meta property=\"og:description\" content=\"How to Set Up an AI Chatbot on WhatsApp to Read Only What It Needs: RAG, Cache, Instructions, and Metrics, Using Fisio Norte as an Example.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/\" \/>\n<meta property=\"og:site_name\" content=\"Reinicia Agency\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Agencia-Reinicia-1598121037162392\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-14T12:50:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-20T09:40:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2026\/10\/optimizar-chatbot-ia-whatsapp-cabecera.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1672\" \/>\n\t<meta property=\"og:image:height\" content=\"941\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Nestor Tejero Bermejo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AgenciaReinicia\" \/>\n<meta name=\"twitter:site\" content=\"@AgenciaReinicia\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nestor Tejero Bermejo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"21 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/\"},\"author\":{\"name\":\"Nestor Tejero Bermejo\",\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/#\\\/schema\\\/person\\\/8193cc38cad46591603fe3665f7cb99e\"},\"headline\":\"How to Get WhatsApp&#8217;s AI to Read Only What It Needs: RAG, Cache, and Instructions\",\"datePublished\":\"2026-10-14T12:50:17+00:00\",\"dateModified\":\"2026-10-20T09:40:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/\"},\"wordCount\":4269,\"publisher\":{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.agenciareinicia.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/optimizar-chatbot-ia-whatsapp-cabecera.webp\",\"keywords\":[\"artificial intelligence\",\"WABA\",\"WhatsApp Business API\"],\"articleSection\":[\"Whatsapp Business\"],\"inLanguage\":\"en-US\"},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/\",\"url\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/\",\"name\":\"Optimizing an AI Chatbot on WhatsApp: RAG and Cache\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.agenciareinicia.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/optimizar-chatbot-ia-whatsapp-cabecera.webp\",\"datePublished\":\"2026-10-14T12:50:17+00:00\",\"dateModified\":\"2026-10-20T09:40:39+00:00\",\"description\":\"How to Set Up an AI Chatbot on WhatsApp to Read Only What It Needs: RAG, Cache, Instructions, and Metrics, Using Fisio Norte as an Example.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/\"]}],\"mainEntity\":[{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-que-es-el-rag-en-un-chatbot-de-whatsapp\"},{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-la-cache-de-entrada-es-automatica-o-hay-que-activarla\"},{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-cuanto-se-ahorra-optimizando-un-chatbot-de-ia\"},{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-recortar-lo-que-lee-la-ia-empeora-sus-respuestas\"},{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-se-puede-optimizar-el-agente-de-ia-de-meta\"}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.agenciareinicia.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/optimizar-chatbot-ia-whatsapp-cabecera.webp\",\"contentUrl\":\"https:\\\/\\\/www.agenciareinicia.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/optimizar-chatbot-ia-whatsapp-cabecera.webp\",\"width\":1672,\"height\":941,\"caption\":\"A team in an office with a laptop, a graphics monitor, and a cell phone with a chat app, working on an AI chatbot for WhatsApp\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home page\",\"item\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Get WhatsApp&#8217;s AI to Read Only What It Needs: RAG, Cache, and Instructions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/\",\"name\":\"Reinicia Agency\",\"description\":\"On-line Strategy and Marketing Consulting\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/#organization\",\"name\":\"Reinicia Agency\",\"url\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.agenciareinicia.com\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/logo_black-svg.svg\",\"contentUrl\":\"https:\\\/\\\/www.agenciareinicia.com\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/logo_black-svg.svg\",\"width\":363,\"height\":76,\"caption\":\"Reinicia Agency\"},\"image\":{\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Agencia-Reinicia-1598121037162392\\\/\",\"https:\\\/\\\/x.com\\\/AgenciaReinicia\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/agencia-reinicia\\\/mycompany\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCZaKGiEo0DoiSAyvtTtLflg\",\"https:\\\/\\\/www.instagram.com\\\/agenciareinicia\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/#\\\/schema\\\/person\\\/8193cc38cad46591603fe3665f7cb99e\",\"name\":\"Nestor Tejero Bermejo\",\"url\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/author\\\/nestor-tejero-bermejo\\\/\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-que-es-el-rag-en-un-chatbot-de-whatsapp\",\"position\":1,\"url\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-que-es-el-rag-en-un-chatbot-de-whatsapp\",\"name\":\"\u00bfQu\u00e9 es el RAG en un chatbot de WhatsApp?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>Es la t\u00e9cnica que <strong>divide el conocimiento del negocio en fragmentos<\\\/strong> y env\u00eda a la IA solo los que se parecen a la pregunta del cliente, en lugar de todo el conocimiento. La respuesta es la misma, pero la IA lee mucho menos, y la lectura es lo que m\u00e1s pesa en la factura.<\\\/p>\"}},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-la-cache-de-entrada-es-automatica-o-hay-que-activarla\",\"position\":2,\"url\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-la-cache-de-entrada-es-automatica-o-hay-que-activarla\",\"name\":\"\u00bfLa cach\u00e9 de entrada es autom\u00e1tica o hay que activarla?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>Depende del proveedor. <strong>En OpenAI es autom\u00e1tica<\\\/strong> (a partir de 1.024 tokens), en Google la impl\u00edcita viene activada por defecto y en Anthropic hay que indicarla en la petici\u00f3n. Pregunta a tu proveedor si est\u00e1 activa y qu\u00e9 porcentaje de aciertos tiene.<\\\/p>\"}},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-cuanto-se-ahorra-optimizando-un-chatbot-de-ia\",\"position\":3,\"url\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-cuanto-se-ahorra-optimizando-un-chatbot-de-ia\",\"name\":\"\u00bfCu\u00e1nto se ahorra optimizando un chatbot de IA?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>Depende del punto de partida y del modelo. En el caso ilustrativo de Fisio Norte, <strong>la lectura baja un 81 %<\\\/strong> (de 20.940 a 3.935 tokens) y el coste por 1.000 respuestas con una IA avanzada pasa de 54,39 \u20ac a 24,29 \u20ac. Con una IA ligera el ahorro es peque\u00f1o, porque casi todo es tarifa de Meta.<\\\/p>\"}},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-recortar-lo-que-lee-la-ia-empeora-sus-respuestas\",\"position\":4,\"url\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-recortar-lo-que-lee-la-ia-empeora-sus-respuestas\",\"name\":\"\u00bfRecortar lo que lee la IA empeora sus respuestas?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>No tiene por qu\u00e9, pero <strong>hay que comprobarlo con preguntas reales<\\\/strong>. Guarda un conjunto de preguntas con su respuesta correcta y vuelve a lanzarlas tras cada cambio. Si falta informaci\u00f3n en alguna respuesta, sube el n\u00famero de fragmentos recuperados.<\\\/p>\"}},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-se-puede-optimizar-el-agente-de-ia-de-meta\",\"position\":5,\"url\":\"https:\\\/\\\/www.agenciareinicia.com\\\/en\\\/blog\\\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\\\/#faq-se-puede-optimizar-el-agente-de-ia-de-meta\",\"name\":\"\u00bfSe puede optimizar el agente de IA de Meta?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>Solo en parte. Puedes cuidar <strong>las fuentes de conocimiento y las instrucciones<\\\/strong>, pero la documentaci\u00f3n de Meta consultada no describe ajustes sobre qu\u00e9 lee en cada respuesta ni sobre su consumo de tokens.<\\\/p>\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Optimizing an AI Chatbot on WhatsApp: RAG and Cache","description":"How to Set Up an AI Chatbot on WhatsApp to Read Only What It Needs: RAG, Cache, Instructions, and Metrics, Using Fisio Norte as an Example.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/","og_locale":"en_US","og_type":"article","og_title":"Optimizing an AI Chatbot on WhatsApp: RAG and Cache","og_description":"How to Set Up an AI Chatbot on WhatsApp to Read Only What It Needs: RAG, Cache, Instructions, and Metrics, Using Fisio Norte as an Example.","og_url":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/","og_site_name":"Reinicia Agency","article_publisher":"https:\/\/www.facebook.com\/Agencia-Reinicia-1598121037162392\/","article_published_time":"2026-10-14T12:50:17+00:00","article_modified_time":"2026-10-20T09:40:39+00:00","og_image":[{"width":1672,"height":941,"url":"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2026\/10\/optimizar-chatbot-ia-whatsapp-cabecera.webp","type":"image\/webp"}],"author":"Nestor Tejero Bermejo","twitter_card":"summary_large_image","twitter_creator":"@AgenciaReinicia","twitter_site":"@AgenciaReinicia","twitter_misc":{"Written by":"Nestor Tejero Bermejo","Est. reading time":"21 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#article","isPartOf":{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/"},"author":{"name":"Nestor Tejero Bermejo","@id":"https:\/\/www.agenciareinicia.com\/en\/#\/schema\/person\/8193cc38cad46591603fe3665f7cb99e"},"headline":"How to Get WhatsApp&#8217;s AI to Read Only What It Needs: RAG, Cache, and Instructions","datePublished":"2026-10-14T12:50:17+00:00","dateModified":"2026-10-20T09:40:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/"},"wordCount":4269,"publisher":{"@id":"https:\/\/www.agenciareinicia.com\/en\/#organization"},"image":{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2026\/10\/optimizar-chatbot-ia-whatsapp-cabecera.webp","keywords":["artificial intelligence","WABA","WhatsApp Business API"],"articleSection":["Whatsapp Business"],"inLanguage":"en-US"},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/","url":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/","name":"Optimizing an AI Chatbot on WhatsApp: RAG and Cache","isPartOf":{"@id":"https:\/\/www.agenciareinicia.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#primaryimage"},"image":{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2026\/10\/optimizar-chatbot-ia-whatsapp-cabecera.webp","datePublished":"2026-10-14T12:50:17+00:00","dateModified":"2026-10-20T09:40:39+00:00","description":"How to Set Up an AI Chatbot on WhatsApp to Read Only What It Needs: RAG, Cache, Instructions, and Metrics, Using Fisio Norte as an Example.","breadcrumb":{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/"]}],"mainEntity":[{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-que-es-el-rag-en-un-chatbot-de-whatsapp"},{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-la-cache-de-entrada-es-automatica-o-hay-que-activarla"},{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-cuanto-se-ahorra-optimizando-un-chatbot-de-ia"},{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-recortar-lo-que-lee-la-ia-empeora-sus-respuestas"},{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-se-puede-optimizar-el-agente-de-ia-de-meta"}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#primaryimage","url":"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2026\/10\/optimizar-chatbot-ia-whatsapp-cabecera.webp","contentUrl":"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2026\/10\/optimizar-chatbot-ia-whatsapp-cabecera.webp","width":1672,"height":941,"caption":"A team in an office with a laptop, a graphics monitor, and a cell phone with a chat app, working on an AI chatbot for WhatsApp"},{"@type":"BreadcrumbList","@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home page","item":"https:\/\/www.agenciareinicia.com\/en\/"},{"@type":"ListItem","position":2,"name":"How to Get WhatsApp&#8217;s AI to Read Only What It Needs: RAG, Cache, and Instructions"}]},{"@type":"WebSite","@id":"https:\/\/www.agenciareinicia.com\/en\/#website","url":"https:\/\/www.agenciareinicia.com\/en\/","name":"Reinicia Agency","description":"On-line Strategy and Marketing Consulting","publisher":{"@id":"https:\/\/www.agenciareinicia.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.agenciareinicia.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.agenciareinicia.com\/en\/#organization","name":"Reinicia Agency","url":"https:\/\/www.agenciareinicia.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.agenciareinicia.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2021\/03\/logo_black-svg.svg","contentUrl":"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2021\/03\/logo_black-svg.svg","width":363,"height":76,"caption":"Reinicia Agency"},"image":{"@id":"https:\/\/www.agenciareinicia.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Agencia-Reinicia-1598121037162392\/","https:\/\/x.com\/AgenciaReinicia","https:\/\/www.linkedin.com\/company\/agencia-reinicia\/mycompany\/","https:\/\/www.youtube.com\/channel\/UCZaKGiEo0DoiSAyvtTtLflg","https:\/\/www.instagram.com\/agenciareinicia\/"]},{"@type":"Person","@id":"https:\/\/www.agenciareinicia.com\/en\/#\/schema\/person\/8193cc38cad46591603fe3665f7cb99e","name":"Nestor Tejero Bermejo","url":"https:\/\/www.agenciareinicia.com\/en\/blog\/author\/nestor-tejero-bermejo\/"},{"@type":"Question","@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-que-es-el-rag-en-un-chatbot-de-whatsapp","position":1,"url":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-que-es-el-rag-en-un-chatbot-de-whatsapp","name":"\u00bfQu\u00e9 es el RAG en un chatbot de WhatsApp?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"<p>Es la t\u00e9cnica que <strong>divide el conocimiento del negocio en fragmentos<\/strong> y env\u00eda a la IA solo los que se parecen a la pregunta del cliente, en lugar de todo el conocimiento. La respuesta es la misma, pero la IA lee mucho menos, y la lectura es lo que m\u00e1s pesa en la factura.<\/p>"}},{"@type":"Question","@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-la-cache-de-entrada-es-automatica-o-hay-que-activarla","position":2,"url":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-la-cache-de-entrada-es-automatica-o-hay-que-activarla","name":"\u00bfLa cach\u00e9 de entrada es autom\u00e1tica o hay que activarla?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"<p>Depende del proveedor. <strong>En OpenAI es autom\u00e1tica<\/strong> (a partir de 1.024 tokens), en Google la impl\u00edcita viene activada por defecto y en Anthropic hay que indicarla en la petici\u00f3n. Pregunta a tu proveedor si est\u00e1 activa y qu\u00e9 porcentaje de aciertos tiene.<\/p>"}},{"@type":"Question","@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-cuanto-se-ahorra-optimizando-un-chatbot-de-ia","position":3,"url":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-cuanto-se-ahorra-optimizando-un-chatbot-de-ia","name":"\u00bfCu\u00e1nto se ahorra optimizando un chatbot de IA?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"<p>Depende del punto de partida y del modelo. En el caso ilustrativo de Fisio Norte, <strong>la lectura baja un 81 %<\/strong> (de 20.940 a 3.935 tokens) y el coste por 1.000 respuestas con una IA avanzada pasa de 54,39 \u20ac a 24,29 \u20ac. Con una IA ligera el ahorro es peque\u00f1o, porque casi todo es tarifa de Meta.<\/p>"}},{"@type":"Question","@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-recortar-lo-que-lee-la-ia-empeora-sus-respuestas","position":4,"url":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-recortar-lo-que-lee-la-ia-empeora-sus-respuestas","name":"\u00bfRecortar lo que lee la IA empeora sus respuestas?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"<p>No tiene por qu\u00e9, pero <strong>hay que comprobarlo con preguntas reales<\/strong>. Guarda un conjunto de preguntas con su respuesta correcta y vuelve a lanzarlas tras cada cambio. Si falta informaci\u00f3n en alguna respuesta, sube el n\u00famero de fragmentos recuperados.<\/p>"}},{"@type":"Question","@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-se-puede-optimizar-el-agente-de-ia-de-meta","position":5,"url":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-get-whatsapps-ai-to-read-only-what-it-needs-rag-cache-and-instructions\/#faq-se-puede-optimizar-el-agente-de-ia-de-meta","name":"\u00bfSe puede optimizar el agente de IA de Meta?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"<p>Solo en parte. Puedes cuidar <strong>las fuentes de conocimiento y las instrucciones<\/strong>, pero la documentaci\u00f3n de Meta consultada no describe ajustes sobre qu\u00e9 lee en cada respuesta ni sobre su consumo de tokens.<\/p>"}}]}},"_links":{"self":[{"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/posts\/23715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/comments?post=23715"}],"version-history":[{"count":1,"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/posts\/23715\/revisions"}],"predecessor-version":[{"id":23722,"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/posts\/23715\/revisions\/23722"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/media\/23721"}],"wp:attachment":[{"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/media?parent=23715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/categories?post=23715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/tags?post=23715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}