Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
Optional. The cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface ModelParams (1.9.0)\n\nConfiguration for initializing a model, for example via getGenerativeModel in VertexAI class. \n\nInheritance\n-----------\n\n[BaseModelParams](/vertex-ai/generative-ai/docs/reference/nodejs/latest/vertexai/basemodelparams) \\\u003e ModelParams\n\nPackage\n-------\n\n[@google-cloud/vertexai](../overview.html)\n\nProperties\n----------\n\n### cachedContent\n\n cachedContent?: CachedContent;\n\nOptional. The cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings.\n\n### model\n\n model: string;\n\nThe name of the model.\n**Example**\n\n\"gemini-1.0-pro\"."]]