TurboFieldfare (Part 3): CLI, Mac App & OpenAI Server
Set up CLI tools, native Mac application, and local OpenAI API server for TurboFieldfare along with performance benchmarks.
In the final part of our series, we cover building, configuring, and running TurboFieldfare using the CLI, native macOS application, and local OpenAI-Compatible API Server.
System Requirements & Setup#
Before installing TurboFieldfare, confirm that your system meets the required specs:
- OS Requirements: macOS 26 or newer with Xcode 26 and Swift 6.2+.
- Hardware: Any Apple Silicon Mac (M1, M2, M3, M4, or M5 family).
- Disk Storage: At least ~14.3 GB available NVMe storage for the Gemma 4 26B-A4B weights.
Terminal
# Clone repository and build release binary
git clone https://github.com/drumih/turbo-fieldfare.git
cd turbo-fieldfare
swift build -c releasebashUser Interfaces & API Server#
TurboFieldfare provides three primary ways to interact with the engine:
- CLI Tool: Quick command-line interface for direct interactive prompt sessions.
- Native Mac App: Lightweight SwiftUI application designed for macOS users.
- OpenAI-Compatible Local Server: Serves a local API endpoint (
/v1/chat/completions) supporting streaming output and tool-calling capabilities.
chat_request.json
{
"model": "gemma-4-26b-a4b",
"messages": [
{ "role": "user", "content": "Explain Mixture of Experts in AI." }
],
"stream": true
}jsonHardware Performance Benchmarks#
| Apple Chip | System Memory | Generation Speed | RAM Consumption |
|---|---|---|---|
| Apple M2 Air | 8 GB | 5.1 – 6.3 tok/s | ~2.0 GB Resident |
| Apple M5 Pro | 24 GB | 31.0 – 35.0 tok/s | ~2.0 GB Resident |
[!WARNING] While RAM consumption stays locked at ~2GB, ensure your Mac SSD has healthy write/read overhead for optimal streaming throughput.
References#
- Official Repository: drumih/turbo-fieldfare ↗
- Setup Guide and OpenAI API Compatibility Docs.