Search Results for

    Show / Hide Table of Contents

    Class ClaudeTokenCount

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

    Properties

    | Edit this page View Source

    ContextManagement

    Required. Information about context management applied to the message.

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

    InputTokens

    Required. The total number of tokens across the provided list of messages, system prompt, and tools.

    Declaration
    [JsonProperty("input_tokens")]
    public int InputTokens { get; set; }
    Property Value
    Type Description
    int

    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