Skip to main content
Providers

LMStudio

Use lmstudio/<model> with VoltAgent's model router.

Quick start

import { Agent } from "@voltagent/core";

const agent = new Agent({
name: "lmstudio-agent",
instructions: "You are a helpful assistant",
model: "lmstudio/openai/gpt-oss-20b",
});

Environment variables

  • LMSTUDIO_API_KEY

Provider package

@ai-sdk/openai-compatible

This provider uses the OpenAI-compatible adapter.

Default base URL

http://127.0.0.1:1234/v1

You can override the base URL by setting LMSTUDIO_BASE_URL.

Provider docs

Models

Show models (3)
  • openai/gpt-oss-20b
  • qwen/qwen3-30b-a3b-2507
  • qwen/qwen3-coder-30b

Table of Contents