> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Cognite Data Fusion (CDF) is an industrial DataOps platform. English is the canonical locale unless the reader asks for another.
> The documentation catalog is https://docs.cognite.com/llms.txt. Subgroup indexes live under https://docs.cognite.com/_llms/. Each published page has a Markdown twin at the same path with a .md suffix.
> REST APIs: calendar version 20230101 is stable. Preview versions are 20230101-beta and 20230101-alpha, for clients already on a preview API. Concept pages are under /api-reference/concepts/<version>/. Versioned requests use the Cdf-Version header. The default SDK is the Python SDK (cognite-sdk). JavaScript and TypeScript projects use the JavaScript SDK.
> Topic hubs: platform overview /cdf/index.md; data modeling /cdf/dm/index.md; data integration /cdf/integration/index.md; access /cdf/access/index.md; Cognite Toolkit /cdf/deploy/cdf_toolkit/index.md; REST quickstart /dev/quickstart.md; Python SDK /dev/sdks/python/index.md; Atlas AI /cdf/atlas_ai/concepts/index.md; Flows apps /cdf/flows/index.md; Aura UI /cdf/aura/index.md; MCP and IDE setup /dev/guides/ide_ai_integration.md.

# Chat completions

> Create chat completions with language models in a Cognite Data Fusion (CDF) project. This alpha endpoint follows the OpenAI Chat Completions API.

The **chat completions** API generates a model response from a list of messages. It follows the OpenAI Chat Completions API, and you can use it with an OpenAI-compatible client or SDK. Which features and models are available depends on the model and on your CDF project.

<Info>
  Chat completions are in the **alpha** (`20230101-alpha`) API reference only. The stable and beta references do not include `POST /ai/openai/chat/completions`.
</Info>

## Rate limits

Requests are rate limited. When a limit is exceeded, the API returns HTTP `429 Too Many Requests`. Retry with exponential backoff and jitter.
