Skip to main content

Provider Selection

  • OpenRouter: wide range of model, native support(modality detection with openrouter API)
  • OpenAI-Compatible: Functional, require more setup(need to specify modality)

Setup:

  1. Sign up at openrouter.ai
  2. Generate API key
  3. Set in llumen:
export API_KEY="sk-or-v1-your-key"
# API_BASE defaults to OpenRouter

OpenAI

Setup:

export API_KEY="sk-your-openai-key"
export API_BASE="https://api.openai.com"

Other Providers

Any OpenAI-compatible API works:

export API_KEY="your-key"
export API_BASE="https://your-provider.com/v1"

Tested Compatible services:

  • Gemini(official OpenAI-compatible proxy)
  • Groq
  • Ollama Cloud
  • Naga.ac
  • Copilot API