Documentation

Build on Neurovia.

Neurovia exposes uncensored models through OpenAI Chat Completions, Anthropic Messages and the OpenAI Responses API. Keep your SDK, your agent and your prompts. Change the base URL, the key and the model.

Quickstart

  1. 1. Create an account and choose a plan.
  2. 2. Settle the plan in crypto. We review and activate it manually.
  3. 3. Generate an API key in the dashboard. Keys are shown once.
  4. 4. Send your first request to https://api.neurovia.ai/v1.
Plans include a fixed number of API keys. You can generate, rotate and revoke them from the dashboard. Top-ups add credits, not keys.

Authentication

Send your Neurovia key as a Bearer token or with the x-api-key header. Keys start with sk-nv-.

Authorization: Bearer sk-nv-your-key # or x-api-key: sk-nv-your-key

Keep keys server-side. Do not ship them in browser bundles unless the key is scoped to a trusted client. Revoke a key immediately if it leaks.

Models

ModelIDInputContext
Neurovia Maxneurovia-maxText / Image / Video1M
Neurovia Proneurovia-proText1M
Neurovia Pro FLASHneurovia-pro-flashText / Image1M
Neurovia RAPIDneurovia-rapidText / Image1M
GET https://api.neurovia.ai/v1/models Authorization: Bearer sk-nv-your-key

Model IDs are stable. If a model is retired, we will map it to the nearest equivalent and announce the change before it happens.

OpenAI SDK

import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.neurovia.ai/v1", apiKey: process.env.NEUROVIA_API_KEY, }); const response = await client.chat.completions.create({ model: "neurovia-max", messages: [{ role: "user", content: "Finish the job." }], }); console.log(response.choices[0].message.content);

Any OpenAI-compatible client works with the same base URL. If a tool appends /v1 itself, set the base URL to https://api.neurovia.ai.

cURL

curl https://api.neurovia.ai/v1/chat/completions \ -H "Authorization: Bearer sk-nv-your-key" \ -H "Content-Type: application/json" \ -d '{ "model": "neurovia-max", "messages": [ { "role": "user", "content": "Finish the job." } ] }'

Anthropic SDK

The Anthropic Messages endpoint is served at https://api.neurovia.ai/v1/messages. This is what Claude Code uses.

import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic({ baseURL: "https://api.neurovia.ai", apiKey: process.env.NEUROVIA_API_KEY, }); const message = await client.messages.create({ model: "neurovia-max", max_tokens: 2048, messages: [{ role: "user", content: "Finish the job." }], }); console.log(message.content);

Streaming

Set stream: true. Neurovia passes server-sent events through as they arrive. We include usage in the final event so the dashboard settles at the exact token count.

const stream = await client.chat.completions.create({ model: "neurovia-rapid", messages: [{ role: "user", content: "Keep going." }], stream: true, }); for await (const chunk of stream) { process.stdout.write(chunk.choices[0]?.delta?.content ?? ""); }

Tool calling

All four models support OpenAI-style and Anthropic-style tool calling. Define tools once and let the model call them.

const response = await client.chat.completions.create({ model: "neurovia-pro", messages: [{ role: "user", content: "Check the service health." }], tools: [ { type: "function", function: { name: "check_health", description: "Check a service endpoint", parameters: { type: "object", properties: { url: { type: "string" } }, required: ["url"], }, }, }, ], });

Responses API

The stateless OpenAI Responses API is available at https://api.neurovia.ai/v1/responses. Use the same Neurovia key. Streaming and usage settlement work the same way.

Claude Code

Add the Neurovia settings to ~/.claude/settings.json. Use your Neurovia key as the auth token and pick a Neurovia model.

{ "apiKeyHelper": "echo $NEUROVIA_API_KEY", "env": { "ANTHROPIC_BASE_URL": "https://api.neurovia.ai", "ANTHROPIC_AUTH_TOKEN": "sk-nv-your-key", "ANTHROPIC_MODEL": "neurovia-max" } }

Start Claude Code and switch models with /model. The Anthropic Messages endpoint is translated natively, so tools and streaming keep working.

OpenCode

Add Neurovia as a custom OpenAI-compatible provider in opencode.json.

{ "$schema": "https://opencode.ai/config.json", "model": "neurovia/neurovia-max", "provider": { "neurovia": { "npm": "@ai-sdk/openai-compatible", "name": "Neurovia", "options": { "baseURL": "https://api.neurovia.ai/v1", "apiKey": "{env:NEUROVIA_API_KEY}" }, "models": { "neurovia-max": { "name": "Neurovia Max" }, "neurovia-pro": { "name": "Neurovia Pro" }, "neurovia-pro-flash": { "name": "Neurovia Pro FLASH" }, "neurovia-rapid": { "name": "Neurovia RAPID" } } } } }

Codex

Codex works over the Chat Completions wire format. Add this to ~/.codex/config.toml.

model = "neurovia-max" model_provider = "neurovia" wire_api = "chat" [model_providers.neurovia] name = "Neurovia" base_url = "https://api.neurovia.ai/v1" env_key = "NEUROVIA_API_KEY"

Credits and top-ups

One credit equals one US dollar of Neurovia usage at retail token rates. Plans include a monthly allowance. Top-ups add credits that never expire. When the balance reaches zero, requests return 402 insufficient_credits until you top up.

Top-ups are manual and crypto-only. Create an order in the dashboard, choose the asset, pay the address and submit the transaction hash. We review and credit the account after confirmation. The minimum top-up is $25.

Errors

StatusCodeMeaning
401invalid_api_keyThe key is missing, revoked or invalid.
402insufficient_creditsTop up or renew your plan.
404model_not_foundUse a valid Neurovia model ID.
429rate_limit_exceededRetry after the interval in Retry-After.
502upstream_errorThe model is temporarily unavailable. Retry.

Limits

Concurrency is set by your plan. Requests queue briefly when all slots are busy; if the queue is full you receive a 429. Every model accepts up to 1,048,576 tokens of context and up to 131,072 output tokens.

Support

For billing, plan changes, top-up issues or a key that will not behave, message us on Telegram. Include your account email and the request ID from the response header when you can.

Chat with @wzdwzdwzd
Ready to build? Create an account and generate a key. The API is the same for every model.