Search Results for

    Show / Hide Table of Contents

    Class PromptModelResponse

    Response model for prompt model data

    Inheritance
    object
    PromptModelResponse
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Seclai.Models
    Assembly: Seclai.dll
    Syntax
    public sealed class PromptModelResponse

    Properties

    Default

    Declaration
    [JsonPropertyName("default")]
    public bool Default { get; set; }
    Property Value
    Type Description
    bool

    DeprecatedAt

    Declaration
    [JsonPropertyName("deprecated_at")]
    public string? DeprecatedAt { get; set; }
    Property Value
    Type Description
    string

    Description

    Declaration
    [JsonPropertyName("description")]
    public string Description { get; set; }
    Property Value
    Type Description
    string

    Enabled

    Declaration
    [JsonPropertyName("enabled")]
    public bool Enabled { get; set; }
    Property Value
    Type Description
    bool

    Family

    Declaration
    [JsonPropertyName("family")]
    public string? Family { get; set; }
    Property Value
    Type Description
    string

    FamilyGeneration

    Declaration
    [JsonPropertyName("family_generation")]
    public double? FamilyGeneration { get; set; }
    Property Value
    Type Description
    double?

    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
    Type Description
    double?

    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
    Type Description
    Dictionary<string, JsonElement>

    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
    Type Description
    string

    Id

    Declaration
    [JsonPropertyName("id")]
    public string Id { get; set; }
    Property Value
    Type Description
    string

    ImageGenerationToolCreditsPerImage

    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
    Type Description
    double?

    Input1hCacheWriteCreditsPer1000Tokens

    Declaration
    [JsonPropertyName("input_1h_cache_write_credits_per_1000_tokens")]
    public double? Input1hCacheWriteCreditsPer1000Tokens { get; set; }
    Property Value
    Type Description
    double?

    Input5mCacheWriteCreditsPer1000Tokens

    Declaration
    [JsonPropertyName("input_5m_cache_write_credits_per_1000_tokens")]
    public double? Input5mCacheWriteCreditsPer1000Tokens { get; set; }
    Property Value
    Type Description
    double?

    InputCacheHitCreditsPer1000Tokens

    Declaration
    [JsonPropertyName("input_cache_hit_credits_per_1000_tokens")]
    public double? InputCacheHitCreditsPer1000Tokens { get; set; }
    Property Value
    Type Description
    double?

    InputCreditsPer1000Tokens

    Declaration
    [JsonPropertyName("input_credits_per_1000_tokens")]
    public double? InputCreditsPer1000Tokens { get; set; }
    Property Value
    Type Description
    double?

    IsNew

    Declaration
    [JsonPropertyName("is_new")]
    public bool? IsNew { get; set; }
    Property Value
    Type Description
    bool?

    LastUsed

    Declaration
    [JsonPropertyName("last_used")]
    public bool? LastUsed { get; set; }
    Property Value
    Type Description
    bool?

    MaxContextTokens

    Declaration
    [JsonPropertyName("max_context_tokens")]
    public int MaxContextTokens { get; set; }
    Property Value
    Type Description
    int

    MaxConversationLength

    Declaration
    [JsonPropertyName("max_conversation_length")]
    public int MaxConversationLength { get; set; }
    Property Value
    Type Description
    int

    MaxOutputTokens

    Declaration
    [JsonPropertyName("max_output_tokens")]
    public int MaxOutputTokens { get; set; }
    Property Value
    Type Description
    int

    ModelId

    Declaration
    [JsonPropertyName("model_id")]
    public string ModelId { get; set; }
    Property Value
    Type Description
    string

    Name

    Declaration
    [JsonPropertyName("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    OutputCreditsPer1000Tokens

    Declaration
    [JsonPropertyName("output_credits_per_1000_tokens")]
    public double? OutputCreditsPer1000Tokens { get; set; }
    Property Value
    Type Description
    double?

    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
    Type Description
    Dictionary<string, JsonElement>

    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
    Type Description
    string

    PerModalityRates

    Declaration
    [JsonPropertyName("per_modality_rates")]
    public List<ModalityRateResponse>? PerModalityRates { get; set; }
    Property Value
    Type Description
    List<ModalityRateResponse>

    Provider

    Declaration
    [JsonPropertyName("provider")]
    public string Provider { get; set; }
    Property Value
    Type Description
    string

    ReleasedAt

    Declaration
    [JsonPropertyName("released_at")]
    public string? ReleasedAt { get; set; }
    Property Value
    Type Description
    string

    SchemaDocumentationUrl

    Model documentation URL with request/response payload details.

    Declaration
    [JsonPropertyName("schema_documentation_url")]
    public string? SchemaDocumentationUrl { get; set; }
    Property Value
    Type Description
    string

    SchemaNotes

    Human-readable notes about request payload compatibility.

    Declaration
    [JsonPropertyName("schema_notes")]
    public string? SchemaNotes { get; set; }
    Property Value
    Type Description
    string

    SuccessorModelId

    Declaration
    [JsonPropertyName("successor_model_id")]
    public string? SuccessorModelId { get; set; }
    Property Value
    Type Description
    string

    SunsetAt

    Declaration
    [JsonPropertyName("sunset_at")]
    public string? SunsetAt { get; set; }
    Property Value
    Type Description
    string

    SupportedInputMedia

    Declaration
    [JsonPropertyName("supported_input_media")]
    public List<string>? SupportedInputMedia { get; set; }
    Property Value
    Type Description
    List<string>

    SupportedLanguages

    Declaration
    [JsonPropertyName("supported_languages")]
    public List<string>? SupportedLanguages { get; set; }
    Property Value
    Type Description
    List<string>

    SupportedOutputMedia

    Declaration
    [JsonPropertyName("supported_output_media")]
    public List<string>? SupportedOutputMedia { get; set; }
    Property Value
    Type Description
    List<string>

    SupportsOpenaiArguments

    Declaration
    [JsonPropertyName("supports_openai_arguments")]
    public bool? SupportsOpenaiArguments { get; set; }
    Property Value
    Type Description
    bool?

    SupportsStreaming

    Declaration
    [JsonPropertyName("supports_streaming")]
    public bool? SupportsStreaming { get; set; }
    Property Value
    Type Description
    bool?

    SupportsStructuredOutput

    Declaration
    [JsonPropertyName("supports_structured_output")]
    public bool? SupportsStructuredOutput { get; set; }
    Property Value
    Type Description
    bool?

    SupportsThinking

    Declaration
    [JsonPropertyName("supports_thinking")]
    public bool? SupportsThinking { get; set; }
    Property Value
    Type Description
    bool?

    SupportsToolUse

    Declaration
    [JsonPropertyName("supports_tool_use")]
    public bool? SupportsToolUse { get; set; }
    Property Value
    Type Description
    bool?

    ToolsDisabled

    Declaration
    [JsonPropertyName("tools_disabled")]
    public List<PromptToolResponse>? ToolsDisabled { get; set; }
    Property Value
    Type Description
    List<PromptToolResponse>

    ToolsEnabled

    Declaration
    [JsonPropertyName("tools_enabled")]
    public List<PromptToolResponse>? ToolsEnabled { get; set; }
    Property Value
    Type Description
    List<PromptToolResponse>

    TrainingCutoffAt

    Declaration
    [JsonPropertyName("training_cutoff_at")]
    public string? TrainingCutoffAt { get; set; }
    Property Value
    Type Description
    string

    Url

    Declaration
    [JsonPropertyName("url")]
    public string? Url { get; set; }
    Property Value
    Type Description
    string

    Variants

    Declaration
    [JsonPropertyName("variants")]
    public List<VariantCategoryResponse>? Variants { get; set; }
    Property Value
    Type Description
    List<VariantCategoryResponse>
    In this article
    Back to top Generated by DocFX