先看实际效果
LocalAI: inspect a complete local chat exchange
The original repository screenshot shows the complete “hi!” request and reply, alongside the displayed fastllama-3.2-1b-instruct identifier. The visible exchange is transcribed below. It illustrates the chat interface; model provenance, answer quality and an independent rerun have not been established.

示例输入
hi!示例输出
Hello! It's great to start our conversation! How can I get more information on a specific topic?许可
Full original source license/copyright retained. Complete selected inputs preserve source values; narrative headings are editorially explained. No source script, model request, browser crawl or installation executed. The greeting and visible reply are transcribed from the complete source screenshot; empty image prompt/model fields are not filled by inference. Retained interface screenshots are not a current-version or model-availability promise. Original PNG converted to native-resolution lossless WebP with identical decoded RGBA; no crop, retouch or upscaling.
MIT License
Copyright (c) 2023-2025 Ettore Di Giacinto (mudler@localai.io)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.LocalAI: browse model types before installation
The author’s retained gallery screenshot shows type/tag filters and Gemma model cards. The displayed 907-model count belongs to this source screenshot; it is not a current inventory or evidence that those models are installed. Provider model names and marks remain their owners’ identifiers.

许可
Full original source license/copyright retained. Complete selected inputs preserve source values; narrative headings are editorially explained. No source script, model request, browser crawl or installation executed. The greeting and visible reply are transcribed from the complete source screenshot; empty image prompt/model fields are not filled by inference. Retained interface screenshots are not a current-version or model-availability promise. Original PNG converted to native-resolution lossless WebP with identical decoded RGBA; no crop, retouch or upscaling.
MIT License
Copyright (c) 2023-2025 Ettore Di Giacinto (mudler@localai.io)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.LocalAI: see the image-generation workspace
The author’s screenshot shows a sample illustrated poster inside the image workspace. Its prompt is empty and its model selector is unselected: the flux.1-dev header does not establish the poster’s exact generation model or a reusable prompt. This is an interface preview, with no inferred recipe or independent generation claim.

许可
Full original source license/copyright retained. Complete selected inputs preserve source values; narrative headings are editorially explained. No source script, model request, browser crawl or installation executed. The greeting and visible reply are transcribed from the complete source screenshot; empty image prompt/model fields are not filled by inference. Retained interface screenshots are not a current-version or model-availability promise. Original PNG converted to native-resolution lossless WebP with identical decoded RGBA; no crop, retouch or upscaling.
MIT License
Copyright (c) 2023-2025 Ettore Di Giacinto (mudler@localai.io)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.LocalAI: declare a weather tool in a local API request
This complete request from the official Try it out guide declares a get_current_weather function and asks the configured qwen3-4b model about Boston. Install and configure the named model first. The declaration describes a tool; it does not implement the weather function, fetch weather or supply an executed response.
示例输入
curl http://localhost:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3-4b",
"messages": [
{
"role": "user",
"content": "What is the weather like in Boston?"
}
],
"tools": [
{
"type": "function",
"function": {
"name": "get_current_weather",
"description": "Get the current weather in a given location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "The city and state, e.g. San Francisco, CA"
},
"unit": {
"type": "string",
"enum": ["celsius", "fahrenheit"]
}
},
"required": ["location"]
}
}
}
],
"tool_choice": "auto"
}'许可
Full original source license/copyright retained. Complete selected inputs preserve source values; narrative headings are editorially explained. No source script, model request, browser crawl or installation executed. The greeting and visible reply are transcribed from the complete source screenshot; empty image prompt/model fields are not filled by inference. Retained interface screenshots are not a current-version or model-availability promise.
MIT License
Copyright (c) 2023-2025 Ettore Di Giacinto (mudler@localai.io)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.产品介绍
LocalAI is a self-hostable inference service that exposes OpenAI-compatible APIs for configured text, vision, speech and other model backends.
来源语言 · ENLocalAI 能做什么
- 01Serve configured models through compatible APIs
- 02Connect text, image and speech backends
- 03Manage model configurations and runtime options
- 04Integrate local inference with existing client applications
它有什么不同
It supplies an inference layer that applications can call using compatible endpoints. Supported capabilities and performance depend on model files, backend dependencies and the available hardware.
来源语言 · EN谁值得考虑
- Developers connecting applications to self-hosted inference
- Teams evaluating local model deployment options
需要核对的事项
- 用一个真实任务试用,并对照自己的要求检查结果。
- 核实服务会保存、共享或用于训练哪些数据。
- 在官网确认当前价格、使用限额和取消条款。
官网链接核查于 2026年10月22日;功能声明尚未经过独立测试。




