Skip to main content

Overview

Ollama allows you to run open-source AI models locally on your own infrastructure. Perfect for privacy-sensitive applications, development, and cost optimization.

Available Models

Llama 3.3 (70B) Local

2 credits • Powerful local model
  • 128K context window
  • Excellent reasoning for self-hosted
  • Speed: Medium • Cost: Very Low (local)
  • Best for: Local powerful performance

Llama 3.1 (405B) Local

4 credits • Massive local model
  • 128K context window
  • Exceptional capabilities self-hosted
  • Speed: Slow • Cost: Very Low (local)
  • Best for: Maximum local intelligence

Llama 3.1 (70B) Local

2 credits • Balanced local model
  • 128K context window
  • Excellent for self-hosted apps
  • Speed: Medium • Cost: Very Low (local)
  • Best for: Strong local performance

Llama 3.1 (8B) Local

1 credit • Efficient local model
  • 128K context window
  • Good for basic local tasks
  • Speed: Fast • Cost: Very Low (local)
  • Best for: Light local processing

Setup

Prerequisites

1

Install Ollama

Download and install Ollama from ollama.com
2

Pull a Model

3

Start Ollama Server

Configure BoostGPT

1

Navigate to Integrations

Go to app.boostgpt.co and select Integrations
2

Select Ollama

Find and click on the Ollama provider
3

Configure Host

Enter your Ollama host URL (default: http://localhost:11434)Select which agents will use Ollama
4

Save Configuration

Click save to apply your Ollama configuration

Hardware Requirements

Start with Llama 3.1 (8B) for development and testing. It runs well on consumer hardware and M-series Macs.

Best Practices

Using provider_host for Ollama

When using the Core SDK chat method, specify the Ollama host with provider_host:
The provider_host parameter is required when using Ollama with the Core SDK chat method, as it tells BoostGPT where your Ollama instance is running.

Model Selection for Hardware

Production Deployment

1

Use Docker

2

Configure Firewall

Ensure Ollama port (11434) is accessible to your BoostGPT application
3

Monitor Resources

Watch GPU/CPU usage and scale hardware as needed
4

Set Up Load Balancing

For high volume, run multiple Ollama instances behind a load balancer

Troubleshooting

Cause: Ollama server not running or firewall blockingSolutions:
  • Run ollama serve to start server
  • Check firewall allows port 11434
  • Verify host URL in configuration
Cause: Model not pulled locallySolutions:
  • Run ollama pull <model-name>
  • Verify model name matches exactly
  • Check ollama list for available models
Cause: Insufficient hardware resourcesSolutions:
  • Use smaller model (8B instead of 70B)
  • Add more RAM/VRAM
  • Reduce max_reply_tokens
  • Close other GPU-intensive applications
Cause: Model too large for available VRAMSolutions:
  • Switch to smaller model
  • Reduce context window
  • Use CPU fallback (slower but works)
  • Upgrade hardware

Next Steps

Model Comparison

Compare Ollama with cloud providers

Deployment Guide

Learn about production deployment

SDK Reference

Full API documentation

Provider Overview

See all providers