Last active
August 5, 2025 06:11
-
-
Save heiko-braun/f63f86a5913bc286bc25907655e5b6ba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| model_list: | |
| - model_name: fake-openai-endpoint | |
| litellm_params: | |
| model: openai/fake | |
| api_key: fake-key | |
| api_base: https://exampleopenaiendpoint-production.up.railway.app/ | |
| general_settings: | |
| custom_sso: my_pkg.custom_sso_handler | |
| proxy_batch_write_at: 60 | |
| database_connection_pool_limit: 25 | |
| # JWT Auth Setup (for API access) | |
| enable_jwt_auth: True | |
| litellm_jwtauth: | |
| user_id_jwt_field: "preferred_username" | |
| team_ids_jwt_field: "nested.claim.roles" | |
| roles_jwt_field: "nested.claim.roles" | |
| user_id_upsert: true | |
| sync_user_role_and_teams: true | |
| jwt_litellm_role_map: | |
| - jwt_role: "apples" | |
| litellm_role: "proxy_admin" | |
| - jwt_role: "oranges" | |
| litellm_role: "internal_user_viewer" | |
| # OPTIONAL Best Practices | |
| disable_error_logs: True | |
| litellm_settings: | |
| upperbound_key_generate_params: | |
| max_budget: 100 | |
| budget_duration: "30d" | |
| duration: "30d" | |
| max_parallel_requests: 1000 | |
| tpm_limit: 800000 | |
| rpm_limit: 5000 | |
| # self-service limits | |
| max_internal_user_budget: 20 | |
| internal_user_budget_duration: "1mo" | |
| default_internal_user_params: | |
| user_role: "internal_user" | |
| models: [ "gpt-4o", "gpt-4o-mini" ] | |
| teams: | |
| - team_id: "12345" | |
| user_role: "user" | |
| request_timeout: 600 | |
| json_logs: True | |
| set_verbose: False | |
| callbacks: [ | |
| "prometheus" | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment