I've seen a few free alternatives to Cursor suggested around here lately, but I haven't seen this group yet: VS Code, Aider, and Supermaven. This setup uses the free tier of the Gemini models, which include up to 15 requests per minute, 1 million tokens per minute, and up to 1,500 requests per day. Supermaven provides very quick, unlimited code completion on the free tier.
I've linked a Youtube video, which shows the steps involved.