LocalAI v3.10.0 adds Anthropic /v1/messages API, Open Responses API, video generation UI, Moonshine STT, and Pocket-TTS with voice cloning.
$ git clone --branch v3.10.0 https://github.com/mudler/LocalAI.git # already have the repo? check out this version: $ git checkout v3.10.0
$ curl http://localhost:8080/api/v1/trace /v1/messages endpoint.$ curl -X POST http://localhost:8080/v1/messages \ -H 'Content-Type: application/json' \ -d '{"model": "claude-3-opus-20240229", "max_tokens": 1024, "messages": [{"role": "user", "content": "Summarise this document."}]}'
- ›Adds
GET /api/v1/responses/{response_id}andGET /api/v1/traceendpoints as part of new Open Responses API support, enabling stateful agent sessions withresponse_id,background: trueasync mode, andstream: truestreaming of tool calls, images, and audio. - ›Adds
GET /api/v1/traceendpoint for in-memory request/response tracing; logs are capped by max size and exportable to JSON for agent debugging and fine-tuning analysis. - ›Adds native Anthropic
messagesAPI support at/v1/messages, providing a drop-in replacement for Claude with full tool/function calling, streaming, and compatibility withanthropic-sdk-goand LangChain. - ›Adds new
/videopage in the web UI for text-to-video and image-to-video generation, supporting LTX-2 anddiffuserswith adjustablefps,num_frames, andguidance_scaleparameters. - ›Adds Moonshine backend — an ONNX-based, ultra-fast speech-to-text engine optimised for low-end devices (Raspberry Pi, older laptops) with live transcription support.
+6 moreshow less
- ›Adds Pocket-TTS backend for lightweight, high-fidelity text-to-speech with voice cloning support (requires HF authentication and a registered voice model).
- ›Adds streaming tool call support (
input_json_delta) and XML-style tool call parsing (<function>...</function>) across all backends (llama.cpp, vLLM, diffusers, etc.). - ›Adds a new 'Reasoning' field that automatically detects and extracts thinking tags from model output, surfacing reasoning steps in a dedicated 'Thinking' tab in the chat UI in both SSE and non-SSE modes.
- ›Unified GPU backend packaging: CUDA, ROCm, and Vulkan GPU libraries are now bundled inside backend containers, so any
latest/masterimage works on Nvidia, AMD, and ARM64 (Vulkan, experimental) without manual driver configuration. - ›Adds Vulkan arm64 backend builds, extending GPU-accelerated inference to ARM64 platforms.
- ›System-aware backend gallery now auto-detects CPU/GPU capabilities and hides incompatible backends (e.g., MLX on Linux, CUDA on AMD), showing only runnable options alongside detected capabilities.