home-assistant.io/source/_integrations/open_router.markdown
Joost Lekkerkerker 8ebbcde585
Add OpenRouter integration (#40004)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2025-07-21 20:40:18 +02:00

1.2 KiB

title, description, ha_category, ha_release, ha_iot_class, ha_config_flow, ha_codeowners, ha_domain, ha_integration_type, ha_platforms
title description ha_category ha_release ha_iot_class ha_config_flow ha_codeowners ha_domain ha_integration_type ha_platforms
OpenRouter Instructions on how to integrate OpenRouter as a conversation agent
Voice
2025.8 Cloud Polling true
@joostlek
open_router service
conversation

The OpenRouter {% term integration %} allows you to use the OpenRouter API as a conversation agent in Home Assistant.

This integration provides a way to interact with a wide range of AI models available on OpenRouter, while billing is handled by OpenRouter. You can even use your own third-party (like OpenAI) API key.

{% include integrations/config_flow.md %}

Generate an API Key

The API key is used to authenticate requests to OpenRouter. To generate an API key take the following steps:

  • Log in to OpenRouter or sign up for an account.
  • Go to the API Keys section in your account settings.
  • To generate a new key, select Create API Key.
  • Give the key a name, and be sure to set up billing limits.

Removing the integration

This integration follows standard integration removal, no extra steps are required.

{% include integrations/remove_device_service.md %}