Skip to content
Pareto Inference

Point TypeScript at Pareto's OpenAI-compatible API to run GLM 5.3 Flash, DeepSeek V4.1 Flash and MiMo V2.6 Flash on Pareto GPUs. Pay per token from one prepaid balance.

Setup

Get an API key in the dashboard, then add this to your SDK.

Install the OpenAI SDK and set PARETO_API_KEY in your server environment.

example.tsTypeScript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.PARETO_API_KEY,
  baseURL: "https://api.paretoinference.com/v1",
});

const response = await client.chat.completions.create({
  model: "z-ai/glm-5.3-flash",
  messages: [{ role: "user", content: "Hello, Pareto." }],
  stream: true,
});

for await (const chunk of response) {
  process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
}
Get started now

Models