Source code here A gateway to put in front of vLLM. It is KrakenD CE with a usage tracker compiled in, and does three things:

  • Authentication: every request needs a valid JWT from your OIDC provider.
  • Authorization: the token’s groups decide who may call the OpenAI-compatible endpoints, and who may call vLLM’s admin endpoints.
  • Accounting: the tokens of every successful POST are stored in PostgreSQL, per user and model.