Replies: 1 comment 2 replies
-
@scampion thanks for the discussion
curl 'http://0.0.0.0:8000/key/generate' \
--header 'Authorization: Bearer <your-master-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"models": ["gpt-3.5-turbo", "gpt-4", "claude-2"],
"duration": "20m",
"metadata": {"user": "[email protected]"},
"team_id": "core-infra",
"max_budget": 10,
}' |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Manage budget per user and model group make sense if you want to manage proprietary model and self hosted model.
Alice:
Bob:
Etc ...
Another way to manage that it's per virtual key but we must be able to restrict them to certain model
Beta Was this translation helpful? Give feedback.
All reactions