NeuralBridge
Sign in Download IDE

API Overview

Unified REST API to all catalog models. Compatible with OpenAI SDK, Anthropic SDK, Vercel AI SDK, and LangChain: just change base_url and key.

Currently the catalog contains 72 models: chat, images, speech, embeddings and web search.

Base URL

base_url
https://api.neuralbridge.ru/v1

Authorization

All requests require a Bearer token in the header Authorization. The key is created in the personal account.

header
Authorization: Bearer sk-nb-xxxxxxxxxxxxxxxxxxxxxxxx

How it works

You send a request to a single endpoint and specify the model in the field model. The gateway checks the key and balance, forwards the request to the model and deducts the cost in real time.

Quick start

curl
curl https://api.neuralbridge.ru/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-fable-5.1-08130",
    "messages": [{"role": "user", "content": "Привет! Расскажи о себе."}]
  }'
The cost of each request in rubles is returned in the response, field usage.cost: for a regular response — in the body, for a streaming response — in the last event (for an OpenAI‑compatible stream pass stream_options.include_usage).