Skip to main content
A tool that lets you set a base URL, a key and a model name can use NagaAI. Use a model id from naga.ac/models. Agents need a model with tools in supported_parameters. Tools that read /v1/models will list every model, including image, audio and embedding models. NagaAI drops unknown fields instead of failing, while functions and unknown tool types fail with 400. See Differences from OpenAI and Anthropic.

Cursor

Cursor accepts an OpenAI key and a custom base URL under Settings → Models, with Override OpenAI Base URL set to https://api.naga.ac/v1. Per Cursor’s documentation, custom keys work only for chat models, and Tab completion keeps using Cursor’s own models. Cursor staff have confirmed on the forum that the override skips Claude and Gemini model names. For GPT model names Cursor sends a request format that NagaAI rejects. Add a model id from another publisher, such as deepseek-v4.1-flash, and use that.

Gemini CLI

Gemini CLI has no official way to use an OpenAI-compatible or Anthropic-compatible endpoint. It talks only to Google’s own API format, which NagaAI does not serve.