GPT Prompting Guide

Originally posted on Linkedin on Apr 15, 2025

Along with the new GPT 4.1 model OpenAI just released, they published an extensive Prompting Guide alongside it, including example prompts how to optimize Step-By-Step Planning & Tool Calling. It's pretty good, especially how it handles single-shot Chain-of-Thought answering compared to other reasoning models, which take much longer to produce output.

See it here (especially the SWE-bench prompt is great to re-use):

GPT-4.1 Prompting Guide | OpenAI Cookbook
The GPT-4.1 family of models represents a significant step forward from GPT-4o in capabilities across coding, instruction following, and…