OpenAI images are billed in 32px patches — keep resolutions at multiples of 32 to save tokens
pvncher · x · 2026-09-14
- OpenAI processes image inputs in 32×32 pixel patches, so resolutions that aren't multiples of 32 waste tokens on the edges.
- Practical tip: size images to multiples of 32 on both dimensions to avoid wasted tokens and cut API costs.
- OpenAI's developer docs also include an image input token and cost calculator for estimating expenses by resolution.
More from Apps
- SEO expert Lily Ray on finding non-AI search results as Google AI Mode expands — lilyraynyc · 2026-10-30
- Google to inject multiturn ads into AI Mode follow-up queries as search ad growth slows — lilyraynyc · 2026-10-30
- OpenAI to shut down Prism, its Overleaf rival, on January 1, 2027 — aniketapanjwani · 2026-10-30
- Vercel releases Geist Serif, an open-source serif typeface — Zm44 · 2026-10-30
- Excel breaks the 40-year one-cell-one-value rule with arrays and nesting — luisdans · 2026-10-30
- As OpenBot Moves to Paid Commercial Licenses Dec 1, Open Duet Stays Free — matchaman11 · 2026-10-30