Skip to main content

vw_model_capabilities

Creates, updates, deletes, gets or lists a vw_model_capabilities resource.

Overview

Namevw_model_capabilities
TypeView
Idgemini.models.vw_model_capabilities

Fields

The following fields are returned by this view:

NameDatatypeDescription
namestringModel resource name, e.g. models/gemini-2.5-flash.
display_namestringHuman-readable name of the model.
versionstringModel version string.
input_token_limitintegerMaximum number of input tokens allowed.
output_token_limitintegerMaximum number of output tokens available.
supports_generate_contentbooleanWhether the model supports generateContent.
supports_count_tokensbooleanWhether the model supports countTokens.
supports_embed_contentbooleanWhether the model supports embedContent.
supports_batchingbooleanWhether the model supports batchGenerateContent.
supports_cachingbooleanWhether the model supports createCachedContent.
thinkingbooleanWhether the model supports extended thinking.
temperaturenumberDefault sampling temperature.
max_temperaturenumberMaximum sampling temperature the model accepts.
top_pnumberDefault nucleus sampling probability mass.
top_kintegerDefault top-k sampling cutoff.

SELECT Examples

SELECT
name,
display_name,
version,
input_token_limit,
output_token_limit,
supports_generate_content,
supports_count_tokens,
supports_embed_content,
supports_batching,
supports_caching,
thinking,
temperature,
max_temperature,
top_p,
top_k
FROM gemini.models.vw_model_capabilities;

SQL Definition

SELECT
name,
displayName AS display_name,
version,
inputTokenLimit AS input_token_limit,
outputTokenLimit AS output_token_limit,
CASE WHEN supportedGenerationMethods LIKE '%generateContent%' THEN 1 ELSE 0 END AS supports_generate_content,
CASE WHEN supportedGenerationMethods LIKE '%countTokens%' THEN 1 ELSE 0 END AS supports_count_tokens,
CASE WHEN supportedGenerationMethods LIKE '%embedContent%' THEN 1 ELSE 0 END AS supports_embed_content,
CASE WHEN supportedGenerationMethods LIKE '%batchGenerateContent%' THEN 1 ELSE 0 END AS supports_batching,
CASE WHEN supportedGenerationMethods LIKE '%createCachedContent%' THEN 1 ELSE 0 END AS supports_caching,
thinking,
temperature,
maxTemperature AS max_temperature,
topP AS top_p,
topK AS top_k
FROM gemini.models.models