Curl api.openai.com is slow, 15-30s/req

A few conclusions:
davinci’s return time is very fast.
The model of interest is gpt-3.5-turbo
With PHP Curl language, it takes 10-20s per query. To be able to integrate Steam into curl is very difficult.
With JavaScript - Fetch or JavaScript - jQuery triggering the data stream returns feels faster but it will expose the API key
Currently with python it takes 10-12s. (March 15th GMT +7)

1 Like