nova-api/api/config/config.yml

28 lines
452 B
YAML
Raw Permalink Normal View History

2023-10-12 00:03:15 +02:00
start-credits: 1000 # Credits given to new users.
2023-10-12 00:03:15 +02:00
# Credit cost per API request.
costs:
2023-10-12 00:03:15 +02:00
other: 5 # Other endpoints
2023-10-12 00:03:15 +02:00
chat-models: # chat completions
2023-10-16 23:34:54 +02:00
gpt-4-32k: 100
gpt-4: 20
gpt-3: 5
## Roles Explanation
# Bonuses: They are a multiplier for costs
# They work like: final_cost = cost * bonus
roles:
owner:
bonus: 0
2023-10-16 23:34:54 +02:00
enterprise:
bonus: 0.2
2023-10-16 23:34:54 +02:00
admin:
bonus: 0.4
2023-10-16 23:34:54 +02:00
helper:
bonus: 0.6
default:
2023-08-18 21:23:00 +02:00
bonus: 1.0