본문으로 건너뛰기

Quickstart

Connect with OpenAI, Anthropic, or the AI SDK. Pick a method tab, set the base URL and API key, then call catalog models.

Setting up with an AI assistant (ChatGPT, Claude, Cursor)? Grab a copy-paste snippet (Markdown/JSON) from Set up with AI and paste it to your AI — that's it.

Get started in 4 steps#

  1. 1

    Create an account

    Sign up with email. A 100-credit bonus is granted instantly just for signing up (30 days).

  2. 2

    Issue an API key

    Create a key starting with plm_ on the dashboard's API Keys page and paste it into the code below.

  3. 3

    Send your first request

    Pick one of the connection methods below, set the base URL and key, and call right away. You can preview the example code before issuing a key.

  4. 4

    Top up credits (when needed)

    Local payments are unavailable; their introduction is under review.

Connect#

Start with Terminal Coding Agent (Claude Code)

Recommended

Configure Claude Code instantly with a single npx command without manual file editing and start coding right away.

Terminal
npx pleumrouter wire claude
View full Claude Code guide (Install, Model Selection, Troubleshooting)

Application SDKs & Direct API Integration#

Choose AI SDK, Chat Completions, Messages, Responses, or Images. For the Anthropic SDK, use the root origin without /v1 (https://apirouter.pleum.ai). See AI SDK for the provider package.

chat.ts

OpenAI Chat Completions API

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "plm_xxxxxxxxxxxxxxxx",
  baseURL: "https://apirouter.pleum.ai/v1",
});

const response = await client.chat.completions.create({
  model: "gpt-5.5",
  messages: [{ role: "user", content: "Why is the sky blue?" }],
});

console.log(response.choices[0].message.content);
Chat Completions responses include a cost field; Messages/Responses expose cost via X-Cost-* headers.

Next steps#