AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class OpenRouterModelData

    Inheritance
    object
    OpenRouterModelData
    Namespace: Glitch9.AIDevKit.OpenRouter
    Assembly: .dll
    Syntax
    public class OpenRouterModelData

    Properties

    Api

    Declaration
    public AIProvider Api { get; }
    Property Value
    Type Description
    AIProvider

    Architecture

    Required. The architecture details of the model.

    Declaration
    public ModelArchitecture Architecture { get; set; }
    Property Value
    Type Description
    ModelArchitecture

    BaseId

    Declaration
    public string BaseId { get; }
    Property Value
    Type Description
    string

    ContextLength

    Required. The context length of the model.

    Declaration
    public int ContextLength { get; set; }
    Property Value
    Type Description
    int

    CostPerImage

    Declaration
    public string CostPerImage { get; }
    Property Value
    Type Description
    string

    CostPerInputCacheRead

    Declaration
    public string CostPerInputCacheRead { get; }
    Property Value
    Type Description
    string

    CostPerInputCacheWrite

    Declaration
    public string CostPerInputCacheWrite { get; }
    Property Value
    Type Description
    string

    CostPerInputToken

    Declaration
    public string CostPerInputToken { get; }
    Property Value
    Type Description
    string

    CostPerInternalReasoning

    Declaration
    public string CostPerInternalReasoning { get; }
    Property Value
    Type Description
    string

    CostPerOutputToken

    Declaration
    public string CostPerOutputToken { get; }
    Property Value
    Type Description
    string

    CostPerRequest

    Declaration
    public string CostPerRequest { get; }
    Property Value
    Type Description
    string

    CostPerWebSearch

    Declaration
    public string CostPerWebSearch { get; }
    Property Value
    Type Description
    string

    CreatedAt

    Required. The creation time of the model.

    Declaration
    public UnixTime? CreatedAt { get; set; }
    Property Value
    Type Description
    UnixTime?

    Description

    Required. The description of the model.

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    string

    Id

    Required. The ID of the model.

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    string

    InputModality

    Declaration
    public Modality? InputModality { get; }
    Property Value
    Type Description
    Modality?

    InputTokenLimit

    Declaration
    public int? InputTokenLimit { get; }
    Property Value
    Type Description
    int?

    IsFineTuned

    Declaration
    public bool? IsFineTuned { get; }
    Property Value
    Type Description
    bool?

    IsTrainable

    Declaration
    public bool? IsTrainable { get; }
    Property Value
    Type Description
    bool?

    Name

    Required. The name of the model.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    OutputModality

    Declaration
    public Modality? OutputModality { get; }
    Property Value
    Type Description
    Modality?

    OutputTokenLimit

    Declaration
    public int? OutputTokenLimit { get; }
    Property Value
    Type Description
    int?

    OwnedBy

    Declaration
    public string OwnedBy { get; }
    Property Value
    Type Description
    string

    PerRequestLimits

    Optional. IDK what this is for, but it seems to be a dictionary of string to object. Official doc says nothing about it. (https://openrouter.ai/docs/api-reference/list-available-models)

    Declaration
    public Dictionary<string, object> PerRequestLimits { get; set; }
    Property Value
    Type Description
    Dictionary<string, object>

    Pricing

    Required. The pricing details of the model.

    Declaration
    public ModelPricing Pricing { get; set; }
    Property Value
    Type Description
    ModelPricing

    TopProvider

    Required. The top provider details.

    Declaration
    public TopProvider TopProvider { get; set; }
    Property Value
    Type Description
    TopProvider
    In this article
    Back to top Generated by DocFX