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

# Move from Direct to Gateway

> Migrate your Direct endpoint integration before support ends on December 6, 2026.

Direct endpoints are deprecated. Support ends on **December 6, 2026**. Migrate
your application to the NEAR AI Cloud Gateway before this date.

## Update your integration

1. Change your API base URL to `https://cloud-api.near.ai/v1`.
2. Use a Gateway model ID from the [model catalog](https://docs.near.ai/cloud/models.md) in your requests.
3. Keep your existing NEAR AI Cloud API key.

For a complete request example, see the [Quickstart](https://docs.near.ai/cloud/quickstart.md).

## If you use the Inference SDK

Replace the experimental Direct Client with `InferenceClient` and use the
Gateway base URL. Follow the guide for your language:

* [JavaScript / TypeScript](https://docs.near.ai/cloud/inference-sdk/javascript.md)
* [Python](https://docs.near.ai/cloud/inference-sdk/python.md)
* [Rust](https://docs.near.ai/cloud/inference-sdk/rust.md)
* [Go](https://docs.near.ai/cloud/inference-sdk/go.md)

For attestation and response verification, follow the
[Gateway verification guide](https://docs.near.ai/cloud/verification).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.