using System.Text.Json.Serialization;
namespace AIStudio.Provider.OpenRouter;
///
/// A data model for an OpenRouter model from the API.
///
///
/// The window is the model's, not that of any one provider behind it. OpenRouter also states a
/// window per provider it currently prefers, but it picks one per request, so a number taken from
/// there would describe a choice nobody has made yet.
///
/// The model's ID.
/// The model's human-readable display name.
/// How much the model reads and writes in one conversation, in tokens.
public readonly record struct OpenRouterModel(string Id, string? Name, [property: JsonPropertyName("context_length")] int? ContextWindowTokens);