Ollama
ИИ и аудиоRun open language models locally with one command and a simple API.
Ollama downloads and runs open large language models on your own machine with a single command. It exposes a local HTTP API on port 11434 that tools like Open WebUI, editors and scripts can talk to, so your prompts and documents never leave your network. It uses an NVIDIA GPU when one is available and falls back to the CPU otherwise. Models such as gpt-oss, Llama, Gemma and Qwen are pulled from its library with ollama pull. It is the engine; for a chat interface in the browser, pair it with Open WebUI.
Съвместимост
Галерия със снимки
- Models
- Running on GPU
- API
Деплойване
# Official Docker method with an NVIDIA GPU. Needs the NVIDIA driver and
# nvidia-container-toolkit on the host. We run Ollama as a native install
# inside an LXC (see the guide), so we have not tested this exact snippet.
services:
ollama:
image: ollama/ollama:latest
container_name: ollama
restart: unless-stopped
ports:
- "11434:11434"
volumes:
- ./ollama:/root/.ollama
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
Алтернатива на
ChatGPT API, Claude API, Google Gemini API