Search Results for

    Show / Hide Table of Contents

    Class ModalityRateResponse

    Per-modality rate for an LLM that prices image/audio/video output (or input) at a rate distinct from the default text rate. Example: Gemini 3.1 Flash Image charges $3/1M output tokens for text but $60/1M output tokens for generated images. The image rate surfaces here with modality="image" and output_credits_per_1000_tokens set; the default text rate stays on the parent model fields.

    Inheritance
    object
    ModalityRateResponse
    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 ModalityRateResponse

    Properties

    InputCreditsPer1000Tokens

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

    Modality

    Declaration
    [JsonPropertyName("modality")]
    public string Modality { 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?
    In this article
    Back to top Generated by DocFX