mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-04 05:12:38 +02:00
refactor(openrouter): remove virtual openrouter/free auto-select entry
This commit is contained in:
parent
4d34b56c4d
commit
680a1c1c38
3 changed files with 45 additions and 105 deletions
|
|
@ -283,19 +283,15 @@ openrouter_integration:
|
|||
tpm: 1000000
|
||||
|
||||
# Rate limits for FREE OpenRouter models. Informational only: free OR
|
||||
# models and openrouter/free are intentionally kept OUT of the LiteLLM
|
||||
# Router pool, because OpenRouter enforces free-tier limits globally per
|
||||
# account (~20 RPM + 50-1000 daily requests across every ":free" model
|
||||
# combined) — per-deployment router accounting can't represent a shared
|
||||
# bucket correctly. Free OR models stay fully available in the model
|
||||
# selector and for user-facing Auto thread pinning.
|
||||
# models are intentionally kept OUT of the LiteLLM Router pool, because
|
||||
# OpenRouter enforces free-tier limits globally per account (~20 RPM +
|
||||
# 50-1000 daily requests across every ":free" model combined) —
|
||||
# per-deployment router accounting can't represent a shared bucket
|
||||
# correctly. Free OR models stay fully available in the model selector
|
||||
# and for user-facing Auto thread pinning.
|
||||
free_rpm: 20
|
||||
free_tpm: 100000
|
||||
|
||||
# Expose openrouter/free as a single virtual "Free (Auto-Select)" entry.
|
||||
# Recommended: keep true. OpenRouter picks a capable free model per request.
|
||||
free_router_enabled: true
|
||||
|
||||
litellm_params:
|
||||
max_tokens: 16384
|
||||
system_instructions: ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue