From Openai Import Openai Python, The client will look for your key in the OPENAI_API_KEY environment variable you set above.