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. Create an account and choose a plan.
- 2. Settle the plan in crypto. We review and activate it manually.
- 3. Generate an API key in the dashboard. Keys are shown once.
- 4. Send your first request to
https://api.neurovia.ai/v1.
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-keyKeep 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
| Model | ID | Input | Context |
|---|---|---|---|
| Neurovia Max | neurovia-max | Text / Image / Video | 1M |
| Neurovia Pro | neurovia-pro | Text | 1M |
| Neurovia Pro FLASH | neurovia-pro-flash | Text / Image | 1M |
| Neurovia RAPID | neurovia-rapid | Text / Image | 1M |
GET https://api.neurovia.ai/v1/models
Authorization: Bearer sk-nv-your-keyModel 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
| Status | Code | Meaning |
|---|---|---|
| 401 | invalid_api_key | The key is missing, revoked or invalid. |
| 402 | insufficient_credits | Top up or renew your plan. |
| 404 | model_not_found | Use a valid Neurovia model ID. |
| 429 | rate_limit_exceeded | Retry after the interval in Retry-After. |
| 502 | upstream_error | The 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.