Tool Integrations
Detailed setup notes for Cursor, Codex, Cline, Claude Code, and OpenCode.
Use this page when you want a working request first. It focuses on the minimum setup for curl, Codex, and Claude Code, then points you to the next pages for deeper configuration.
Prepare one API key, one model group, and one model name before testing anything else.
The fastest connectivity check is a single OpenAI-compatible chat completions request.
curl https://api.lingcorex.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.4-mini",
"messages": [
{"role": "user", "content": "Return a one-line health check."}
],
"stream": false
}'If you use Cursor, follow this real-screen walkthrough to set the API key, override the OpenAI-compatible Base URL, choose a supported official model, and verify the first chat message.
Codex uses the OpenAI-compatible route, so the minimum setup is just a base URL and an API key.
In the dashboard, create an API key from a group that is meant for OpenAI-compatible tools.
Export OPENAI_BASE_URL=https://api.lingcorex.ai/v1 and OPENAI_API_KEY=<YOUR_API_KEY> before launching Codex.
Run a short Codex session against a lightweight model first, then move into project-specific config if you want a persistent setup.
Claude Code works best when the key comes from an Anthropic-native group, because that path preserves Anthropic-native behavior more faithfully.
export OPENAI_BASE_URL=https://api.lingcorex.ai/v1
export OPENAI_API_KEY=YOUR_API_KEY
codexANTHROPIC_BASE_URL=https://api.lingcorex.ai \
ANTHROPIC_API_KEY=YOUR_API_KEY \
ANTHROPIC_CUSTOM_MODEL_OPTION=claude-sonnet-4-5 \
claudeOnce the first request works, use the pages below to make the integration production-ready.
Detailed setup notes for Cursor, Codex, Cline, Claude Code, and OpenCode.
How cache behavior changes across interfaces, and where LingCoreX optimizes cache usage automatically.
How to create keys, set QPM, set daily spend limits, and choose the right group for the endpoint you need.