Meta
llama 3.1 8b instruct fp8
chat
Meta Llama 3.1 8B Instruct (fp8) chat model for dialogue and text tasks.
Specifications
Context window
32K
Max tokens in response
32 000
Vendor
Meta
Release
—
Login
text
Output
text
Capabilities
toolsstreaming
Parameters
temperaturedefault: 1Controls how varied the answer is: higher values make the output more random, lower values more predictable.
top_pdefault: 1Nucleus sampling: only the most probable tokens whose probabilities add up to P are considered.
max_tokensUpper limit on the number of tokens the model may generate in its answer.
presence_penaltydefault: 0Penalizes tokens that already appeared in the text, nudging the model toward new topics.
frequency_penaltydefault: 0Penalizes tokens in proportion to how often they already appeared — fights repetition.
stopList of stop strings: generation halts as soon as the model produces any of them.
seedPins randomness: repeating a request with the same seed and parameters returns the same result.
response_formatResponse format: plain text or strict JSON following a given schema.
streamdefault: falseDeliver the answer as a stream while it is generated instead of one chunk at the end.
toolstool_choiceEndpoints
POST
https://api.neuralbridge.ru/v1/chat/completionsprimaryChat 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.
POST
https://api.neuralbridge.ru/v1/responsesResponses — 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.
POST
https://api.neuralbridge.ru/v1/messagesMessages — 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.
POST
https://api.neuralbridge.ru/v1/converseConverse — Amazon Bedrock Converse format, for clients written against it.
POST
https://api.neuralbridge.ru/v1/converse-streamConverse Stream — Streaming variant of the Bedrock Converse format.
POST
https://api.neuralbridge.ru/v1/generateContentGenerate Content — Google Gemini format, for clients and SDKs written against it.
POST
https://api.neuralbridge.ru/v1/streamGenerateContentStream Generate Content — Streaming variant of the Gemini format.
Code examples
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="meta-llama/llama-3.1-8b-instruct-fp8-08130",
messages=[{"role": "user", "content": "Привет! Расскажи о себе."}],
)
print(response.choices[0].message.content)Other Meta models
Related models: chat
For OpenAI SDK, specify
/v1 in base_url. For Anthropic SDK — without /v1.Prices
Login / 1M tokens19,76 ₽
Output / 1M tokens37,31 ₽
The request cost in rubles — in the response, field
usage.costFor AI agents