Skip to main content
The NEAR AI Cloud API is a REST API served from a single base URL. Its documented OpenAI-compatible inference surfaces work with OpenAI SDKs by pointing them at NEAR AI.

Authentication

Send Authorization: Bearer <API_KEY> with inference requests and response signature lookups. You can fetch attestation reports for the Gateway and listed models without credentials.
Each endpoint page lists which token types it accepts under Authorizations. Use the interactive playground on each endpoint page to edit and send a request. Enter a key when the endpoint requires one.

Chat Completions

The primary inference endpoint

Models

List models, context windows, and pricing

Attestation

Verify the TEE running your requests
POST /v1/responses is stateless and supports store: false only. Read the Stateless Responses guide before migrating an integration that uses conversations, files, response history, or built-in tools.
New to NEAR AI Cloud? Start with the Quickstart, then see OpenAI Compatibility for SDK setup details.