Multi-turn CLI chat with OpenRouter models.
- Node.js 18+
- An OpenRouter API key
npm install
cp .env.example .envEdit .env and replace your-key-here with your actual key.
npx tsx chat.tsType exit to quit.
Edit the MODEL constant in chat.ts:21. Examples:
google/gemini-3.1-flash-liteopenai/gpt-chat-latestdeepseek/deepseek-chat
npm test