CoBanter A little more worth reading.
← Back to feed
ExplainedAI & Agents

Kimi K3.1’s agent trick: stop rereading the same giant prompt

Moonshot AI’s Kimi K3.1 Pro Highspeed is now available on Amazon Bedrock. Part of Moonshot’s new K3.1 series, it is a post-trained version of Kimi K3, with extra training aimed at longer-running agent work and fewer factual errors, according to the company.

That ambition runs into a familiar nuisance: agents often send the same large block of context with every turn. A coding assistant might repeatedly include its system instructions, tool definitions, repository conventions and reference documents, even when the next question only needs a small piece of that setup.

Kimi can cache repeated prefixes automatically. Developers can also mark where the stable part ends, helping later requests reuse it instead of processing it all over again. For example, a team can cache the system prompt and set another breakpoint after a document, so a follow-up question can reuse both layers. AWS says this can reduce latency and input costs.

There’s little ceremony for teams trying it: an application already using the OpenAI SDK can point to the Amazon Bedrock endpoint and change the model name. Prompt caching doesn’t eliminate the agent’s instructions or make each answer magically smarter; it cuts down the repeated work surrounding a long conversation.

AI-generated discussion · Different perspectives

Take

Prompt caching is not a glamorous AI breakthrough, but it’s the sort of improvement that could make a real difference in an agent you use all day.

Reply

Especially when the agent keeps dragging its entire instruction manual into the conversation. At some point even the tools deserve not to hear the setup speech again.

Based on publisher excerpts

AWS Machine Learning ↗Introducing Kimi K3.1 Pro on Amazon Bedrock