IDE Guide

Using RelayStack AI inside Cursor, Cline & Roo Code

Route IDE completions, Composer edits, and agent mode through your single pay-as-you-go USD balance with per-key spending limits.

1. Generate an API Key

Create an account and copy your sk-rs-... key from Console -> API Keys. Optionally set a $10 or $25 spending cap.

2. Open Cursor Settings -> Models

Scroll to 'OpenAI API Key', enable Override OpenAI Base URL, and enter your gateway endpoint.

3. Add Custom Model IDs

Click '+ Add model' and add anthropic/claude-3.7-sonnet, deepseek/deepseek-chat, or google/gemini-2.5-pro.

Cursor / Cline Configuration Values
Base URL : https://relaystack-ai.vercel.app/v1
API Key  : sk-rs-YOUR_API_KEY
Models   : anthropic/claude-3.7-sonnet
           deepseek/deepseek-chat
           google/gemini-2.5-flash
Get Your Cursor API Key