Skip to content

Limits ​

This page collects the size and count limits you can run into, so you can tell a limit from a bug.

AreaLimit
AttachmentsUp to 20 files per message, each non-empty and at most 20 MB.
Queued messagesUp to 50 at once, each up to 32,000 characters, and a combined 64 MB including attachments. A queued message can't start with /.
File preview1,000 entries listed per folder; text up to 512 KB and 10,000 lines; images up to 8 MB.
Terminals8 per chat and 32 per service; 2,000 lines of scrollback; a disconnected browser keeps its terminal for 5 minutes.
Git panelUp to 1,000 changed files listed; a diff over 512 KB or 10,000 lines shows only a notice; history loads 50 commits at a time. Read commands time out after 10 seconds and writes after 30 seconds.
Chat nameUp to 120 characters.
Custom provider formName up to 100 characters, provider ID up to 64, model ID up to 200, API URL up to 2,048. API key fields accept up to 16,384 characters.
Agent diagramsPi's diagram tool takes at most 30 shapes and 60 connectors per drawing, and each label up to 500 characters.
Startup and shutdownStartup is abandoned after about 60 seconds. pi-webapp stop waits about 40 seconds, and stop --force falls back to ending processes after 5 seconds. A plugin view must confirm its save within about 15 seconds before an update proceeds.

Pi and your model provider have their own limits, such as context window size and rate limits. They aren't listed here.

These pages describe the source in this repository. Check Pi Settings → General for the version you are running.