---
title: "Discussion on \"Prompt Caching: Your Prompt's Prefix Is a Cache Key\" | Hashnode"
description: "Discussion on \"Prompt Caching: Your Prompt's Prefix Is a Cache Key\". Look at the input token count on a typical LLM feature and most of it is the same on every request. The system prompt, the tool definitions, the twelve few-shot examples, the product docs you stuffed"
url: "https://hashnode.com/posts/prompt-caching-your-prompt-s-prefix-is-a-cache-key/6ae71f047432a24fc86b241b"
---

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

Discussion

# [Prompt Caching: Your Prompt's Prefix Is a Cache Key](https://grimicorn.hashnode.dev/prompt-caching-your-prompt-s-prefix-is-a-cache-key?utm_source=hashnode&utm_medium=feed)

Look at the input token count on a typical LLM feature and most of it is the same on every request. The system prompt, the tool definitions, the twelve few-shot examples, the product docs you stuffed

Nov 1 · 5 min read · grimicorn.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#llm](https://hashnode.com/tag/llm)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#node](https://hashnode.com/tag/node)
-   [#prompt-caching](https://hashnode.com/tag/prompt-caching)

## Written by

[Dan Holloran](https://hashnode.com/@grimicorn)

@grimicorn · Chico, CA

  
[View profile](https://hashnode.com/@grimicorn)

Full-stack web developer since 2012 · Vue · React · Laravel · danholloran.me

Senior Full Stack Developer with 14+ years building performant, scalable web applications. Passionate about architecture, mentorship, and finding the right tool for the job.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
