Class OpenRouterModelData
Inheritance
object
OpenRouterModelData
Assembly: .dll
Syntax
public class OpenRouterModelData
Properties
Api
Declaration
public AIProvider Api { get; }
Property Value
Architecture
Required. The architecture details of the model.
Declaration
public ModelArchitecture Architecture { get; set; }
Property Value
BaseId
Declaration
public string BaseId { get; }
Property Value
ContextLength
Required. The context length of the model.
Declaration
public int ContextLength { get; set; }
Property Value
CostPerImage
Declaration
public string CostPerImage { get; }
Property Value
Declaration
public string CostPerInputCacheRead { get; }
Property Value
Declaration
public string CostPerInputCacheWrite { get; }
Property Value
Declaration
public string CostPerInputToken { get; }
Property Value
CostPerInternalReasoning
Declaration
public string CostPerInternalReasoning { get; }
Property Value
CostPerOutputToken
Declaration
public string CostPerOutputToken { get; }
Property Value
CostPerRequest
Declaration
public string CostPerRequest { get; }
Property Value
CostPerWebSearch
Declaration
public string CostPerWebSearch { get; }
Property Value
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
Id
Required. The ID of the model.
Declaration
public string Id { get; set; }
Property Value
Declaration
public Modality? InputModality { get; }
Property Value
Declaration
public int? InputTokenLimit { get; }
Property Value
IsFineTuned
Declaration
public bool? IsFineTuned { get; }
Property Value
IsTrainable
Declaration
public bool? IsTrainable { get; }
Property Value
Name
Required. The name of the model.
Declaration
public string Name { get; set; }
Property Value
OutputModality
Declaration
public Modality? OutputModality { get; }
Property Value
OutputTokenLimit
Declaration
public int? OutputTokenLimit { get; }
Property Value
OwnedBy
Declaration
public string OwnedBy { get; }
Property Value
PerRequestLimits
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
TopProvider
Required. The top provider details.
Declaration
public TopProvider TopProvider { get; set; }
Property Value