Integration guide · Checked 26 November 2026

Home Assistant AI with Plugsky

Home Assistant’s official OpenAI integration only talks to api.openai.com. This guide shows the two community integrations that accept a custom base URL, the exact values for Plugsky, and the entity-exposure settings that keep prompts small.

Short answer. Do not add the built-in OpenAI integration — it has no base-URL field and will call OpenAI. Install Extended OpenAI Conversation through HACS, add it with base URL https://api.plugsky.com/v1, your Plugsky key and model plugsky-pro, then select it as the conversation agent for your Assist assistant.

Why the built-in OpenAI integration does not work

Home Assistant’s OpenAI integration accepts only an API key. It creates an OpenAI client with the default endpoint and uses OpenAI-specific surfaces such as the Responses API, web search and code interpreter. The documentation states plainly that it “works only with the official OpenAI API endpoint and does not support OpenAI-API-compatible third-party services, proxies, or alternative backends.”

That is a product decision in Home Assistant, not a Plugsky limitation. The request never reaches api.plugsky.com, so a valid Plugsky key looks invalid or produces OpenAI account errors.

Which path to use

Home Assistant conversation paths and whether they accept Plugsky
PathCustom base URLWorks with PlugskyTrade-off
Built-in OpenAINoNoEndpoint is hard-coded
Extended OpenAI Conversation (HACS)YesYesThird-party component; most control over services and templates
OpenAI Compatible Conversation (HACS)YesYesA closer clone of the built-in agent; fewer extras
LiteLLM proxyVia proxyIndirectExtra container and another failure point

Option A: Extended OpenAI Conversation

This is the recommended path because it supports tool calling, service calls and templates, and it exposes a base-URL field.

  1. Install HACS if it is not already installed.
  2. In HACS, open Integrations → Custom repositories, add https://github.com/jekalmin/extended_openai_conversation as an Integration, then install it.
  3. Restart Home Assistant.
  4. Go to Settings → Devices & services → Add integration and choose Extended OpenAI Conversation.
  5. Enter these values:
    • API Key: your Plugsky key, sk-live-...
    • Base Url: https://api.plugsky.com/v1 — include /v1
    • Model: plugsky-pro
    • Temperature: 0.7 for conversation; lower for device commands
    • Max Tokens: 1000 for voice, 2000 for text chat
  6. Go to Settings → Voice assistants, edit your assistant, and choose Extended OpenAI Conversation as the conversation agent.
  7. Open Settings → Voice assistants → Expose and expose only the entities you want the model to see.

If the integration offers a “Functions” or “Services” section, keep the default Home Assistant service definitions. plugsky-pro supports native OpenAI tool calls, which is what the component uses to control devices.

Option B: OpenAI Compatible Conversation

This component is a copy of Home Assistant’s built-in agent with a base-URL option. It is a better fit if you want the built-in behaviour and only need the endpoint changed.

  1. Add https://github.com/michelle-avery/openai-compatible-conversation as a HACS custom repository of type Integration.
  2. Install it, restart Home Assistant, then add OpenAI Compatible Conversation in Settings → Devices & services.
  3. Set the base URL to https://api.plugsky.com/v1, paste the key and use plugsky-pro.
  4. Select it as the conversation agent in Settings → Voice assistants.

This path is closer to the built-in agent, so it inherits its model expectations. If it rejects a model name, confirm the exact ID from /models and that the base URL ends in /v1.

Option C: LiteLLM in front of Home Assistant

A LiteLLM proxy can translate between Home Assistant and Plugsky, but it adds a container, a second config file and another network hop. Use it only if you already run LiteLLM for other services.

model_list:
  - model_name: plugsky-pro
    litellm_params:
      model: openai/plugsky-pro
      api_base: https://api.plugsky.com/v1
      api_key: os.environ/PLUGSKY_API_KEY

Then point the Home Assistant component at the proxy. Do not set OPENAI_BASE_URL on Home Assistant Core and expect the built-in integration to be supported; that environment variable is an SDK-level workaround, not a supported Home Assistant configuration, and the integration still uses OpenAI-only endpoints.

Model choices for Assist

Plugsky models for Home Assistant workloads
ModelUse it forWhy
plugsky-proGeneral Assist and device control550B class, native tool calls, 262K context
plugsky-lightningFast voice replies30B class, lower latency
plugsky-vision-fastCamera snapshotsText and image input
plugsky-liteFree-tier evaluationNo card, but 100 requests and 50K tokens per day

Use a model with function calling. plugsky-translate does not support tools, so device control will not work with it.

Keep prompts small

Home Assistant sends the states of exposed entities with every turn. A house with hundreds of exposed sensors can produce a large prompt before the user says anything. Two settings matter:

  • Expose fewer entities. Use labels or domains to expose only the lights, switches and sensors the assistant needs.
  • Trim the prompt. Remove long template instructions and avoid pasting dashboards into the system prompt.

The free plan allows 32K input and 2K output per request, 100 requests and 50K tokens per day. A busy voice assistant will exhaust that in an afternoon. Hobby at $8/month raises the daily allowance to 1,000 requests and 2M tokens with 64K input; Builder at $60 removes the monthly token cap.

Troubleshooting

  • 401 invalid key: the key has whitespace, was revoked, or the integration is still using the built-in OpenAI component.
  • 404 not found: the base URL is missing /v1, or it already ends in /v1 and the component appends another. Extended OpenAI Conversation expects the base including /v1.
  • Model not found: paste the exact ID, for example plugsky-pro, not “Plugsky Pro”.
  • The assistant answers but cannot control devices: the model does not support tool calls, the entities are not exposed, or the component’s service definitions were removed.
  • Timeouts on voice: lower Max Tokens, use plugsky-lightning, and reduce the number of exposed entities.
  • TTS or STT fails: Plugsky exposes chat, embeddings and models. Home Assistant’s OpenAI speech endpoints are not available; use Home Assistant Cloud or a local STT/TTS engine.

Security and data flow

The Plugsky key belongs in the Home Assistant config entry, not in a dashboard card, automation or public repository. Exposed entity states and your prompts leave the local network for the Plugsky region your account uses; camera snapshots do too if you use a vision model. Keep the exposed-entity list minimal and document the flow in your home-lab notes.

Give your smart home a flat-rate model

Start with a free key, then size the plan by voice turns and exposed entities.

Start Free → See pricing

Related pages

Sources

Official pages used for this integration guide
ProjectPage checkedChecked
Home AssistantOfficial OpenAI integration and endpoint limitation26 Nov 2026
Home AssistantBase-URL request and maintainer decision26 Nov 2026
Extended OpenAI ConversationHACS integration with Base Url26 Nov 2026
OpenAI Compatible ConversationBuilt-in agent clone with base URL26 Nov 2026
PlugskyPricing and plan limits26 Nov 2026
PlugskyModel list and capabilities26 Nov 2026

Last checked 26 November 2026. Plugsky limits are canonical at /pricing; the model list is at /models.