How do I use GPT4 on free version with Open AI API key?

Here’s the answer: Enabling GPT-4 in Cursor using own key - #6 by PaulTeancum