Skip to main content
Returns a list of available models in Google Gemini API format.

Query Parameters

integer
Maximum number of models to return. Default: 1000, maximum: 1000.
string
Continuation token returned by a previous page. Pass it back unchanged to fetch the next slice.

Authentication

Authentication is not required for the public model catalog read endpoints. Gemini-style auth hints such as ?key= or x-goog-api-key do not change the response contract here.

Response

array
Array of model objects.
string
Returned when more models are available. Pass this value as pageToken to continue pagination.

Errors

  • Invalid pageToken returns 400 INVALID_ARGUMENT.
  • Unexpected list failures return 500 INTERNAL.