Skip to main content
POST https://api.naga.ac/v1/chat/completions accepts the OpenAI Chat Completions format and serves every chat model in the catalog. Point the OpenAI SDK at https://api.naga.ac/v1.

Response

The response has the OpenAI shape. id starts with chatcmpl-, model is the catalog id even if you sent an alias, and choices always has one entry.

What NagaAI adds

  • routing in the body and the x-naga-routing-strategy header, see Routing.
  • message.reasoning_content and message.reasoning_details with the model’s reasoning, see Reasoning.
  • message.images with images from models that draw.
  • file.file_url and more input_audio formats, see Multimodal content.
  • max_tokens works as an alias of max_completion_tokens.

What NagaAI ignores

NagaAI accepts and drops n, seed, logprobs, top_logprobs, logit_bias, user, store, metadata, service_tier, prediction, audio, modalities, prompt_cache_key and web_search_options. functions and the function role fail with 400: use tools. More differences are in Differences from OpenAI and Anthropic.