Analyzing ChatGPT Backend api is clean and ui makes very few requests. Custom SSE client library (not EventSource). One limitation I feel is the use of UUID for messages and conversations. I go over more details in the video Analyzing ChatGPT Backend