Spaces:
Running

Yash030 Claude Opus 4.7 commited on
Commit
cc3287d
·
1 Parent(s): d6a1875

Performance optimizations for proxy speed and shared sessions

Browse files

- Per-provider rate limiting: Zen gets unlimited, NVIDIA NIM gets 40/min
- Higher Zen concurrency: 4x max_concurrency for fast minimax model
- Connection pool tuning: Keepalive connections for faster reuse
- Session tracker: Fair resource sharing across Claude Code instances
- Smart auto-routing: Prioritize Zen (no limits), then by load

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

4 files changed +296 -4
Files changed (4)
api/model_router.py+21-2
api/services.py+10
core/session_tracker.pyAdded+249
providers/openai_compat.py+16-2