Alaya NeW Cloud

IDE & tools

Cursor, Continue, Cline, Roo, Claude Code, Codex CLI, …

The mainstream AI coding tools all connect to AlayaCode out of the box. Group by which protocol your tool speaks and follow the matching section.

Tools that speak OpenAI

Set the tool's OPENAI_BASE_URL / Custom base URL:

https://codingplan.alayanew.com/v1

API key is your sk-... token.

Cursor

Cursor → Settings → Models:

  1. Disable the default models
  2. Add custom model → model name minimax-m2.5 (or whichever ID you prefer)
  3. OpenAI API Keysk-...
  4. Tick Override OpenAI Base URLhttps://codingplan.alayanew.com/v1

Cmd+L chat and Cmd+I inline completion both flow through AlayaCode.

Continue (VS Code / JetBrains)

In config.json:

{
  "models": [{
    "title": "AlayaCode · MiniMax M2.5",
    "provider": "openai",
    "model": "minimax-m2.5",
    "apiBase": "https://codingplan.alayanew.com/v1",
    "apiKey": "sk-your-key-here"
  }]
}

Codex CLI / OpenAI official CLI

export OPENAI_BASE_URL=https://codingplan.alayanew.com/v1
export OPENAI_API_KEY=sk-your-key-here
codex   # or: openai api chat.completions.create -m minimax-m2.5 ...

Tools that speak Anthropic

Set ANTHROPIC_BASE_URL:

https://codingplan.alayanew.com/anthropic

Set ANTHROPIC_AUTH_TOKEN (not ANTHROPIC_API_KEY) to sk-....

Claude Code

export ANTHROPIC_BASE_URL=https://codingplan.alayanew.com/anthropic
export ANTHROPIC_AUTH_TOKEN=sk-your-key-here
export ANTHROPIC_MODEL=minimax-m2.5
claude

Claude Code's ANTHROPIC_MODEL env var decides the default model. If you skip it, the CLI falls back to Anthropic's default ID (which doesn't exist on AlayaCode). Set it.

Cline (VS Code)

Cline → Settings → API ProviderAnthropic, then:

  • Anthropic Base URL: https://codingplan.alayanew.com/anthropic
  • Anthropic API Key: sk-your-key-here
  • Model: minimax-m2.5 (or other)

Roo Code (VS Code)

Same as Cline — pick Anthropic provider, fill the three fields.

MCP (Model Context Protocol)

If your tool drives models through an MCP server, configure the server's LLM provider as OpenAI-compatible with base_url pointing here. Servers that speak the Anthropic protocol (e.g. @modelcontextprotocol/server-anthropic) work the same — just swap the base URL.

Smoke test

curl https://codingplan.alayanew.com/v1/models \
  -H "Authorization: Bearer sk-your-key-here"

A model array means you're connected. 401 / 404 → see Errors.

My tool isn't listed

Any tool that exposes "custom OpenAI / Anthropic base URL" should work — this is wire-level compat, not SDK-bound. If yours doesn't let you override the base URL, file a ticket and we'll add an adapter guide on the tech blog.

Last updated on

Was this page helpful?

On this page