⚠️ Experimental — Lists registered Guild models. When provider workspace_id is set, the list is scoped to that workspace. The generated Guild client currently supports filtering by provider_name and may support scope depending on the spec/client version in use.
data "sg_guild_models" "openai" {
provider_name = "openai-prod"
}
output "openai_guild_model_names" {
value = [for model in data.sg_guild_models.openai.models : model.name]
}
provider_name (String) Filter returned models to a single registered model provider name.scope (String) Filter returned models to a specific integration scope, such as TENANT PROJECT or USER (when supported by the current Guild API client).models (Attributes List) List of registered Guild models. (see below for nested schema)modelsRead-Only:
created_at (String) RFC3339 timestamp when this model was first registered, when returned by Guild.max_tokens (Number) Maximum tokens configured for model responses when returned by Guild.model_id (String) Provider-specific model identifier, such as gpt-4o or claude-sonnet-4-6.name (String) Unique model name, such as gpt-4o-toolcalling.pricing_input_usd (Number) Input-side price from the registered model when returned by Guild.pricing_output_usd (Number) Output-side price from the registered model when returned by Guild.pricing_total_usd (Number) Total price hint from the registered model when returned by Guild.provider_name (String) Name of the registered model provider this model belongs to.reasoning_effort (String) Vendor-specific reasoning effort configured for this model; null when unset.scope (String) Integration scope for this model, such as TENANT PROJECT or USER.temperature (Number) Sampling temperature configured for the model when returned by Guild.thinking (Boolean) Whether Guild routes Think/plan/synthesis work to this model; false means NoThink/dig/classify routing.updated_at (String) RFC3339 timestamp when this model was last updated, when returned by Guild.variant (String) Provider-specific variant or version tag returned by Guild.