This is explained a bit in the API docs but you also have to adjust it based on your own tasks.
https://developers.openai.com/api/docs/guides/reasoning?api-...