NeuralBridge
Sign in Download IDE

Chat Completions

Chat models accept requests in several compatible protocols: OpenAI, Anthropic, Gemini, and Bedrock Converse. The model is selected via the model field, streaming response is sent via SSE with a terminating [DONE].

Chat

Endpoints

POSThttps://api.neuralbridge.ru/v1/chat/completionsprimary
Chat Completions — The main chat endpoint: takes a message history and returns the model reply. Supports streaming and regular modes. The X-NB-Prompt-Cache header sets prompt caching for a single request: 5m, 1h or off.
POSThttps://api.neuralbridge.ru/v1/responses
Responses — Alternative chat format with state and structured output. The X-NB-Prompt-Cache header sets prompt caching for a single request: 5m, 1h or off.
POSThttps://api.neuralbridge.ru/v1/messages
Messages — Anthropic format: the same chat for clients and SDKs written for Claude. The X-NB-Prompt-Cache header sets prompt caching for a single request: 5m, 1h or off.
POSThttps://api.neuralbridge.ru/v1/converse
Converse — Amazon Bedrock Converse format, for clients written against it.
POSThttps://api.neuralbridge.ru/v1/converse-stream
Converse Stream — Streaming variant of the Bedrock Converse format.
POSThttps://api.neuralbridge.ru/v1/generateContent
Generate Content — Google Gemini format, for clients and SDKs written against it.
POSThttps://api.neuralbridge.ru/v1/streamGenerateContent
Stream Generate Content — Streaming variant of the Gemini format.

Parameters

The set depends on the model: on the right — how many models out of 31 accept the parameter. Default and allowed values on the model page.

max_tokens31 of 31
Upper limit on the number of tokens the model may generate in its answer.
response_format31 of 31
Response format: plain text or strict JSON following a given schema.
stream31 of 31
Deliver the answer as a stream while it is generated instead of one chunk at the end.
stop30 of 31
List of stop strings: generation halts as soon as the model produces any of them.
temperature28 of 31
Controls how varied the answer is: higher values make the output more random, lower values more predictable.
top_p28 of 31
Nucleus sampling: only the most probable tokens whose probabilities add up to P are considered.
presence_penalty27 of 31
Penalizes tokens that already appeared in the text, nudging the model toward new topics.
frequency_penalty27 of 31
Penalizes tokens in proportion to how often they already appeared — fights repetition.
seed27 of 31
Pins randomness: repeating a request with the same seed and parameters returns the same result.
tools24 of 31
tool_choice24 of 31
parallel_tool_calls15 of 31
reasoning_effort14 of 31
Thinking level: how much effort the model spends reasoning before answering. Higher means deeper analysis, more time and more tokens.

Request example

Models anthropic/claude-fable-5.1-08130. For another model, insert its identifier from the table below.

python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.neuralbridge.ru/v1",
)

response = client.chat.completions.create(
    model="anthropic/claude-fable-5.1-08130",
    messages=[{"role": "user", "content": "Привет! Расскажи о себе."}],
)

print(response.choices[0].message.content)

31 model

Claude Fable 5.1Anthropiccontext 1M
anthropic/claude-fable-5.1-08130
Anthropic's Fable-family model for the hardest reasoning and long-running agentic work: always reasons (deeply by default), tool calling, image input, JSON-schema output, 1,000,000-token context.
Claude Fable 5.2Anthropiccontext 1M
anthropic/claude-fable-5.2-08130
Anthropic's Fable-family model for hard reasoning and long-running agentic work: always reasons (deeply by default), tool calling, image input, JSON-schema output, prompt caching, 1,000,000-token context.
Claude Opus 5.5Anthropiccontext 1M
anthropic/claude-opus-5.5-08130
Anthropic's model for long-running agentic coding and complex knowledge work: always reasons with adjustable depth, tool calling, image input, JSON-schema output, 1,000,000-token context.
deepseek r1 distill qwen 32bDeepSeekcontext 80K
deepseek/deepseek-r1-distill-qwen-32b-08130
Reasoning chat model DeepSeek-R1 Distill (based on Qwen2.5 32B) for step-by-step solving of complex tasks.
deepseek-v4.1-flashDeepSeekcontext 1.0M
deepseek/deepseek-v4.1-flash-08130
Fast multimodal model DeepSeek with a context of one million tokens: tools, images as input, reasoning with depth selection.
deepseek-v4-proDeepSeekcontext 1.0M
deepseek/deepseek-v4-pro-08130
Logical model DeepSeek V4 Pro: context 1.05M tokens, function calling, reasoning mode.
gemma 4 26b a4b itGooglecontext 256K
google/gemma-4-26b-a4b-it-08130
Multimodal chat model Google Gemma 4 26B with image support, tools and reasoning.
gemma sea lion v4 27b itAI Singaporecontext 128K
aisingapore/gemma-sea-lion-v4-27b-it-08130
AI Singapore SEA-LION v4 27B chat model for Southeast Asian languages.
glm 4.7 flashZhipu AIcontext 131.1K
z-ai/glm-4.7-flash-08130
Fast multilingual chat model Z.ai GLM-4.7 Flash with support for tools and reasoning.
glm-5.2Zhipu AIcontext 262.1K
z-ai/glm-5.2-08130
Agent coding model Z.ai GLM-5.2: context 262k, function calling, reasoning.
glm-5.3Zhipu AIcontext 1.0M
z-ai/glm-5.3-08130
Flagship agent coding model Z.ai GLM-5.3: context 1.31M, function calling, reasoning.
glm-5.3-flashZhipu AIcontext 1.0M
z-ai/glm-5.3-flash-08130
First multimodal model of the GLM-5 series: 320B parameters, context 1.31M, function calling.

Vision

Endpoints

POSThttps://api.neuralbridge.ru/v1/visionprimary
Vision — Image understanding: captioning, questions about an image, object and point detection.

Parameters

The set depends on the model: on the right — how many models out of 1 accept the parameter. Default and allowed values on the model page.

temperature1 of 1
Controls how varied the answer is: higher values make the output more random, lower values more predictable.
top_p1 of 1
Nucleus sampling: only the most probable tokens whose probabilities add up to P are considered.
max_tokens1 of 1
Upper limit on the number of tokens the model may generate in its answer.
presence_penalty1 of 1
Penalizes tokens that already appeared in the text, nudging the model toward new topics.
frequency_penalty1 of 1
Penalizes tokens in proportion to how often they already appeared — fights repetition.
stop1 of 1
List of stop strings: generation halts as soon as the model produces any of them.
seed1 of 1
Pins randomness: repeating a request with the same seed and parameters returns the same result.
response_format1 of 1
Response format: plain text or strict JSON following a given schema.
stream1 of 1
Deliver the answer as a stream while it is generated instead of one chunk at the end.

Request example

Models moondream/moondream3.1-9b-a2b-08130. For another model, insert its identifier from the table below.

bash
curl https://api.neuralbridge.ru/v1/vision \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "moondream/moondream3.1-9b-a2b-08130", "image": "data:image/png;base64,...", "prompt": "Что на картинке?"}'

1 model

moondream/moondream3.1-9b-a2b-08130
Vision model Moondream 3.1 (9B MoE, 2B active): query, caption, point, detect skills — text recognition, object search and annotation.