Environment Variables
| Variable | Default | Description |
|---|---|---|
MODELREINS_PROVIDER | — | Default provider for workers |
MODELREINS_API_URL | http://localhost:7420 | Coordinator URL |
MODELREINS_API_KEY | — | API key for coordinator auth |
MODELREINS_CONFIG_URL | — | Remote config endpoint URL |
Provider API keys
Section titled “Provider API keys”| Variable | Provider |
|---|---|
ANTHROPIC_API_KEY | Claude |
OPENAI_API_KEY | OpenAI |
GOOGLE_AI_API_KEY | Gemini |
OPENROUTER_API_KEY | OpenRouter |
ONEMINAI_API_KEY | 1minAI |
Local provider hosts
Section titled “Local provider hosts”| Variable | Default | Description |
|---|---|---|
MODELREINS_OLLAMA_HOST | http://localhost:11434 | Ollama server URL |
MODELREINS_LMSTUDIO_HOST | http://localhost:1234 | LM Studio server URL |
Worker
Section titled “Worker”| Variable | Default | Description |
|---|---|---|
MODELREINS_WORKER_NAME | hostname | Worker display name |
MODELREINS_WORKER_CONCURRENCY | 1 | Max concurrent jobs |
MODELREINS_WORKER_TAGS | — | Comma-separated worker tags |
Coordinator
Section titled “Coordinator”| Variable | Default | Description |
|---|---|---|
MODELREINS_PORT | 7420 | Coordinator and dashboard port |
MODELREINS_HOST | localhost | Coordinator bind address |
MODELREINS_DB_PATH | ./data/modelreins.db | SQLite database path |
MCP Channel
Section titled “MCP Channel”| Variable | Default | Description |
|---|---|---|
MODELREINS_MCP_TIMEOUT | 30000 | Timeout in ms for sync completions |