mirror of
https://github.com/NovaOSS/nova-api.git
synced 2024-11-25 20:23:58 +01:00
28 lines
450 B
YAML
28 lines
450 B
YAML
start-credits: 1000 # Credits given to new users.
|
|
|
|
# Credit cost per API request.
|
|
costs:
|
|
other: 5 # Other endpoints
|
|
|
|
chat-models: # chat completions
|
|
gpt-4-32k: 200
|
|
gpt-4: 50
|
|
gpt-3: 10
|
|
|
|
## Roles Explanation
|
|
|
|
# Bonuses: They are a multiplier for costs
|
|
# They work like: final_cost = cost * bonus
|
|
|
|
roles:
|
|
owner:
|
|
bonus: 0
|
|
admin:
|
|
bonus: 0.2
|
|
helper:
|
|
bonus: 0.4
|
|
booster:
|
|
bonus: 0.6
|
|
default:
|
|
bonus: 1.0
|