feat: Add comprehensive cost tracking display for LLM usage (#2992)
Co-authored-by: jack <jack@deck.local> Co-authored-by: Bradley Axen <baxen@squareup.com>
This commit is contained in:
@@ -229,10 +229,22 @@ export type ModelInfo = {
|
||||
* The maximum context length this model supports
|
||||
*/
|
||||
context_limit: number;
|
||||
/**
|
||||
* Currency for the costs (default: "$")
|
||||
*/
|
||||
currency?: string | null;
|
||||
/**
|
||||
* Cost per token for input (optional)
|
||||
*/
|
||||
input_token_cost?: number | null;
|
||||
/**
|
||||
* The name of the model
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* Cost per token for output (optional)
|
||||
*/
|
||||
output_token_cost?: number | null;
|
||||
};
|
||||
|
||||
export type PermissionConfirmationRequest = {
|
||||
|
||||
Reference in New Issue
Block a user