← Back to context

Comment by ssijak

18 days ago

Working with google APIs is often an exercise in frustration. I like their base cloud offering the best actually, but their additional APIs can be all over the place. These AI related are the worst.

heuristic for Google Gemini API usage:

if the model name contains '-exp' or '-preview', then API version is 'v1alpha'

otherwise, use 'v1beta'