/ agents

Connect any AI agent to NextModel

Five step-by-step guides for the tools you already use. Point them at one OpenAI-compatible endpoint and your key does the rest.

Choose your agent

CLIOpenAI

Codex CLI

OpenAI's terminal coding agent, pointed at NextModel.

Codex CLI reads model providers from ~/.codex/config.toml. Add one provider block that points at your NextModel base URL, export your key, and every codex run routes through NextModel.

Codex CLI
IDEAnysphere

Cursor

The AI-first IDE, wired to your own endpoint.

Cursor supports bring-your-own-key for OpenAI-compatible endpoints. Paste your NextModel key under Settings → Models and point the OpenAI provider's base URL at NextModel so OpenAI-format requests go there.

Cursor
IDECline

Cline

Autonomous coding inside VS Code, on your own key.

Cline is a VS Code extension that plans and edits code with your approval at each step. Its OpenAI Compatible provider accepts any endpoint, so NextModel is one form away.

Cline
DesktopCherry Studio

Cherry Studio

A desktop chat client that speaks OpenAI out of the box.

Cherry Studio manages model providers as services. Add NextModel once as an OpenAI-compatible provider and it sits next to the services you already use.

Cherry Studio
SDKOpenAI

OpenAI SDK

Any OpenAI SDK, one base_url away.

The official OpenAI SDKs for Python and Node accept a custom endpoint. Set base_url to your NextModel endpoint, keep the key in the environment, and the rest of your code stays unchanged.

OpenAI SDK

Compare the guides at a glance

AgentFormBest forHow your key is carried
Codex CLICLIAutonomous coding in the terminalconfig.toml provider + NEXTMODEL_API_KEY env var
CursorIDEAI pair coding inside an IDECursor BYOK settings (OpenAI override)
ClineIDESupervised agentic edits in VS CodeCline OpenAI Compatible provider
Cherry StudioDesktopDesktop chat with multiple providersCherry Studio model service entry
OpenAI SDKSDKYour own application codeSDK base_url + api_key arguments

Understand agent setup

One endpoint, every tool

All five guides point their tool at the same OpenAI-compatible endpoint. Switch tools without touching your account.

Your key, your usage

Each tool stores your key locally and sends it only to your endpoint, so usage and billing stay in one place.

prompt.md for machine agents

A generated markdown bundle of all five guides that coding agents can fetch and follow to configure themselves.

Start where you work

Terminal, IDE, desktop app or SDK — pick the guide that matches your workflow and you are live in minutes.

Start now

Ready to start building?

No key yet? Create one in the console first — every guide takes less than five minutes once you have it.