LiteLLM Lens
by ykataria
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PGHOST | No | Postgres host, used when no connection URL is given. | |
| PGUSER | No | Postgres user, used when no connection URL is given. | |
| PGSERVICE | No | Postgres service file entry to use for the connection. | |
| PGSSLMODE | No | Postgres SSL mode. Keep PGSSLMODE=require (or verify-full) for a remote database. | |
| PGDATABASE | No | Postgres database name, used when no connection URL is given. | |
| LITELLM_LENS_SCHEMA | No | Schema of the LiteLLM tables. | public |
| LITELLM_LENS_ENV_FILE | No | Path to the .env file to read, instead of .env in the current folder. | |
| LITELLM_LENS_DATABASE_URL | No | Connection URL for the LiteLLM database. Without it, the libpq PG* variables, PGSERVICE and ~/.pgpass apply. The generic DATABASE_URL is ignored. | |
| LITELLM_LENS_ALLOWED_HOSTS | No | HTTP transport only: the Host headers it accepts. Set behind a reverse proxy. | localhost only |
| LITELLM_LENS_PREMIUM_MODELS | No | Dashboard model group: premium models. | Claude=claude |
| LITELLM_LENS_SAVINGS_MODELS | No | Dashboard model group: open models. | open models=deepseek|glm|... |
| LITELLM_LENS_ALLOWED_ORIGINS | No | HTTP transport only: the Origin headers it accepts. Set behind a reverse proxy. | localhost only |
| LITELLM_LENS_CONNECT_TIMEOUT | No | Seconds to wait for a connection. | 10 |
| LITELLM_LENS_FLAGSHIP_MODELS | No | Dashboard model group: flagship models. | Opus=opus |
| LITELLM_LENS_EXCLUDE_API_KEYS | No | API keys left out of every number. | litellm-internal-health-check |
| LITELLM_LENS_REFERENCE_PRICES | No | Prices (USD per million tokens) for the savings estimate. | Claude Sonnet 5.5=2,2.5,0.1,10 |
| LITELLM_LENS_STATEMENT_TIMEOUT | No | Seconds per query. Set 0 behind PgBouncer in transaction mode. | 30 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues