Class PromptModelResponse
Response model for prompt model data
Inheritance
PromptModelResponse
Assembly: Seclai.dll
Syntax
public sealed class PromptModelResponse
Properties
Default
Declaration
[JsonPropertyName("default")]
public bool Default { get; set; }
Property Value
DeprecatedAt
Declaration
[JsonPropertyName("deprecated_at")]
public string? DeprecatedAt { get; set; }
Property Value
Description
Declaration
[JsonPropertyName("description")]
public string Description { get; set; }
Property Value
Enabled
Declaration
[JsonPropertyName("enabled")]
public bool Enabled { get; set; }
Property Value
Family
Declaration
[JsonPropertyName("family")]
public string? Family { get; set; }
Property Value
FamilyGeneration
Declaration
[JsonPropertyName("family_generation")]
public double? FamilyGeneration { get; set; }
Property Value
GenerationCreditsPerUnit
Per-unit credit cost for a dedicated media-generation model, in the unit named by
generation_params.pricing_unit (per image / per second / per character / per
output token). Multiply by the produced unit count (images, seconds, characters) for the
run cost. None for token-billed (non-generation) models.
Declaration
[JsonPropertyName("generation_credits_per_unit")]
public double? GenerationCreditsPerUnit { get; set; }
Property Value
GenerationParams
Media-generation descriptor (modality, pricing_unit, and modality-specific constraints).
NULL for text LLMs; present for image/audio/video generation models. See
schemas.generation_params.
Declaration
[JsonPropertyName("generation_params")]
public Dictionary<string, JsonElement>? GenerationParams { get; set; }
Property Value
GenerationUnitLabel
Human suffix for the per-unit generation rate (e.g. /image, /second,
/1k chars, /1k tokens) — single-sourced from the pricing unit so clients
render cost without re-deriving the mapping. None for non-generation models. Char/token
rates are shown per 1,000 (the /1k … suffix), so scale
generation_credits_per_unit accordingly for those units.
Declaration
[JsonPropertyName("generation_unit_label")]
public string? GenerationUnitLabel { get; set; }
Property Value
Id
Declaration
[JsonPropertyName("id")]
public string Id { get; set; }
Property Value
Per-image credit cost of using the built-in image_generation tool (it runs gpt-image-1).
Set only for models that actually support the tool (tool-use capable); None otherwise.
Declaration
[JsonPropertyName("image_generation_tool_credits_per_image")]
public double? ImageGenerationToolCreditsPerImage { get; set; }
Property Value
Declaration
[JsonPropertyName("input_1h_cache_write_credits_per_1000_tokens")]
public double? Input1hCacheWriteCreditsPer1000Tokens { get; set; }
Property Value
Declaration
[JsonPropertyName("input_5m_cache_write_credits_per_1000_tokens")]
public double? Input5mCacheWriteCreditsPer1000Tokens { get; set; }
Property Value
Declaration
[JsonPropertyName("input_cache_hit_credits_per_1000_tokens")]
public double? InputCacheHitCreditsPer1000Tokens { get; set; }
Property Value
Declaration
[JsonPropertyName("input_credits_per_1000_tokens")]
public double? InputCreditsPer1000Tokens { get; set; }
Property Value
IsNew
Declaration
[JsonPropertyName("is_new")]
public bool? IsNew { get; set; }
Property Value
LastUsed
Declaration
[JsonPropertyName("last_used")]
public bool? LastUsed { get; set; }
Property Value
MaxContextTokens
Declaration
[JsonPropertyName("max_context_tokens")]
public int MaxContextTokens { get; set; }
Property Value
MaxConversationLength
Declaration
[JsonPropertyName("max_conversation_length")]
public int MaxConversationLength { get; set; }
Property Value
MaxOutputTokens
Declaration
[JsonPropertyName("max_output_tokens")]
public int MaxOutputTokens { get; set; }
Property Value
ModelId
Declaration
[JsonPropertyName("model_id")]
public string ModelId { get; set; }
Property Value
Name
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
OutputCreditsPer1000Tokens
Declaration
[JsonPropertyName("output_credits_per_1000_tokens")]
public double? OutputCreditsPer1000Tokens { get; set; }
Property Value
PayloadSchema
Model-specific JSON schema for advanced prompt_call json_template payloads.
Declaration
[JsonPropertyName("payload_schema")]
public Dictionary<string, JsonElement>? PayloadSchema { get; set; }
Property Value
PayloadSchemaSourceUrl
Source URL used to derive payload_schema guidance for this model.
Declaration
[JsonPropertyName("payload_schema_source_url")]
public string? PayloadSchemaSourceUrl { get; set; }
Property Value
PerModalityRates
Declaration
[JsonPropertyName("per_modality_rates")]
public List<ModalityRateResponse>? PerModalityRates { get; set; }
Property Value
Provider
Declaration
[JsonPropertyName("provider")]
public string Provider { get; set; }
Property Value
ReleasedAt
Declaration
[JsonPropertyName("released_at")]
public string? ReleasedAt { get; set; }
Property Value
SchemaDocumentationUrl
Model documentation URL with request/response payload details.
Declaration
[JsonPropertyName("schema_documentation_url")]
public string? SchemaDocumentationUrl { get; set; }
Property Value
SchemaNotes
Human-readable notes about request payload compatibility.
Declaration
[JsonPropertyName("schema_notes")]
public string? SchemaNotes { get; set; }
Property Value
SuccessorModelId
Declaration
[JsonPropertyName("successor_model_id")]
public string? SuccessorModelId { get; set; }
Property Value
SunsetAt
Declaration
[JsonPropertyName("sunset_at")]
public string? SunsetAt { get; set; }
Property Value
Declaration
[JsonPropertyName("supported_input_media")]
public List<string>? SupportedInputMedia { get; set; }
Property Value
SupportedLanguages
Declaration
[JsonPropertyName("supported_languages")]
public List<string>? SupportedLanguages { get; set; }
Property Value
Declaration
[JsonPropertyName("supported_output_media")]
public List<string>? SupportedOutputMedia { get; set; }
Property Value
SupportsOpenaiArguments
Declaration
[JsonPropertyName("supports_openai_arguments")]
public bool? SupportsOpenaiArguments { get; set; }
Property Value
SupportsStreaming
Declaration
[JsonPropertyName("supports_streaming")]
public bool? SupportsStreaming { get; set; }
Property Value
SupportsStructuredOutput
Declaration
[JsonPropertyName("supports_structured_output")]
public bool? SupportsStructuredOutput { get; set; }
Property Value
SupportsThinking
Declaration
[JsonPropertyName("supports_thinking")]
public bool? SupportsThinking { get; set; }
Property Value
Declaration
[JsonPropertyName("supports_tool_use")]
public bool? SupportsToolUse { get; set; }
Property Value
Declaration
[JsonPropertyName("tools_disabled")]
public List<PromptToolResponse>? ToolsDisabled { get; set; }
Property Value
Declaration
[JsonPropertyName("tools_enabled")]
public List<PromptToolResponse>? ToolsEnabled { get; set; }
Property Value
TrainingCutoffAt
Declaration
[JsonPropertyName("training_cutoff_at")]
public string? TrainingCutoffAt { get; set; }
Property Value
Url
Declaration
[JsonPropertyName("url")]
public string? Url { get; set; }
Property Value
Variants
Declaration
[JsonPropertyName("variants")]
public List<VariantCategoryResponse>? Variants { get; set; }
Property Value