Skip to content

Mac: tiered model picker (Efficient/Enhanced/Maximum) #17

Closed

Description

@fahdi

Replace the single hardcoded ggml-small model with a 3-tier picker, sold by capability rather than filename:

Tier Model ~Size Copy
Efficient ggml-small ~500 MB "Fast and lightweight. Great for single-language recordings."
Enhanced ggml-medium ~1.5 GB "Sharper accuracy — handles accents, mixed audio, and background noise better."
Maximum ggml-large-v3-turbo ~1.6 GB "Our most capable model. Built for multilingual and Indic-language audio, including code-switching."

Scope

  • ModelDownloader.swift: generalize from one hardcoded URL to a ModelTier enum (url, filename, per-tier minimumValidSize).
  • WhisperEngine.swift: modelPath/modelIsReady read the active tier's file.
  • Persist active tier via @AppStorage("modelTier"), defaulting to whatever's already downloaded on existing installs, .efficient for fresh installs.
  • Settings UI to switch tiers and download additional ones after first run (SetupView keeps its existing first-run flow, downloading whichever tier is selected).
  • Multiple tiers can coexist on disk; only the active one is used. No auto-cleanup of unused tiers in this pass.

Testing

TDD: tier→URL/filename mapping, HTTP-status + byte-size validation per tier, download logic via an injected/faked networking dependency (no real network calls in CI).

Full design: docs/superpowers/specs/2026-07-17-mac-model-tiers-translation-design.md

Out of scope: Desktop/Android parity (follow-up issues), auto-deleting unused tiers, a 4th "Ultimate" (large-v3) tier.

Activity

  1. added
    enhancement
    on Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions