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
- Go to LMStudio
- Download and install for your OS
- Download the models you want to use
- 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)
| Model | Context |
|---|---|
lmstudio/openai/gpt-oss-20b | 131K |
lmstudio/qwen/qwen3-30b-a3b-2507 | 262K |
lmstudio/qwen/qwen3-coder-30b | 262K |
Last updated on
Was this helpful?