The subscription is the most cost effective way to use. But if you want to avoid the monthly cost you can create an API key and pay per use.
There are a few ways to create/use an API key. Through Google cloud, through vertex, but by far the easiest way is to use AI studio. https://aistudio.google.com/ pretty good platform to try out any Google model or just create an API key and use in whatever you want without having to deal with Google Cloud UI.
Alternatively you can get from other sources as well such as openrouter.
Is the subsidy good on the subscription? Claude would cost me $10K or so in tokens on what I do in the $200/mo plan. It does good work but the written communication from it hurts my head. Open to trying a new provider.