The Prompt Engineering Guide teaches prompt engineering and provides learning materials about language models.
OpenAI Guide
OpenAI’s API guide covers prompt engineering strategies and tactics for working with large language models.

About OpenAI Guide
OpenAI Guide is a prompt engineering page within the OpenAI API documentation. It explains strategies and tactics for getting better results when working with large language models through the OpenAI API.
On the page, you can read guidance on prompting and related topics such as text generation and code generation. The content sits within the wider API docs, which include sections on models, agents, tools, audio and voice, production, and API reference. Documentation pages can also be viewed in Markdown by adding .md to the page URL.
The guide suits developers and students using the OpenAI API who want to understand how to structure prompts for language models. It can be used as reference material while building text or code features with the API.
Key features
- Strategies and tactics for large language models
- Guidance for text generation using the API
- Guidance for code generation using the API
- Searchable API docs with structured navigation
- Markdown versions available via .md URL suffix
- Official OpenAI API documentation
- Focused on prompting strategies and tactics
- Part of broader API and reference docs
OpenAI Guide at a glance
- Category
- AI & Machine Learning › AI Learning & Guides
- Type
- Website
- Pricing
- Not confirmed. Check the site
- Platforms
- Web
- Open source
- Not stated
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
OpenAI Guide alternatives
Tools and sites you could use instead, ranked by how closely they match.
This guide explains prompt techniques for generating art and copy, with templates and style suggestions.
Tensor Trust offers an interactive game about testing AI security and model robustness.
AnimatedLLM uses animations to explain the mechanisms behind large language models.
Test AI hacking skills and explore language model limitations through the Gandalf interactive challenge.
This blog covers machine learning applications, with a focus on PyTorch examples and deep learning code.
Popular in AI Learning & Guides
Well-known listings from the same topic.
OpenAI Guide FAQ
What is the OpenAI Guide on prompt engineering?
Does it cover text and code generation?
Who is this guide for?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.









