Codex에서 GPT-5.6 Sol의 100만 토큰 컨텍스트 창을 활성화하는 방법
-
<p>Codex에서 GPT-5.6 Sol의 100만 토큰 컨텍스트 창을 활성화하는 방법을 소개합니다. </p><p>Codex의 컨텍스트 한도는 성능과 비용을 고려해 최적으로 설정했지만, 이 기능에 대한 요청이 자주 있어 여기에 문서화합니다.</p><p>컨텍스트 창이 더 크면 Codex가 이전 내용을 요약하기 전에 더 많은 코드, 도구 출력, 대화 기록을 유지할 수 있습니다. 이를 지원하는 모델이 필요합니다. 예를 들어 GPT-5.6 Sol에는 문서에 명시된 1,050,000토큰 컨텍스트 창이 있습니다. </p><p>~/.codex/config.toml을 열고 최상위 수준에서 다음 설정을 추가하거나 업데이트하세요. 모든 </p><p></p><p>[section] 헤더보다 앞에 배치해야 합니다:</p><p>
</p><p>model = "gpt-5.6-sol"</p><p>model_context_window = 1000000</p><p>model_auto_compact_token_limit = 900000</p><p></p><p></p><p>첫 번째 설정은 모델을 선택합니다. 두 번째 설정은 Codex가 100만 토큰의 컨텍스트 예산을 사용하도록 지정합니다. 세 번째 설정은 약 900,000토큰에서 기록 자동 압축을 시작해 어느 정도 여유 공간을 남깁니다. 저장한 후 Codex 클라이언트를 다시 시작하고 새 세션을 시작하세요. </p><p>기본 설정을 변경하지 않고 단일 CLI 세션에서 이 구성을 사용해 보려면 다음 명령을 실행하세요:</p><p></p><p></p><p>codex -m gpt-5.6-sol \</p><p> -c model_context_window=1000000 \</p><p> -c model_auto_compact_token_limit=900000</p><p></p><p></p><p>즐겁게 사용해 보세요. 다만 기본값도 신중하게 조정했다는 점을 기억하세요!</p><p></p><p>Tibo 제공: <a target="_blank" rel="noopener noreferrer nofollow" href="https://x.com/thsottiaux/status/2089082893804896524">https://x.com/thsottiaux/status/2089082893804896524</a></p><p></p>
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login