forked from phoenix/litellm-mirror
fix(utils.py): allow passing in custom pricing to completion_cost as params
This commit is contained in:
parent
a0c5c402ae
commit
a2a5884df1
3 changed files with 94 additions and 4 deletions
6
litellm/types/utils.py
Normal file
6
litellm/types/utils.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from typing import List, Optional, Union, Dict, Tuple, Literal, TypedDict
|
||||
|
||||
|
||||
class CostPerToken(TypedDict):
|
||||
input_cost_per_token: float
|
||||
output_cost_per_token: float
|
Loading…
Add table
Add a link
Reference in a new issue