Skip to Content
Concepts

LMStudio

Access LMStudio models locally through NotPixel. Perfect for local development and testing without hitting cloud APIs.

Learn more in the LMStudio documentation .

Setup

1. Download LMStudio

  1. Go to LMStudio 
  2. Download and install for your OS
  3. Download the models you want to use
  4. Start the Local Inference Server (defaults to http://localhost:1234)

Usage

import Ads from 'notpixel'; const ads = new Ads({ publisherId: 'pub_10565', model: 'lmstudio/openai/gpt-oss-20b', input: 'Hello from local AI!', }); const response = await ads.offer(); console.log(response.text);

NotPixel uses LMStudio’s OpenAI-compatible endpoint on http://localhost:1234 for inference. The NotPixel baseURL option configures the ad API.

Available Models (Examples)

ModelContext
lmstudio/openai/gpt-oss-20b131K
lmstudio/qwen/qwen3-30b-a3b-2507262K
lmstudio/qwen/qwen3-coder-30b262K
Last updated on
Was this helpful?