Skip to main content
The Ollama model provides access to open-source models, both locally hosted and via Ollama Cloud. Local Usage: Run models on your own hardware using the Ollama client. Good for development, privacy-sensitive workloads, and when you want full control over your infrastructure. Cloud Usage: Access cloud-hosted models via Ollama Cloud with an API key. No local setup required. Set your OLLAMA_API_KEY and start making requests.

Key Features

  • Dual Deployment Options: Choose between local hosting for privacy and control, or cloud hosting for scalability
  • Switching: Move between local and cloud deployments with minimal code changes
  • Auto-configuration: When using an API key, the host automatically defaults to Ollama Cloud
  • Wide Model Support: Access to an extensive library of open-source models, including GPT-OSS, Llama, Qwen, DeepSeek, and Phi

Parameters