Live
The OpenAI API and the Playground
In the Playground you experiment before you write any code: system versus user messages, temperature and what it actually trades off (consistency versus variation), max tokens, and the token counter that turns cost from an abstraction into a number you watch move.
Get a prompt working here first, then take it to code. Never debug prompt and plumbing at the same time.
Go deeper (optional)