Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PGHOSTNoPostgres host, used when no connection URL is given.
PGUSERNoPostgres user, used when no connection URL is given.
PGSERVICENoPostgres service file entry to use for the connection.
PGSSLMODENoPostgres SSL mode. Keep PGSSLMODE=require (or verify-full) for a remote database.
PGDATABASENoPostgres database name, used when no connection URL is given.
LITELLM_LENS_SCHEMANoSchema of the LiteLLM tables.public
LITELLM_LENS_ENV_FILENoPath to the .env file to read, instead of .env in the current folder.
LITELLM_LENS_DATABASE_URLNoConnection URL for the LiteLLM database. Without it, the libpq PG* variables, PGSERVICE and ~/.pgpass apply. The generic DATABASE_URL is ignored.
LITELLM_LENS_ALLOWED_HOSTSNoHTTP transport only: the Host headers it accepts. Set behind a reverse proxy.localhost only
LITELLM_LENS_PREMIUM_MODELSNoDashboard model group: premium models.Claude=claude
LITELLM_LENS_SAVINGS_MODELSNoDashboard model group: open models.open models=deepseek|glm|...
LITELLM_LENS_ALLOWED_ORIGINSNoHTTP transport only: the Origin headers it accepts. Set behind a reverse proxy.localhost only
LITELLM_LENS_CONNECT_TIMEOUTNoSeconds to wait for a connection.10
LITELLM_LENS_FLAGSHIP_MODELSNoDashboard model group: flagship models.Opus=opus
LITELLM_LENS_EXCLUDE_API_KEYSNoAPI keys left out of every number.litellm-internal-health-check
LITELLM_LENS_REFERENCE_PRICESNoPrices (USD per million tokens) for the savings estimate.Claude Sonnet 5.5=2,2.5,0.1,10
LITELLM_LENS_STATEMENT_TIMEOUTNoSeconds 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources