API key for AI models
One API key for GPT-5, Claude, Gemini and 400+ models — plus multi-model debate. It's OpenAI- and Anthropic-compatible, so it works with Claude Code, Codex, Cursor, or any SDK.
Two modes, one key
singlesumma-fast runs one fast model with full tool support; summa/<slug> runs any catalog model.
debatesumma-debate runs a panel of models and a moderator synthesizes one answer.
Switching modes is just changing the model string. See Models for every id, preset, and custom-panel option.
Your first call
Create a key on the API Keys page, drop it in for YOUR_API_KEY, and run this to confirm it works:
openai sdk — first call
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://alpha.backend.summachat.com/api/v1", apiKey: "YOUR_API_KEY" });
const response = await client.chat.completions.create({
model: "summa-fast", // one fast model; swap to "summa-debate" for a panel
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Using a specific tool? Its guide covers single mode, debate, custom panels, and switching models end-to-end: