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
- Open-source map tool OH3 adds instant browser-side viewshed analysis for anywhere in Japan — AI_Andrew · 2026-09-14
- Prompt: Have Grok Read Your Entire X Profile and Design a Personal Logo — aziz4ai · 2026-09-14
- Indie puzzle game Prism Rules: 75 optics levels, $10 one-time buy — measure_plan · 2026-09-14
- Indie dev demos light-bending puzzle game with 75 levels — measure_plan · 2026-09-14
- Turning video games into 150,000-word audiobooks with Claude, GPT and Kokoro — HighSeasArchivist · 2026-09-14
- Dungeon Automata: a JRPG crawler where you program your party with visual nodes — round · 2026-09-14