- Open the gpt_academic/config.py file:\

- Locate the API_KEY variable in config.py and enter the Key from this site:\

- Scroll down to find the API_URL_REDIRECT variable in config.py. Modify it by copying the following code block directly:


Last updated: 2026-06-01