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

OpenAI's next-generation model with enhanced reasoning and 400K context window. Strong performance across coding, math, and creative tasks.

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

Sample code and API for OpenAI GPT-5

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", 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", 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.