core/http/views/index.html
{{ if eq (len .ModelsConfig) 0 }}
Get started with LocalAI by installing your first model. Choose from our gallery, import your own, or use the API to download models.
Browse and install pre-configured models
Upload your own model files
Use the API to download models programmatically
1
Browse the Model Gallery
Explore our curated collection of pre-configured models. Find models for chat, image generation, audio processing, and more.
2
Install a Model
Click on a model from the gallery to install it, or use the import feature to upload your own model files.
3
Start Chatting
Once installed, return to this page to start chatting with your model or use the API to interact programmatically.
Browse Model GalleryImport ModelGetting Started {{ else }}
Ask me anything, and I'll do my best to assist you.
Select Model checkMCPAvailability())" class="input flex-1" required > Select a model to chat with... {{ range .ModelsConfig }} {{ $cfg := . }} {{ $hasMCP := or (ne $cfg.MCP.Servers "") (ne $cfg.MCP.Stdio "") }} {{ range .KnownUsecaseStrings }} {{ if eq . "FLAG_CHAT" }} {{$cfg.Name}} {{ end }} {{ end }} {{ end }} MCP
Non-streaming mode active. Responses may take longer to process.
Installed Models and BackendsImport ModelBrowse GalleryDocumentation
{{ $loadedModels := .LoadedModels }} • {{ range .ModelsConfig }} {{ if index $loadedModels .Name }} {{.Name}} {{ end }} {{ end }} • {{ end }}
{{template "views/partials/footer" .}}