Loading API Reference...
CN8 is an AI gateway: a single proxy layer that gives you access to AI capabilities — chatbots with RAG, multi-agent orchestration, LLM completions, dubbing, TTS, media generation, and production-grade video/audio processing — all through one consistent API with unified auth, billing, and usage tracking.
Chat completion with a model catalog, per-model pricing, streaming, and structured outputs.
Send messages and get back data.message, data.model, data.finishreason, data.tokenusage. The cost object reports what was deducted from your balance. Aliases (default, gpt-4.1-mini, gpt4, gpt4-mini, gpt-4.1-nano, gpt-4.1) resolve to canonical model_ids.