OpenRouter Setup

Create an account

Go to openrouter.ai and create an account. OpenRouter provides a single API key that routes requests to multiple AI model providers.

Get your API key

Navigate to Keys in the OpenRouter dashboard and create a new API key. Copy the key -- it is only shown once.

Set the environment variable

Add the API key to your Vercel environment variables:

OPENROUTER_API_KEY=sk-or-v1-your-key-here

Available models

LifeOS ships with 5 pre-configured models in the Ask AI selector:

  • Gemini 2.5 Flash -- fast, good for quick questions
  • MiniMax M1 -- balanced speed and quality
  • DeepSeek V3 -- strong reasoning, good for complex questions
  • Qwen 2.5 72B -- large context, good for long conversations
  • Claude Haiku -- concise, structured responses

You can add or remove models by editing the model list in the source code. Any model available on OpenRouter can be added.