Model API Documentation

Developer reference for authentication, models, chat/completions, streaming, and client examples in cURL, Python, and JavaScript.

Authentication

Send Authorization: Bearer sk-na-… on every request. Keys are created in the Model API console; never expose keys in public frontends.

Endpoints & models

Base URL: https://newapi.aimultiagent.work/v1. Use model IDs from the pricing table (GPT, Claude, Gemini families).

402 means insufficient balance; 403 often means an unsupported model id—retry with a listed SKU.