NEAR AICloud
Sign inStart building
GPT-5.1 icon
GPT-5.1
openai/gpt-5.1
400K context|$1.25/M input tokens|$10/M output tokens|$0.125/M cache read

GPT-5.1 is the latest frontier-grade model in the GPT-5 series, offering stronger general-purpose reasoning, improved instruction adherence, and a more natural conversational style compared to GPT-5. It uses adaptive reasoning...

Input / M tokens
$1.25
Output / M tokens
$10
Cache read
$0.125
Context
400K

Sample code and API for GPT-5.1

Use the Responses API (/v1/responses) for OpenAI models.

const response = await fetch("https://cloud-api.near.ai/v1/responses", { method: "POST", headers: { "Authorization": "Bearer <YOUR-NEAR-AI-CLOUD-API-KEY>", "Content-Type": "application/json", }, body: JSON.stringify({ model: "openai/gpt-5.1", input: "What is the meaning of life?", store: false, }), }) console.log(await response.json())

You can also use NEAR AI Cloud with OpenAI's client API:

import OpenAI from "openai" const client = new OpenAI({ baseURL: "https://cloud-api.near.ai/v1", apiKey: "<YOUR-NEAR-AI-CLOUD-API-KEY>", }) const response = await client.responses.create({ model: "openai/gpt-5.1", input: "What is the meaning of life?", store: false, }) console.log(response.output_text)

Privacy & Execution

This is an Incognito model: it runs on a partner provider rather than inside a NEAR AI GPU TEE. Requests are routed through a shared NEAR AI API key, so your identity is not disclosed to the provider.

Your prompt content, however, is transmitted to and processed by OpenAI in accordance with their terms of service and privacy policy. Data is encrypted in transit, but execution happens outside of trusted hardware — there is no hardware-level privacy, attestation, or cryptographic proof of execution for this model.