Register reusable model connections so agents can use them for inference.
Model Connections tell agents which model to use, where it is hosted, and how to authenticate. Each entry is reusable across multiple agents in your workspace.
vLLM, TGI, LM Studio, or other self-hosted servers
llama-3, mistral-7b
For local or self-hosted OpenAI-compatible servers (Ollama, vLLM, TGI), choose Custom endpoint and set the full base URL (e.g., http://localhost:11434/v1).
When you save a model connection with a new API key, Studio:
Stores the key in the Registry secrets store with a suggested name (e.g., OPENAI_API_KEY, OPENSHIFT_AI_API_KEY)
References the secret in the connection config — the raw key is never stored in plain text
See Secrets for how this works.To rotate a key: Edit the connection and enter a new secret value. All agents using that connection pick up the new key automatically.
When creating or editing an agent, select an existing model connection from the inference tab. You do not re-enter credentials — agents inherit authentication from the connection.