Skip to main content
Model variety: Access Claude, GPT-4, Gemini, Llama, Mistral, and more through a single API key. Several free models are available.

Step 1: Get an OpenRouter API key

  1. Go to openrouter.ai and sign up or sign in
  2. Navigate to API Keys and click Create Key
  3. Copy your API key

Step 2: Clone and build Claude Mem

Step 3: Configure OpenRouter provider

Step 4: Restart Cursor and verify

Open http://localhost:37777 to confirm the memory viewer is running. To specify a model, add CLAUDE_MEM_OPENROUTER_MODEL to your settings:
Paid OpenRouter models charge per token. Use free models (:free suffix) to avoid charges. Monitor usage at openrouter.ai/activity.

Next steps

Cursor Integration Overview

All Cursor features and hook mappings

Gemini Setup

Free tier alternative with Google Gemini