401 unauthenticatedaccess_token_type_unsupported

Update:

Google AI Studio currently generates keys that begin with:

AQ…

The AI Studio documentation states:

“Keys generated directly in AI Studio are restricted
to the Gemini API by default.”

However, using these keys with:

google-genai 2.25.0

returns:

401 UNAUTHENTICATED
ACCESS_TOKEN_TYPE_UNSUPPORTED

Is there a new authentication flow required for
AQ… keys?