GPT 5.1 Codex Mini Chat Completions API – API Reference
Endpoints and request shape
This page collects the public integration surface for the model: supported endpoints, available request parameters, and example calls through the NagaAI API.
Chat Completions
Code Example
Example code for using this model through our API with Python (OpenAI SDK) or cURL. Replace placeholders with your API key and model ID.
Basic request example. Ensure API key permissions. For more details, see our documentation.