Google Gemini · Schema

Model

Information about a Generative Language Model.

AI AgentsArtificial IntelligenceCode GenerationEmbeddingsGenerative AIImage GenerationLLMMachine LearningMulti-ModalReal-TimeFoundation ModelsAgentsAudio UnderstandingBatch ProcessingDeep ResearchDocument UnderstandingFunction CallingStructured OutputText-to-SpeechVideo GenerationVideo Understanding

Properties

Name Type Description
supportedGenerationMethods array The model's supported generation methods. The corresponding API method names are defined as Pascal case strings, such as `generateMessage` and `generateContent`.
outputTokenLimit integer Maximum number of output tokens available for this model.
baseModelId string Required. The name of the base model, pass this to the generation request. Examples: * `gemini-1.5-flash`
displayName string The human-readable name of the model. E.g. "Gemini 1.5 Flash". The name can be up to 128 characters long and can consist of any UTF-8 characters.
maxTemperature number The maximum temperature this model can use.
name string Required. The resource name of the `Model`. Refer to [Model variants](https://aistudio.google.com/docs/models#model-versions) for all allowed values. Format: `models/{model}` with a `{model}` naming c
inputTokenLimit integer Maximum number of input tokens allowed for this model.
temperature number Controls the randomness of the output. Values can range over `[0.0,max_temperature]`, inclusive. A higher value will produce responses that are more varied, while a value closer to `0.0` will typicall
description string A short description of the model.
topK integer For Top-k sampling. Top-k sampling considers the set of `top_k` most probable tokens. This value specifies default to be used by the backend while making the call to the model. If empty, indicates the
version string Required. The version number of the model. This represents the major version (`1.0` or `1.5`)
topP number For [Nucleus sampling](https://aistudio.google.com/docs/prompting-strategies#model-parameters). Nucleus sampling considers the smallest set of tokens whose probability sum is at least `top_p`. This va
thinking boolean Whether the model supports thinking.
View JSON Schema on GitHub

JSON Schema

google-gemini-model-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-gemini/json-schema/google-gemini-model-schema.json",
  "title": "Model",
  "description": "Information about a Generative Language Model.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-gemini-models-api-openapi.yml#/components/schemas/Model",
  "properties": {
    "supportedGenerationMethods": {
      "description": "The model's supported generation methods. The corresponding API method names are defined as Pascal case strings, such as `generateMessage` and `generateContent`.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "outputTokenLimit": {
      "description": "Maximum number of output tokens available for this model.",
      "type": "integer",
      "format": "int32"
    },
    "baseModelId": {
      "type": "string",
      "description": "Required. The name of the base model, pass this to the generation request. Examples: * `gemini-1.5-flash`"
    },
    "displayName": {
      "description": "The human-readable name of the model. E.g. \"Gemini 1.5 Flash\". The name can be up to 128 characters long and can consist of any UTF-8 characters.",
      "type": "string"
    },
    "maxTemperature": {
      "description": "The maximum temperature this model can use.",
      "format": "float",
      "type": "number"
    },
    "name": {
      "description": "Required. The resource name of the `Model`. Refer to [Model variants](https://aistudio.google.com/docs/models#model-versions) for all allowed values. Format: `models/{model}` with a `{model}` naming convention of: * \"{base_model_id}-{version}\" Examples: * `models/gemini-1.5-flash-001`",
      "type": "string"
    },
    "inputTokenLimit": {
      "description": "Maximum number of input tokens allowed for this model.",
      "type": "integer",
      "format": "int32"
    },
    "temperature": {
      "description": "Controls the randomness of the output. Values can range over `[0.0,max_temperature]`, inclusive. A higher value will produce responses that are more varied, while a value closer to `0.0` will typically result in less surprising responses from the model. This value specifies default to be used by the backend while making the call to the model.",
      "type": "number",
      "format": "float"
    },
    "description": {
      "description": "A short description of the model.",
      "type": "string"
    },
    "topK": {
      "description": "For Top-k sampling. Top-k sampling considers the set of `top_k` most probable tokens. This value specifies default to be used by the backend while making the call to the model. If empty, indicates the model doesn't use top-k sampling, and `top_k` isn't allowed as a generation parameter.",
      "format": "int32",
      "type": "integer"
    },
    "version": {
      "type": "string",
      "description": "Required. The version number of the model. This represents the major version (`1.0` or `1.5`)"
    },
    "topP": {
      "format": "float",
      "type": "number",
      "description": "For [Nucleus sampling](https://aistudio.google.com/docs/prompting-strategies#model-parameters). Nucleus sampling considers the smallest set of tokens whose probability sum is at least `top_p`. This value specifies default to be used by the backend while making the call to the model."
    },
    "thinking": {
      "description": "Whether the model supports thinking.",
      "type": "boolean"
    }
  },
  "type": "object"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-gemini-model"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.