Skip to content
// API · NEUROCORTEX v3

OpenAI-compatible.
India-built.

Drop-in REST API on NeuroCortex — the AI engine built to understand the human brain. Point your OpenAI SDK at our baseURL and ship. Three opt-in modes — Deep Thinking, Agent Mode, Web Access — default OFF for sub-second latency. Shared INR wallet with the Lab.

Powered by NeuroCortex →

Prefer to use NeuroCortex from ChatGPT, Claude, Cursor or Codex? Plug it in as an MCP server — see /mcp.

// THE DROP-IN

Swap the baseURL. Keep your code.

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.NEUROCORTEX_KEY,        // neurocortex_v3_live_…
  baseURL: "https://bharatneurotech.com/api/public/v1",
});

const out = await client.chat.completions.create({
  model: "neurocortex-v3",
  messages: [{ role: "user", content: "audit this clause" }],
  max_tokens: 16384,                           // model-card max output
  // Opt-in NeuroCortex modes (all default OFF for low latency):
  neurocortex: {
    deep_thinking: false,
    agent_mode:    false,
    web_access:    false,
  },
});

// HOW IT WORKS

01
Sign up

Create your account and open Wallet & Billing. One INR wallet funds chat, audits, consults and API calls.

02
Mint a v3 key

Generate a neurocortex_v3_live_… Bearer token in /billing. Per-key daily caps and IP allow-lists supported.

03
Call the engine

POST OpenAI-shape JSON to /v1/chat/completions. Stream or non-stream. Three opt-in modes per call.

// API CALLS ARE 2× LAB PRICE (HOBBY TIER)

// PRICING

API is purely metered — every billable call is 2× the equivalent Lab action on Hobby. Builder 1.5×, Scale 1.2×, Sovereign 1.0×. Account and catalogue reads are metered at zero. Opt-in modes add small per-call surcharges before the tier multiplier.

EndpointActionPer call (Hobby)
POST /v1/chat/completionscore chat (OpenAI-compatible)₹1
+ neurocortex.deep_thinking:truereasoning surcharge+ ₹4
+ neurocortex.agent_mode:truetool/agent surcharge+ ₹2
+ neurocortex.web_access:trueweb search surcharge+ ₹2
POST /v1/neurocortex/scanimage scan₹3
POST /v1/neurocortex/listenaudio · per minute₹3
POST /v1/neurocortex/listen (video)video · per minute₹4
GET /v1/modelsmodel cataloguefree
GET /v1/neurocortex/accountwallet balance + daily usagefree
// LATENCY & RELIABILITY

No silent waits. No empty responses.

  • Pre-flight wallet check — low balance returns 402 before the model is ever called. No 30s waits on a doomed call.
  • Default max_tokens 16384 — the engine model-card maximum, so chat & codemaster scaffolds never length-truncate. Sub-256 is rejected at 400.
  • Empty responses auto-refund — 502 empty_response_increase_max_tokens with a fix.
  • Modes explicitly OFF by default — no surprise tool-call hallucinations, no surprise reasoning latency.
  • Hard timeouts — 30s standard, 60s with deep_thinking, 240s for streams.