Ollama
Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.
30-second check: should it make your shortlist?
Ollama is the de-facto entry point for running open models locally: one command…
Local / self-hosted · CLI
Open licence
Read the original licence before commercial useDirect in mainland · Not in filing list
These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.
Information not confirmed
- The full model-library catalog and each weight's license (changes with listings and weight pages; follow the model page)
- MCP integration (the official docs navigation does not list MCP; this dossier records only the tool-calling API and does not infer external bridges)
Ollama is the de-facto entry point for running open models locally: one command installs it, the official model library pulls models in one click, and an OpenAI-compatible API comes up on your machine. Honest notes: the tool is MIT but weight licenses follow each model; the official README explicitly mentions a cloud line.
When to use it, when not to
Fits: getting DeepSeek/Qwen/Llama running with one command, OpenAI-compatible local endpoints, desktop and server alike. Not a fit: high-concurrency serving (vLLM/SGLang), hard data-boundary requirements on the cloud line.
China availability domestic / direct access / CAC filing · snapshot 2026-11-21
- Origin
- foreign-made Ollama Inc. (US, YC-backed).
- Direct access
- direct OK ollama.com and docs.ollama.com measured 200 direct (2026-10-21).
- CAC filing
- not in filing list:not in the CAC public registry (searched 2026-10-21); the product does not serve the mainland public, so filing does not apply.
Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.
8 questions, one table
8 questions, each comparable item by item with its peers.
- Model & openness
One-click pulls of open-source models from the official model library (ollama.com/search direct-fetched 200); GGUF and safetensors importable (docs.ollama.com/import direct-fetch verified); the library catalog shifts with listings — follow the ollama.com/search list for the day.
- Where it runs
A local process (CLI + API server, port 11434 by default). The official Cloud docs cover API keys, usage and plans; the Cloud FAQ states zero data retention (ZDR). GitHub 185,274★ (API verified 2026-10-21).
- Local files
Model weights and conversation data land on your machine by default. On Ollama Cloud, prompts and responses are processed transiently under ZDR — not stored, not logged, not used for training; the account keeps basic details and content-free usage metadata (Cloud FAQ).
- Tasks after shutdown
The resident API server carries background inference; keep_alive and concurrent-request queueing are described in the official local FAQ (OLLAMA_KEEP_ALIVE, parallel requests and VRAM queueing).
- Tools & extensions
The official tool surface is the function-calling / tool-calling API (docs.ollama.com has a Tool calling page); the docs navigation does not list MCP integration, so MCP needs an external bridge and this dossier does not treat external bridges as official capability.
- Context & memory
Default context scales by VRAM: <24GiB 4k, 24–48GiB 32k, ≥48GiB 256k; cloud models default to the largest context (official Context length page). Cross-session memory is not part of the official docs narrative.
- Permissions & limits
Runs locally with no account needed (the API server listens locally by default); the cloud line signs in with an Ollama account / API key, managed in settings, with the data surface governed by the Cloud FAQ ZDR and account-deletion terms.
- Best for
Fits: getting an open-source model running with one command, wanting an OpenAI-compatible local API, desktop and server alike. Does not fit: maximum throughput/service scheduling (that is vLLM/SGLang's job); hard requirements on cloud data boundaries (read the Cloud FAQ ZDR terms first).
Licence and terms of use
MIT (official repo LICENSE, direct-fetched 2026-10-21); model weights carry their own licenses — whatever you download is bound by its own terms.
Top misconception
- Reading 'MIT Ollama' as 'models free for commercial use' — weight licenses follow the model, not the tool
- Seeing only the local line — the official README explicitly states a cloud line; its data boundary needs a separate check
- Running long documents on default context — context follows the Modelfile/params and varies by model
Evidence sources
Checked 2026-11-21,Content updated 2026-11-21。This is the date of the entry, not a claim that every field was rechecked that day.
| Type | Name | Link |
|---|---|---|
| docs | ollama/ollama · LICENSE (MIT, direct-fetched and verified 2026-10-21) | https://github.com/ollama/ollama/blob/main/LICENSE |
| repo | ollama/ollama · repo (185,274★, last push 2026-10-30, GitHub API verified) | https://github.com/ollama/ollama |
| docs | Ollama · official docs (import/Modelfile/tool-calling pages in the navigation) | https://docs.ollama.com |
| changelog | ollama/ollama · Releases (changelog) | https://github.com/ollama/ollama/releases |
| docs | Ollama Docs · Cloud (cloud models / API key / usage and plans, direct-fetched 2026-11-21) | https://docs.ollama.com/cloud.md |
| docs | Ollama Docs · Cloud FAQ (zero data retention, no training, account deletion) | https://docs.ollama.com/cloud/faq.md |
| docs | Ollama Docs · Context length (default context by VRAM tier, direct-fetched 2026-11-21) | https://docs.ollama.com/context-length.md |
| docs | Ollama Docs · Local FAQ (keep_alive and concurrent requests) | https://docs.ollama.com/faq.md |
Test notes
This site has not completed measured runs. The closest test protocol is the code-side protocols/framework/_protocol.md (the local-endpoint and credential-boundary sections are reusable; no runner-specific protocol exists on this site yet). The models site's GGUF index framing (llama.cpp as the format source) connects with this dossier's model_access axis.
第一次怎么用
- 安装后先跑
ollama --version,确认服务已启动。 - 从官方模型库拉一个模型;权重许可跟着模型走,商用前单独查。
- 本机默认起 OpenAI 兼容端点,客户端把 base URL 指过来即可。
- 显存不够时先降量化档,再考虑 CPU 卸载;不要直接换卡。
- 官方 README 另写有云端线;本地与云端是两条计费与数据路径。
ollama pull <model>
ollama run <model>
# OpenAI 兼容端点默认在本机;客户端 base_url 指向它
Related entries
- vLLMBoth open-source model runners: vLLM leads on service-style high throughput, Ollama on single-machine out-of-the-box.
- llama.cppThe GGUF ecosystem root Ollama depends on underneath; for fine-grained control use llama.cpp directly.
- LlamaIndex FrameworkOther layer · Frameworks & runtimes
- OpenAI Agents SDKOther layer · Frameworks & runtimes
Same-category peers
Look at these three before reading further
Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.
| Object | Where | Licence | Evidence / status | What it is for |
|---|---|---|---|---|
| ExLlamaV3 | Local / self-hosted | Open licence | 8 questions checked Active | The successor to ExLlamaV2: low-latency local inference on NVIDIA GPUs u |
| llama.cpp | Local / self-hosted | Open licence | 8 questions checked Active | llama.cpp is the bedrock of the entire local-inference ecosystem: GGUF i |
| LocalAI | Local / self-hosted | Open licence | 8 questions checked Active | LocalAI is the 'change the URL and go local' multimodal runtime: a singl |
This page is generated from the ai-handbook data layer (CC BY 4.0).
For the judging criteria and method notes, see METHODOLOGY.md.