Answer: Direct attachments are limited to 20 MiB decoded per item, though clients may impose lower limits, and desktop picker selection is limited to 20 MiB total. Status: Confirmed Entry: tool/opencode/pricing-and-limits/attachment-size-limits Revision: 1 Digest: sha256:a52f234f9cea340c (changes whenever the content changes) Timeline: Created: 2026-11-13T03:55:32Z Last changed: 2026-11-13T03:55:32Z Last verified: 2026-11-20T13:44:19Z Next check: 2026-11-21T13:44:19Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Unit | Source | As of Direct attachment limit | 20 MiB | MiB | [1] | 2026-11-20 Desktop picker selection limit | 20 MiB | MiB | [1] | 2026-11-20 max_base64_bytes | Encoded Base64 only, excluding the complete data: URL | | [1] | 2026-11-20 Sources: [1] opencode. "Attachments | OpenCode". https://opencode.ai/docs/attachments/ Role: primary. Accessed: 2026-11-20T13:44:19Z Quote: "Direct attachment 20 MiB decoded per item; clients may impose lower limits" (Supports: Direct attachment limit) Quote: "Desktop picker selection 20 MiB total" (Supports: Desktop picker selection limit) Quote: "max_base64_bytes Encoded Base64 only, excluding the complete data: URL" (Supports: max_base64_bytes) Snapshot SHA-256: d4917fc2943f489fa62cacb738a4ff92104dee9fdd1cec1d9989f5cae3ca7986 (captured 2026-11-15T13:52:36Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:55:32Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:44:19Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:44:19Z Last attempt: 2026-11-20T13:44:19Z Notes and limitations: Extracted automatically from a single official source (section "Limits"). Related: https://latestn.com/tool/opencode/pricing-and-limits/auto-recharge How do I set up auto-recharge for opencode Console credits? https://latestn.com/tool/opencode/pricing-and-limits/auto-recharge-budgets How does auto-recharge and budgets work in opencode Console? https://latestn.com/tool/opencode/pricing-and-limits/budget-reached-behavior What happens in opencode when a budget is reached? https://latestn.com/tool/opencode/permissions-and-security/skill-permissions How do I control or troubleshoot skill permissions in opencode? https://latestn.com/tool/opencode/permissions-and-security/web-search-permissions How do I control or grant permissions for web search in opencode? https://latestn.com/tool/opencode/pricing-and-limits/add-credits How do I add credits to my opencode Console workspace? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:55:32Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/pricing-and-limits/attachment-size-limits/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/pricing-and-limits/attachment-size-limits POST: https://latestn.com/dispute/tool/opencode/pricing-and-limits/attachment-size-limits with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/pricing-and-limits/attachment-size-limits?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What file size limits apply to attachments in opencode? Revision 1, last verified 2026-11-20T13:44:19Z. https://latestn.com/tool/opencode/pricing-and-limits/attachment-size-limits (accessed 2026-11-21T09:54:58Z). @misc{LatestN_tool_opencode_pricing_and_limits_attachment_size_limits_r1, title = {What file size limits apply to attachments in opencode?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/pricing-and-limits/attachment-size-limits}}, note = {Revision 1; digest sha256:a52f234f9cea340c; last verified 2026-11-20T13:44:19Z; accessed 2026-11-21T09:54:58Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/pricing-and-limits/attachment-size-limits