STSuperTomorrow

Integration

Node.js

Use the OpenAI Node SDK with SuperTomorrow as the baseURL.

Connection settings

Base URL

https://api.supertomorrow.cc/v1

API Key

Create an API key in Dashboard. The full key is shown only when created or regenerated; copy it immediately and store it securely.

Model name

Use a model alias enabled for the account and bound to the API key, for example deepseek-chat. Unscoped models return 403.

Example configuration

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.SUPERTOMORROW_API_KEY,
  baseURL: "https://api.supertomorrow.cc/v1",
});

const response = await client.chat.completions.create({
  model: "deepseek-chat",
  messages: [{ role: "user", content: "Hello" }],
  max_tokens: 160,
});

console.log(response.choices[0].message.content);

Common errors

401: The API key is missing, invalid, expired, or disabled. Use Authorization: Bearer YOUR_API_KEY.
402: Insufficient Credits. Add funds in Dashboard and retry.
403: The key is not scoped to this model, or the model is unavailable. Update the key model scope.
429: API key or provider-channel rate limit reached. Reduce concurrency and retry with backoff.
502: Upstream model route is unavailable. Failed requests are not charged; retry later or switch models.

Related links