Skip to content

List Models (Gemini Native Format)

Returns the available model list in Gemini native format. See also the OpenAI native format.

Endpoint

GET /v1beta/models

Authenticated the same way as the Gemini endpoint (?key= or x-goog-api-key):

bash
curl "https://ai.youqi.tech/v1beta/models?key=sk-YOUR_API_KEY"

Response

json
{
  "models": [
    {
      "name": "models/gemini-1.5-pro",
      "displayName": "Gemini 1.5 Pro",
      "supportedGenerationMethods": ["generateContent", "streamGenerateContent"]
    }
  ]
}

TIP

For the full list and live pricing, see the Models page in the console.