Connect Cursor, Cline and LangChain to ClaudeN AI

## Why this works
Cursor, Cline and LangChain all speak the OpenAI-compatible API. Because ClaudeN AI exposes that same interface, you only need a base URL and an API key.
## Cursor
In Settings → Models, enable a custom OpenAI key, then set:
- Base URL: https://clauden.ai/v1
- API Key: your ClaudeN key
Add the model names you want (e.g. claude-3-5-sonnet, gpt-4o) and Cursor will route through the gateway.
## Cline (VS Code)
Pick the OpenAI Compatible provider and fill in:
- Base URL: https://clauden.ai/v1
- API Key: your ClaudeN key
- Model ID: e.g. claude-3-5-sonnet
## LangChain
``python``
from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
api_key="YOUR_CLAUDEN_KEY",
base_url="https://clauden.ai/v1",
model="gpt-4o",
)
print(llm.invoke("Give me one productivity tip.").content)
## One key for the whole toolchain
Now your editor, your agent, and your scripts all bill to the same balance and the same usage log. Switch models per tool just by changing the model ID — no extra accounts.