MC-1 DOCS
API ReferenceCookbook
Docs/SDKs & CLI/OpenAI-compatible clients
PublishedGuidanceLAST REVIEWED · 30 AUG 2026

OpenAI-compatible clients

Point familiar JavaScript and Python clients at MC-1.

Client examples

These are upstream OpenAI client libraries configured for the MC-1 base URL; they are not ColomboAI SDK packages.

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.MC1_API_KEY,
  baseURL: process.env.MC1_BASE_URL,
});

const response = await client.responses.create({
  model: "colomboai/mc-1",
  input: "Summarize the operational risk in three bullets.",
});
console.log(response.output_text);

Compatibility notes

  • Use the logical model for automatic selection.
  • Confirm your client preserves custom request fields before relying on mc1 options.
  • Verify streaming, tool calls, usage, cancellation, and errors for the pinned client version.
End of guide
Was this page helpful?