Docs
AI & BYOK

Setting Up Your OpenRouter Key

Use your own OpenRouter API key to control AI costs and model selection.

BYOK (Bring Your Own Key) lets you route AI calls through your own API key so you control costs, billing, and model selection. An API key from at least one provider is required for AI features to work.

OpenRouter is the recommended provider because it gives you access to models from Anthropic, OpenAI, Google, and others through a single key and unified API.

Get an OpenRouter key

  1. Sign up at openrouter.ai
  2. Go to Keys → Create key
  3. Set a credit limit if you want a hard spending cap
  4. Copy the key (sk-or-...)

Add the key to Ticket0

  1. In your workspace, go to Settings → AI
  2. Under Provider, select OpenRouter
  3. Paste your key into the API key field
  4. Click Save and test — Ticket0 will make a test call to verify the key

Choose a model

Once your OpenRouter key is set, select the model you want to use for each AI task:

TaskRecommended model
Classificationgoogle/gemini-2.5-flash
Draft repliesanthropic/claude-sonnet-4-5
Knowledge base embeddingopenai/text-embedding-3-small

You can use different models for different tasks to balance quality and cost.

Spend cap

Set a monthly spend cap (USD) in the same AI settings page. Ticket0 pauses AI features when the cap is reached and sends you an email alert at 80% and 100%.

On this page