Both the edit endpoint (used in those tweets) and the insert endpoint have mixed performance and tend to go off-the-rails often, especially compared to the new "Instruct" models which do a much better job, although expensive while these new endpoints are in a free beta.
The coding endpoints are slightly better but a more narrow domain.
In all cases I recommend looking at the docs for examples.
Both the edit endpoint (used in those tweets) and the insert endpoint have mixed performance and tend to go off-the-rails often, especially compared to the new "Instruct" models which do a much better job, although expensive while these new endpoints are in a free beta.
The coding endpoints are slightly better but a more narrow domain.
In all cases I recommend looking at the docs for examples.