Opinion Helen Toner Would Vote to Fire Sam Altman Again: "If Our Future Depends on Any One Person Being Trustworthy, We're Screwed" AI Agents Operand Raises $31 Million Across Seed and Series A to Put AI Due Diligence Agents Inside Private Equity Deal Teams Security Italy Fines Meta 805 Million Euros Over Facebook's Android Photo Access, Orders the Feature Off by Default Within 60 Days Voice & Audio Sesame Ends Its Free Preview: $20 a Month for Two Hours of Talk Time a Day, $100 for Ten Opinion 93% of Developers Have Merged AI Code They Did Not Fully Understand, and Only 13% of Teams Have a Plan for When It Breaks Coding Assistants Penn State Tested 5 Coding Agents Patch by Patch: 38% to 82% of Successful Runs Were Already Correct on the First Edit Microsoft Copilot Microsoft Will Turn Claude On by Default for Every UK Copilot Tenant on Dec. 9, and the Data Is Still Processed in the US Business SMIC's Revenue Jumps 34 Percent to $3.19 Billion as AI-Adjacent Chip Orders Push Its Fabs to 97.3 Percent Utilization Opinion Helen Toner Would Vote to Fire Sam Altman Again: "If Our Future Depends on Any One Person Being Trustworthy, We're Screwed" AI Agents Operand Raises $31 Million Across Seed and Series A to Put AI Due Diligence Agents Inside Private Equity Deal Teams Security Italy Fines Meta 805 Million Euros Over Facebook's Android Photo Access, Orders the Feature Off by Default Within 60 Days Voice & Audio Sesame Ends Its Free Preview: $20 a Month for Two Hours of Talk Time a Day, $100 for Ten Opinion 93% of Developers Have Merged AI Code They Did Not Fully Understand, and Only 13% of Teams Have a Plan for When It Breaks Coding Assistants Penn State Tested 5 Coding Agents Patch by Patch: 38% to 82% of Successful Runs Were Already Correct on the First Edit Microsoft Copilot Microsoft Will Turn Claude On by Default for Every UK Copilot Tenant on Dec. 9, and the Data Is Still Processed in the US Business SMIC's Revenue Jumps 34 Percent to $3.19 Billion as AI-Adjacent Chip Orders Push Its Fabs to 97.3 Percent Utilization

Setting Up a Local Language Model on Your Own Machine

Run a capable model offline with no per-token cost, and understand the hardware trade-offs before you start.

Running a model locally removes API costs, keeps data on your machine and works without a connection. The cost is hardware, and knowing the trade-offs in advance saves a wasted weekend.

1. Check your hardware

  • Memory is the constraint. A quantised mid-size model needs roughly 6 to 10 GB of usable GPU memory; larger models need considerably more.
  • Apple silicon uses unified memory, so a 16 GB machine handles mid-size quantised models comfortably.
  • Discrete GPU gives faster generation, but only if the model fits in VRAM. Spilling to system memory cuts speed dramatically.

2. Install a runner

Use a packaged runtime rather than building inference from source. A single installer gives you a model manager, a local API endpoint and a command-line interface, which is everything you need to start.

3. Pull a model

Start with a quantised build in the 7-8 billion parameter range. It is fast enough to be usable on modest hardware and capable enough to be informative about what you actually need.

ollama pull llama3.1:8b
ollama run llama3.1:8b

4. Connect your tools

The runner exposes an HTTP endpoint that mirrors a hosted API shape, so most SDKs work by changing the base URL. Set the base URL to your local port and set the API key to any placeholder value.

5. Measure before scaling up

Record tokens per second and time to first token. If generation runs below roughly ten tokens per second, conversation feels slow regardless of answer quality. Run your own evaluation set rather than trusting a general leaderboard, then decide whether to move up in model size or accept the current one.

When local is the wrong choice

Open-ended reasoning and long agent runs still favour the largest hosted models. Use local inference for narrow, high-volume and private work; use a hosted API for the hard cases.

Comments (0)

Log in to join the discussion

Log In

No comments yet