Skip to main content
This guide covers 10 practical techniques for creating effective, consistently-executed prompts for GPT-realtime models. These are based on extensive testing and real-world usage patterns. Organize your prompts to help the model understand context and maintain consistency across turns. Use clear, labeled sections in your system prompt so the model can find and follow them. Make each section focused on one thing.
This format also makes it easier to iterate and modify problematic sections. To make this system your own prompt, add domain-specific sections (e.g., compliance, brand policies) and remove sections you don’t need. Within each section, provide instructions and other information so the model responds correctly.

10 Essential Techniques

1. Be Precise - Eliminate Conflicts

New real-time models are excellent at following instructions. However, this also means that small wording changes or unclear instructions can meaningfully change behavior. Check and iterate your system prompts to test different phrasings and fix instruction conflicts. Example: In one experiment, changing the word “inaudible” to “unintelligible” in instructions for handling noisy input significantly improved model performance. After your first attempt at a system prompt, have an LLM check it for ambiguity or conflicts.

2. Use Bullet Points Over Paragraphs

Real-time models follow short bullet points better than long paragraphs.

3. Handle Unclear Audio

Real-time models excel at following instructions about handling unclear audio. Provide detailed instructions on what to do when audio is unavailable.

4. Limit Model to One Language

If you see the model switching languages in unhelpful ways, add a dedicated “Language” section to your prompt. Ensure it doesn’t conflict with other rules. By default, mirroring the user’s language works well. Simple approach to mirror user language:
English-only constraint example:
For language learning applications:
Dialect control:

5. Provide Example Phrases and Flow Snippets

The model learns style from examples. Provide short, varied examples for common conversation moments. For example, you can provide the model with a high-level conversation flow shape:
Then provide prompt guidance for each part. For example, here’s how to guide the greeting section:

6. Avoid Robotic Repetition

If responses sound repetitive or mechanical, include explicit variety instructions. This can sometimes happen when using example phrases.

7. Use Capitalized Text to Emphasize Instructions

Like many LLMs, using CAPITALIZATION for important rules helps the model understand and follow them. It’s also helpful to convert non-text rules (like numeric conditions) to text before capitalizing.

8. Help Models Use Tools

How models use tools can change the experience—how much they rely on user confirmation vs. taking action, what they say when making tool calls, what rules they follow for each specific tool, and more. One way to prompt tool usage is to use preambles. Good preambles instruct the model to provide some feedback about what it’s doing before making a tool call, so users always know what’s happening. Example:
You can add example phrases to preambles to increase variety and better customize your use case. There are several other ways to improve model behavior when executing tool calls while maintaining conversation with the user. Ideally, the model proactively calls the right tools, checks for confirmation on any important writes, and keeps the user informed throughout the process.

9. Use LLMs to Improve Your Prompts

LLMs are excellent at finding issues in prompts. Use ChatGPT or the API to get a model’s review of your current realtime prompt and help improving it. Whether your prompt is working well or not, you can run the following prompt to get a model’s review:
Use this template as a starting point for troubleshooting recurring issues:

10. Help Users Faster

Two frustrating user experiences are slow, mechanical-sounding voice agents and the inability to escalate. Add speed and escalation instructions to your system prompt to help users faster. In the personality and tone section of your system prompt, add pacing instructions to make the model speed up its support:
Often, for real-time voice agents, having a reliable way to escalate to a human is very important. In the Safety & Escalation section, modify the WHEN instructions for escalation based on your use case. Here’s an example:

Complete Prompt Template

Here’s a complete template combining all these techniques: