Skip to content

Environment variables

Every MISTRAL_* variable the provider reads, in one table.

Variable Sets Notes
MISTRAL_API_KEY The API key The zero-configuration default; a stored credential from /login mistral-native wins over it
MISTRAL_SERVER_TOOLS serverTools Comma or space separated; unknown values are ignored
MISTRAL_CONNECTORS connectors Comma or space separated connector ids or names
MISTRAL_AGENT_ID agentId A non-empty value after trimming switches to agent mode
MISTRAL_REGION endpoint.region Must be exactly global, eu or us — case-sensitive, no trimming; MISTRAL_REGION=EU is silently ignored
MISTRAL_CONNECTOR_TOOLS connectorTools.enabled 0, false or off (case-insensitive) disable; any other non-empty value enables
MISTRAL_RAG_STREAMING rag.streaming 0, false, off or no disable; 1, true, on or yes enable

Every variable in this table applies only when no config file sets its key — the file wins per key, uniformly. Three variables have an extra nuance:

  • MISTRAL_REGION — the value must be exactly global, eu or us (case-sensitive, no trimming); any other value is ignored, even without a config file
  • MISTRAL_CONNECTOR_TOOLS — only 0, false and off (case-insensitive) disable; any other non-empty value enables
  • MISTRAL_RAG_STREAMING — suppressed by either rag.streaming or knowledge.streaming in a config file

See Config file locations and precedence · Credential chain