Class OpenRouterModelData
- Namespace
- Glitch9.AIDevKit.OpenRouter
public class OpenRouterModelData : IModelData, IAssetData, IProviderData, IData
- Inheritance
-
objectOpenRouterModelData
- Implements
-
IData
Properties
Api
public Api Api { get; }
Property Value
Architecture
Required. The architecture details of the model.
public ModelArchitecture Architecture { get; set; }
Property Value
BaseId
public string BaseId { get; }
Property Value
- string
ContextLength
Required. The context length of the model.
public int ContextLength { get; set; }
Property Value
- int
CreatedAt
Required. The creation time of the model.
public UnixTime? CreatedAt { get; set; }
Property Value
- UnixTime?
Description
Required. The description of the model.
public string Description { get; set; }
Property Value
- string
Id
Required. The ID of the model.
public string Id { get; set; }
Property Value
- string
InputModals
public Modalities? InputModals { get; }
Property Value
InputTokenLimit
public int? InputTokenLimit { get; }
Property Value
- int?
IsCustom
public bool? IsCustom { get; }
Property Value
- bool?
IsTrainable
public bool? IsTrainable { get; }
Property Value
- bool?
Name
Required. The name of the model.
public string Name { get; set; }
Property Value
- string
OutputModals
public Modalities? OutputModals { get; }
Property Value
OutputTokenLimit
public int? OutputTokenLimit { get; }
Property Value
- int?
OwnedBy
public string OwnedBy { get; }
Property Value
- 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)
public Dictionary<string, object> PerRequestLimits { get; set; }
Property Value
- Dictionary<string, object>
Prices
public List<ModelPrice> Prices { get; }
Property Value
- List<ModelPrice>
Pricing
Required. The pricing details of the model.
public ModelPricing Pricing { get; set; }
Property Value
TopProvider
Required. The top provider details.
public TopProvider TopProvider { get; set; }