Ollama
PaketRun open models on your own machine behind a local REST API
- Erişim
- None locally; API key for cloud
Hakkında
Open-source runtime that downloads and runs open-weight models on macOS, Windows and Linux, with an optional paid cloud for larger models. Suits local development and private data. Speed depends on your GPU or unified memory.
Neler yapabilirsin
- Download and chat with open models like Gemma and Qwen offline
- Serve a local OpenAI- and Anthropic-compatible API for apps and coding agents
- Generate embeddings locally for RAG without sending data to a cloud
Başlarken
- Download Ollama for macOS, Windows or Linux
- Pull a model with ollama pull
Örnek kod
ollama pull gemma4:e2b
curl http://localhost:11434/api/chat \
-H "Content-Type: application/json" \
-d '{
"model": "gemma4:e2b",
"messages": [{"role": "user", "content": "Say hello in one sentence."}],
"stream": false
}'Ayrıntılar
- Barındırma
- Hazır hizmet (bulut), Kendi sunucunda, Kendi bilgisayarında
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- Python, JavaScript/TypeScript
- MCP sunucusu
- Yok