Kotai (交代)
What it does:
Kotai is a macOS menu bar app that routes each Cursor or OpenAI-compatible client request by model prefix. Use kotai/personal/… or kotai/work/… to select an account; Kotai strips the prefix before sending the real model ID to OpenRouter, so both accounts can be used at once.
Data path and privacy:
Prompt data travels through ngrok, then on to OpenRouter.
Why "Kotai"?
Kotai (交代) is the Japanese word for alternation or changeover.
Requirements:
The download requires an Apple Silicon Mac with macOS 14 or newer, a free ngrok account with ngrok installed, and two OpenRouter API keys—one personal and one for work.
Limitations:
Kotai, ngrok, and your Mac must remain running. ngrok free-plan request and bandwidth limits apply. Anthropic-native clients are not supported. OpenRouter’s Cursor integration is beta, and some Cursor features may bypass custom API keys or base URLs.
Changelog
0.1.0
September 6, 2026- Added simultaneous prefix-based routing to personal and work OpenRouter accounts.
- Added support for Cursor and other OpenAI-compatible clients through a stable ngrok URL.
- Stored service credentials in Keychain and protected the proxy with a separate token.
Kotai
127.0.0.1:18742