You can with Anthropic and OpenAI, using 'claude -p' or 'codex exec'.
Paying for Gemini at API rate is therefore out of the question for me.