I quite like Gemini Pro. You can get a free API key, turn off the "safety" settings and Write your own system prompt. the free key is rate limited at 60 rpm, more than enough for my personal use.
I guess my preference is more about the product. I don't really have a strong opinion on "IQ" of gpt4 v gemini v claude, but if they gave me a free API key I'd prob use it