struct OpenRouter::Usage

Included Modules

Defined in:

openrouter/types/response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(prompt : Int32, completion : Int32, total : Int32) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def completion : Int32 #

[View source]
def prompt : Int32 #

[View source]
def total : Int32 #

[View source]