Search Results for

    Show / Hide Table of Contents

    Class ModelPricing

    Inheritance
    object
    ModelPricing
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.OpenRouter
    Assembly: Glitch9.AIDevKit.Provider.OpenRouter.dll
    Syntax
    public sealed class ModelPricing

    Properties

    | Edit this page View Source

    Completion

    Required. Cost per completion token.

    Declaration
    [JsonProperty("completion")]
    public string Completion { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Image

    Required. Cost per image.

    Declaration
    [JsonProperty("image")]
    public string Image { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    InputCacheRead

    Required. Cost for input cache read.

    Declaration
    [JsonProperty("input_cache_read")]
    public string InputCacheRead { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    InputCacheWrite

    Required. Cost for input cache write.

    Declaration
    [JsonProperty("input_cache_write")]
    public string InputCacheWrite { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    InternalReasoning

    Required. Cost for internal reasoning.

    Declaration
    [JsonProperty("internal_reasoning")]
    public string InternalReasoning { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Prompt

    Required. Cost per prompt token.

    Declaration
    [JsonProperty("prompt")]
    public string Prompt { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Request

    Required. Cost per request.

    Declaration
    [JsonProperty("request")]
    public string Request { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    WebSearch

    Required. Cost for web search.

    Declaration
    [JsonProperty("web_search")]
    public string WebSearch { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation