Skip to main content

ollama-profiler

PyPI Tests License

Profile and compare Ollama model performance side-by-side.

Measure tokens/sec, time-to-first-token, and 7 other metrics across your local models. Interactive TUI or rich CLI. Export to JSON, HTML, or PNG.

demo

Installation

This Go tool can be installed directly from PyPI using pip or uv.

You can run it without installing it first using uvx:

uvx ollama-profiler --help

Or install it, then run ollama-profiler:

uv tool install ollama-profiler
# or
pip install ollama-profiler
Other install methods

You can also install the Go binary directly:

go install github.com/piercecohen1/ollama-profiler@latest

Compiled binaries are available on the releases page.

Quick Start

# First, make sure you have some models to test
ollama pull gemma4:e2b
ollama pull qwen3.5:2b

# Compare them
ollama-profiler gemma4:e2b qwen3.5:2b

# Interactive TUI with mouse support
ollama-profiler --tui

# Rigorous comparison with balanced scheduling
ollama-profiler gemma4:e2b qwen3.5:2b \
  -n 4 --rounds 4 --balanced --warmup --cooldown 30

Features

  • Side-by-side comparison of multiple models on the same prompt
  • TUI + CLI — agent-friendly CLI by default, or launch an interactive full-screen TUI with --tui
  • Fair scheduling — sequential, round-robin, randomized rounds, or Latin-square balanced
  • Statistical summary — mean, stddev, min/max, relative %, color-coded winners
  • Export — JSON with metadata, self-contained HTML report, retina PNG charts
  • Reproducible — deterministic seed, configurable token limits, warmup & cooldown

Chart Export

charts

Requires Ollama running locally, or pass --url for a remote server. Run ollama-profiler --help for full usage.

License

MIT

Metadata

Release files for ollama-profiler 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for ollama-profiler 0.4.0
File Actions
ollama_profiler-0.4.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for ollama_profiler-0.4.0-py3-none-win_arm64.whl
ollama_profiler-0.4.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for ollama_profiler-0.4.0-py3-none-win_amd64.whl
ollama_profiler-0.4.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for ollama_profiler-0.4.0-py3-none-musllinux_1_2_x86_64.whl
ollama_profiler-0.4.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for ollama_profiler-0.4.0-py3-none-musllinux_1_2_aarch64.whl
ollama_profiler-0.4.0-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for ollama_profiler-0.4.0-py3-none-manylinux_2_17_x86_64.whl
ollama_profiler-0.4.0-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for ollama_profiler-0.4.0-py3-none-manylinux_2_17_aarch64.whl
ollama_profiler-0.4.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for ollama_profiler-0.4.0-py3-none-macosx_11_0_arm64.whl
ollama_profiler-0.4.0-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details for ollama_profiler-0.4.0-py3-none-macosx_10_9_x86_64.whl

Total release size: 72.3 MB

Release files / ollama_profiler-0.4.0-py3-none-win_arm64.whl

Download URL ollama_profiler-0.4.0-py3-none-win_arm64.whl
Size 8.7 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
fd7f2bfbb3b27f84b24672fa6181de75868c8700f45d1e08933372c2f8d4dfd5
BLAKE2b-256 checksum
How to use checksums
346e737755f1a97e05a8a92b0372db637613eb751507b0570d822a0a897f4454
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.

Transparency log

Release files / ollama_profiler-0.4.0-py3-none-win_amd64.whl

Download URL ollama_profiler-0.4.0-py3-none-win_amd64.whl
Size 9.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1db2bf08954daac54660199c79f6b36a23d49c90370b9a6d4b9fcf4d52240bf8
BLAKE2b-256 checksum
How to use checksums
62f574ddecec80c263f14f47da4e9ca4d178c2be5ff9860729f556c327d2c2ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.

Transparency log

Release files / ollama_profiler-0.4.0-py3-none-musllinux_1_2_x86_64.whl

Download URL ollama_profiler-0.4.0-py3-none-musllinux_1_2_x86_64.whl
Size 9.3 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
62ee6ffa8ce31b1cf3b919f64c9d5b8d2b858c45b9cdcb093453f4ce6402f5e6
BLAKE2b-256 checksum
How to use checksums
24d003e0dcf1b3fa0e84878969b7c32c0040af5c724eec528feea24792fe36d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.

Transparency log

Release files / ollama_profiler-0.4.0-py3-none-musllinux_1_2_aarch64.whl

Download URL ollama_profiler-0.4.0-py3-none-musllinux_1_2_aarch64.whl
Size 8.7 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
48c5f19e4faca66d4319211df1e04eaaf319557acb2279b891f22a342920f531
BLAKE2b-256 checksum
How to use checksums
bb813b3245c96114ca7858b541ab839b0ae2c5cbfc45ad730e582e086155830a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.

Transparency log

Release files / ollama_profiler-0.4.0-py3-none-manylinux_2_17_x86_64.whl

Download URL ollama_profiler-0.4.0-py3-none-manylinux_2_17_x86_64.whl
Size 9.3 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
efb7a22dea004b8c5c87a7d10f749dcd90dd1e837604c256fa964b651e707ad1
BLAKE2b-256 checksum
How to use checksums
73a21b4441bd169ca9b2f4332b8a5e569762c302d1d041400cac5aacb4168ebe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.

Transparency log

Release files / ollama_profiler-0.4.0-py3-none-manylinux_2_17_aarch64.whl

Download URL ollama_profiler-0.4.0-py3-none-manylinux_2_17_aarch64.whl
Size 8.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
50fd1c26324404d07026d26ad75827e745c12c13210d85d0c9be1fdf460374e1
BLAKE2b-256 checksum
How to use checksums
bda2d43d886eb84328b3d0ca7dd06138809e66d32429c56d3f15c36588c07f75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.

Transparency log

Release files / ollama_profiler-0.4.0-py3-none-macosx_11_0_arm64.whl

Download URL ollama_profiler-0.4.0-py3-none-macosx_11_0_arm64.whl
Size 8.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0d24980d9129d4176d74a7c4e4ead2c4aa17bd3329d049120294e79d7ff8c972
BLAKE2b-256 checksum
How to use checksums
ed20c5a68bc78620b3175cd91e6818078d741db7beb5a624e208977d00318d37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.

Transparency log

Release files / ollama_profiler-0.4.0-py3-none-macosx_10_9_x86_64.whl

Download URL ollama_profiler-0.4.0-py3-none-macosx_10_9_x86_64.whl
Size 9.4 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
9dcb85aa1c1f64fe4d70107239a05b60583c083a86632b357f29ca3ad9eff10c
BLAKE2b-256 checksum
How to use checksums
8817ae1d0019f6bafd0abab6d93b27783c7f9facdf2133886904d858748aef39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.

Transparency log

Security for ollama-profiler 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for ollama_profiler-0.4.0-py3-none-win_arm64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page