Brave Leo now runs on NEAR AI Cloud
All models

OpenAI GPT-4.1 Nano

Incognito
Try in Playground
openai/gpt-4.1-nano

OpenAI's most cost-efficient model with 1M token context. Ideal for classification, extraction, and high-volume tasks where cost matters most.

Input / 1M tokens
$0.1
Output / 1M tokens
$0.4
Cache read / 1M tokens
$0.025
Context window
1000K tokens

Privacy & execution

This Incognito model runs on a partner provider’s infrastructure. NEAR AI routes requests using shared provider credentials, so your NEAR AI account credentials are not forwarded.

Your prompts are processed by the provider under its terms and privacy policy. HTTPS protects data in transit. Model TEE attestation and client-to-model end-to-end encryption are not provided for this model. Where available, Gateway signatures verify the request and response handled by the Gateway.

Verification documentation
01

Make your first request

Call /v1/responses over HTTPS.

Get an API key and replace the API key placeholder below.

curl https://cloud-api.near.ai/v1/responses \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <YOUR-NEAR-AI-CLOUD-API-KEY>" \ -d '{ "model": "openai/gpt-4.1-nano", "input": "What is the meaning of life?", "store": false }'
02

Integrate in your language

Use the Responses API in your application.

Example

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-4.1-nano", input: "What is the meaning of life?", store: false, }) console.log(response.output_text)