ChatGPT / OpenAI prompts
Prompts, custom instructions and tips for ChatGPT and OpenAI models: writing, coding, analysis and everyday work.
-
OpenAI Parallel Function Calling in One Turn
OpenAI models support calling multiple functions in a single turn—for example, when a user wants to check weather or infrastructure telemetry across 3 different locations simultaneously. Parse the tool arguments, execute
-
Using the OpenAI Responses API With gpt-6-astra
OpenAI's prompt engineering documentation illustrates invoking newer frontier models like gpt-6-astra via the client.responses.create SDK method rather than legacy completion wrappers. …
-
Set GPT-5.5 Reasoning Effort: When Medium Is Enough
OpenAI's reasoning documentation notes that reasoning effort defaults are model-dependent rather than universal: gpt-5.5 defaults to medium reasoning effort, which serves as the recommended starting point for gpt-5.5's f
-
GPT-4.1 Structured CoT Audit: Query, Context, Synthesis
For basic Chain-of-Thought in GPT-4.1, OpenAI recommends placing a step-by-step instruction at the end of the prompt to print document titles and IDs first. To fix systematic eval failures (such as intent misunderstandin
-
Triage-to-Arbitration LLM Pipeline With OpenAI Models
OpenAI's official reasoning best practices document a two-stage e-commerce workflow: use fast GPT-4o and GPT-4o-mini models to triage order details with customer information and identify order issues and return policy cl
-
Split Planning and Execution: o3 Planner, GPT-4o Executor
Production reasoning guides recommend decoupling planning from execution: use o1 or o3 to devise strategic plans (and invoke them as a "Re-Planner Node" only if an executor encounters an unrecoverable runtime exception o
-
Steer GPT-4.1 With One Firm Correction Sentence
OpenAI notes that GPT-4.1 is trained to follow instructions much more closely and literally than previous models like GPT-4o, which inferred intent more liberally. Because GPT-4.1 is highly responsive to well-specified p
-
GPT-4.1 Tool Schemas: API Field vs Prompt Text
OpenAI's internal experiments on GPT-4.1 showed a 2% increase in the SWE-bench Verified pass rate when passing tool descriptions through the native API tools field rather than manually injecting schemas into the system p
-
GPT-4.1 Thinking Out Loud Prompt for Coding Tasks
Unlike o1 or o3, GPT-4.1 is not a reasoning model and does not generate a built-in internal chain of thought prior to responding. OpenAI's cookbook reports that inducing explicit step-by-step planning in the prompt to ma
-
Codex CLI AGENTS.md 32 KiB Default Cap and How to Raise It
Codex CLI stops loading AGENTS.md instructions once the combined size of the files it found reaches projectdocmaxbytes, which is 32 KiB (32,768 bytes) by default, per OpenAI's AGENTS.md guide. The guide documents no warn
-
Stop GPT Hallucinations With an I Don't Know Escape
Because LLMs predict likely continuations probabilistically, they fill context gaps with generic plausible answers unless instructed otherwise. Explicitly allow the model to say "I don't know" when information is missing
-
Why OpenAI Reasoning Models Ignore Temperature
According to 2026 prompt engineering guides, reasoning models on OpenAI ignore the temperature parameter entirely. Instead of attempting to tune randomness via temperature or topp on reasoning models, specify determinist
-
OpenAI JSON Mode Needs the Word JSON in Your Prompt
When using JSON mode in OpenAI Chat Completions, the literal string "JSON" must appear in the system/developer message for the functionality to work properly. …
-
OpenAI seed and system_fingerprint for Reproducible Outputs
Chat Completions are non-deterministic by default. To receive mostly deterministic outputs across API calls, OpenAI provides the integer seed parameter and the systemfingerprint response field: pass the exact same seed,
-
GPT-4o-mini to o3-mini: 3-Tier Complexity Router
Engineering analyses warn that deploying o1 or o3 blindly across all application traffic is an anti-pattern that can multiply API costs by 10x to 20x and increase P95 latency from 1.2s to 35+s. A production routing patte
-
OpenAI developer vs system Messages for o-Series
Starting with snapshot o1-2024-12-17, OpenAI reasoning and newer GPT models support developer messages rather than legacy system messages to align with the chain-of-command behavior in the model spec, separating high-pri
-
Why Manual Chain-of-Thought Hurts o1, o3 and o4-mini
OpenAI's reasoning best practices say that prompting a reasoning model to think step by step or to explain its reasoning is unnecessary, because these models reason internally. OpenAI adds that such instructions may not
-
GPT-4.1 Agentic Prompt: 3 Reminders That Work
OpenAI's GPT-4.1 prompting guide recommends three reminders in the system prompt of an agent: Persistence, Tool-Calling and Planning. OpenAI reports that its internal SWE-bench Verified score rose by close to 20% with th
-
Low-Latency Multimodal Co-Pilot Prompts for GPT-4o
Use GPT-4o as the default when building a general-purpose co-pilot that requires both multimodal inputs \(screenshots, PDFs, audio\) and conversational latency under 2 seconds. …