Integration

Node.js Integration

Integrate ScaleMind with your Node.js applications using the OpenAI SDK or direct API calls.

Features

  • OpenAI SDK compatible
  • TypeScript support
  • Streaming responses
  • ESM and CommonJS

Quick Start

import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://gateway.scalemind.ai/v1',
  apiKey: 'your-scalemind-key',
});

const response = await client.chat.completions.create({
  model: 'gpt-4',
  messages: [{ role: 'user', content: 'Hello!' }],
});

Ready to integrate Node.js?

Get started in minutes with our free tier.

Start Free →