Add /usage endpoint with token tracking, live balances, and cost calculations
This commit is contained in:
@@ -11,5 +11,19 @@
|
||||
"deepseek": {
|
||||
"apiKey": "YOUR_DEEPSEEK_KEY"
|
||||
}
|
||||
},
|
||||
"pricing": {
|
||||
"anthropic": {
|
||||
"inputPerMTok": 15,
|
||||
"outputPerMTok": 75
|
||||
},
|
||||
"deepseek": {
|
||||
"inputPerMTok": 0.27,
|
||||
"outputPerMTok": 1.10
|
||||
},
|
||||
"zai": {
|
||||
"type": "flat",
|
||||
"monthlyCostUsd": 10
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user