# 클로드 코드 이미지 오류: dimension limit for many-image requests (2000px)

> 클로드 코드 이미지 오류입니다. 요청에 이미지가 20장을 넘고 그중 한 장이 픽셀 한도를 넘으면 뜹니다. Claude Code를 업데이트하고 이미지를 줄여 새 세션에서 다시 시작합니다.

- URL: https://retn.me/posts/claude-code-image-dimension-limit-2000px/
- Published: 2026-11-12
- Written by: Claude Code · Reviewed by: 심규섭 (2026-11-12)
- Tool: Claude Code · Cause: 대화·파일 크기
- Last checked: 2026-11-12

## 메시지 원문

- en: `An image in the conversation exceeds the dimension limit for many-image requests (2000px). Start a new session with fewer images.`

---

## 한 줄 답

한 요청에 이미지가 20장을 넘으면 Claude API는 모든 이미지에 더 낮은 픽셀 한도를 적용합니다. 이 한도를 넘는 이미지가 한 장이라도 있으면 이 메시지가 뜹니다([Claude API 비전 문서](https://platform.claude.com/docs/en/build-with-claude/vision#request-limits)). Claude Code를 업데이트하고, 이미지를 줄여 새 세션에서 다시 시작합니다.

## 이 메시지가 뜨는 이유

Claude API는 이미지 한 장을 최대 8000x8000픽셀까지 받습니다. 한 요청에 이미지가 20장을 넘으면 더 엄격한 한도가 그 요청의 모든 이미지에 걸립니다. 앞선 대화에서 다시 보내는 이미지와 도구 결과 안의 스크린샷도 20장에 들어갑니다([Claude API 비전 문서](https://platform.claude.com/docs/en/build-with-claude/vision#request-limits)). 그래서 대화에 스크린샷이 쌓이면, 이미지가 적을 때 통과하던 큰 이미지도 이 한도에 걸립니다.

API는 이때 `invalid_request_error`를 돌려줍니다. 오류 문구에는 "many-image requests"와 한도 픽셀이 들어갑니다([Claude API 비전 문서](https://platform.claude.com/docs/en/build-with-claude/vision#request-limits)). Claude Code는 이 오류를 위 메시지로 바꿔 보여 줍니다. 메시지 속 숫자는 API 오류에 적힌 한도입니다([Claude Code 오류 문서](https://code.claude.com/docs/en/errors#image-was-too-large)). 공개 이슈에 보고된 API 쪽 원문은 `At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels`입니다([이슈 95503](https://github.com/anthropics/claude-code/issues/95503)).

메시지 속 숫자는 버전과 시점에 따라 다릅니다. [Claude Code 2.1.318 변경 기록](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21318)에 따르면 그 전 버전은 이 메시지에 한도를 늘 2000px로 적었습니다. 2.1.318부터는 API가 알려 준 한도를 적습니다. 현재 [Claude Code 오류 문서](https://code.claude.com/docs/en/errors#image-was-too-large)는 이미지가 20장을 넘을 때의 한도를 3000픽셀로 적습니다.

메시지의 끝 문장은 두 가지가 보고됐습니다. 하나는 `Start a new session with fewer images.`입니다([이슈 39185](https://github.com/anthropics/claude-code/issues/39185)). 다른 하나는 `Run /compact to remove old images from context, or start a new session.`입니다([Claude Code 오류 문서](https://code.claude.com/docs/en/errors#image-was-too-large)).

[Claude Code 오류 문서](https://code.claude.com/docs/en/errors)는 이 문서의 오류가 터미널 CLI, 데스크톱 앱, 클라우드 세션에 똑같이 적용된다고 씁니다. 세 곳 모두 같은 Claude Code CLI 위에서 돌기 때문입니다. Claude 데스크톱 앱에서 같은 문구를 봤다는 공개 보고도 있습니다([이슈 55414](https://github.com/anthropics/claude-code/issues/55414)). claude.ai 웹 채팅에서 이 문구가 뜨는지는 확인하지 못했습니다.

## 해결 순서

1. Claude Code를 최신 버전으로 올립니다. 터미널에서 `claude update`를 실행합니다. [Claude Code 오류 문서](https://code.claude.com/docs/en/errors#image-was-too-large)는 이미지 오류가 반복되면 먼저 업데이트하라고 씁니다. [2.1.126 변경 기록](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21126)에 따르면 이 버전부터 붙여 넣는 이미지를 줄이고, 대화 기록 속 큰 이미지를 지운 뒤 요청을 다시 보냅니다.
2. 메시지에 `/compact`가 있으면 Claude Code 프롬프트에서 `/compact`를 실행합니다([Claude Code 오류 문서](https://code.claude.com/docs/en/errors#image-was-too-large)).
3. 메시지가 `Start a new session with fewer images.`로 끝나면 새 세션을 시작합니다. Claude Code 프롬프트에서 `/clear`를 실행하면 빈 대화가 시작됩니다([Claude Code 명령어 문서](https://code.claude.com/docs/en/commands)).
4. 새 세션에서는 이미지를 붙이기 전에 크기를 줄입니다. 이미지가 20장을 넘는 대화라면 긴 변을 3000픽셀 이하로 줄입니다([Claude Code 오류 문서](https://code.claude.com/docs/en/errors#image-was-too-large)).
5. 화면 전체 대신 필요한 부분만 캡처합니다([Claude Code 오류 문서](https://code.claude.com/docs/en/errors#image-was-too-large)).

## 관련 한도와 요금제

- 이미지 한 장의 최대 크기는 8000x8000픽셀입니다. 한 요청에 20장을 넘으면 더 낮은 한도가 걸립니다. 문서는 모든 플랫폼에서 이 한도 아래에 있으려면 가로와 세로를 3000픽셀 이하로 줄이거나, 한 요청의 이미지와 문서 블록을 20개 이하로 두라고 씁니다([Claude API 비전 문서](https://platform.claude.com/docs/en/build-with-claude/vision#request-limits)).
- 이미지 수 한도는 claude.ai가 메시지당 20장입니다. API는 컨텍스트 창이 200k 토큰인 모델에서 요청당 100장, 다른 모델에서 요청당 600장입니다([Claude API 비전 문서](https://platform.claude.com/docs/en/build-with-claude/vision#request-limits)).
- 이미지 파일 크기 한도는 Claude API가 base64 인코딩 기준 10MB, claude.ai가 10MB입니다([Claude API 비전 문서](https://platform.claude.com/docs/en/build-with-claude/vision#request-limits)).

## 참고

- 대화가 길어져 컨텍스트가 가득 찼을 때 뜨는 메시지는 retn.kr의 [Claude 대화 길이 글](https://retn.kr/blog/claude-maximum-conversation-length/)에 정리했습니다.

## 출처

- [Claude Code 오류 문서, Image was too large](https://code.claude.com/docs/en/errors#image-was-too-large)
- [Claude API 비전 문서, Request limits](https://platform.claude.com/docs/en/build-with-claude/vision#request-limits)
- [Claude Code CHANGELOG](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md)
- [Claude Code 명령어 문서](https://code.claude.com/docs/en/commands)
- [anthropics/claude-code 이슈 39185 (메시지 원문 보고)](https://github.com/anthropics/claude-code/issues/39185)
- [anthropics/claude-code 이슈 55414 (데스크톱 앱 보고)](https://github.com/anthropics/claude-code/issues/55414)
- [anthropics/claude-code 이슈 95503 (API 오류 원문 보고)](https://github.com/anthropics/claude-code/issues/95503)
