NEAR AI
Sign inStart building
All models

OpenAI o4 Mini

Incognito
Try in Playground
openai/o4-mini

OpenAI's cost-effective reasoning model. Strong performance on math, coding, and scientific reasoning at a fraction of o3's cost. 200K context window.

Input / 1M tokens
$1.1
Output / 1M tokens
$4.4
Cache read / 1M tokens
$0.275
Context window
200K 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/o4-mini", "input": "What is the meaning of life?", "store": false }'
02

Use the client SDK

Use OpenAI’s SDK with your API key.

These examples use the Responses 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/o4-mini", input: "What is the meaning of life?", store: false, }) console.log(response.output_text)