simoori.AI·IT 소식에서 신호만 골라 훑는 곳
피드로

GPT-6를 위한 더 나은 프롬프트 캐싱

OpenAI · 23일 오전 · 분야 AI 모델 · 사건종류 기능 추가

원문: Better prompt caching for GPT-6

signal 포인트

핵심

  1. GPT-6용 프롬프트 캐싱 개선, 30분 내 재사용시 할인
  2. 캐시 모니터링 대시보드·미스 진단 도구 신규 제공
  3. 캐시 유지하며 추론 강도 조정, 프리워밍 기능 지원
이전 형식의 요약 문단 보기

OpenAI가 GPT-6 계열에 맞춰 개선된 프롬프트 캐싱 시스템을 공개했다. 동일한 지시문, 도구 정의, 맥락을 반복 사용하는 장시간 에이전트 작업에서 캐시 적중률을 기본적으로 높였고, 공유된 프리픽스가 30분 이내 재사용되면 캐시 할인(최대 90%)을 적용한다. 캐시 성능을 모니터링하는 대시보드와 캐시 미스 원인을 진단하는 도구도 새로 제공한다. 개발자는 명시적 캐시 경계 설정, 추론 강도 조정, 도구·지시문 변경 시 캐시 유지, 캐시 프리워밍 등을 통해 응답 속도와 비용을 최적화할 수 있다.

요약은 자동으로 만들어집니다. 사실 확인이 필요하면 원문을 읽어주세요.

원문 보기 (영어)

아래는 출처에서 가져온 원문입니다.

GPT‑6 enables persistent agents to work for hours on complex tasks, from refactoring codebases to producing well-researched documents and presentations. The applications behind these agents make a series of API requests that build on one another, often carrying forward the same instructions, tool definitions, and context from earlier turns. OpenAI caches that shared context to reuse computation across requests, reducing response times and giving developers discounts of up to 90% on cached input tokens.

With the GPT‑6 family, we launched an improved prompt caching system that delivers higher cache hit rates by default. We now give cache discounts for eligible shared prefixes reused within a 30-minute window. We’re also introducing new tools to help developers monitor cache performance, diagnose misses, and choose how much of a prompt to cache.

Monitor caching and diagnose cache misses

The new Prompt Caching Dashboard⁠(opens in a new window) shows how much of your application’s input is served from cache. Track hit rates over time and use the input composition chart to compare cached and uncached tokens. These views help you spot drops in cache hits and evaluate how changes to your application impact caching performance.

When you see an unexpected cache miss, use the prompt caching diagnostics tool⁠(opens in a new window) to understand what happened. Compare a request with a recent response to identify changes to the model, tools, settings, or input that prevented reuse. The estimated number of affected tokens helps you assess the size of the impact and decide how you can optimize your integration to maximize cache hit rates.

{
  "prompt_cache_diagnostics": {
    "type": "cache_miss",
    "reason": "tools_changed",
    "comparison_reusable_tokens": 5629,
    "cache_missed_tokens": 5629
  }
}

Optimize caching for your application

Choose what to cache. Explicit cache breakpoints let you choose which prompt prefixes to reuse. The refreshed prompt caching guide⁠(opens in a new window) explains how to use them, how long cached prefixes remain eligible, and how changes to tools and inputs affect reuse.

Adjust reasoning effort without breaking cache. On GPT‑6 models, you can now change reasoning effort⁠(opens in a new window) between responses without breaking cache. Raise effort for a harder task or lower it for a routine follow-up by appending a configuration_update while leaving request-level reasoning effort unchanged. This lets you adjust how much reasoning a task needs while preserving reusable context.

Preserve cache as tools and instructions change. As your agent’s tool use needs change, keep tool definitions, schemas, and ordering stable so earlier context stays reusable. Use allowed_tools to make only the relevant tools callable, or set tool_choice to none when no tools are needed, instead of removing definitions. Use new developer messages to append new instructions towards the end of the context to override older ones. See our guidance on managing tool changes⁠(opens in a new window).

Prewarm the cache to reduce latency. Prewarming⁠(opens in a new window) prepares known context ahead of time so the model can start responding sooner when a request arrives. For example, an application can prewarm shared instructions, tool definitions, or reference material during startup, before the user asks their first question. This moves processing out of the user’s wait time.

These optional controls build on the engine’s default performance, helping you tailor caching to your workload.

1 of 3

Get started

원문의 저작권은 출처에 있습니다.출처에서 원문 보기 새 창에서 열림