Models / Chat / Marin 8B Instruct API
Marin 8B Instruct API
Chat
8B open-source SFT-only LLM using Llama architecture, trained on diverse high-quality academic and code datasets.
Try our Marin API

New
Marin 8B Instruct API Usage
Endpoint
marin-community/marin-8b-instruct
RUN INFERENCE
curl -X POST "https://api.together.xyz/v1/chat/completions" \
-H "Authorization: Bearer $TOGETHER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "marin-community/marin-8b-instruct",
"messages": [
{
"role": "user",
"content": "What are some fun things to do in New York?"
}
]
}'
JSON RESPONSE
RUN INFERENCE
from together import Together
client = Together()
response = client.chat.completions.create(
model="marin-community/marin-8b-instruct",
messages=[
{
"role": "user",
"content": "What are some fun things to do in New York?"
}
]
)
print(response.choices[0].message.content)
JSON RESPONSE
RUN INFERENCE
import Together from "together-ai";
const together = new Together();
const response = await together.chat.completions.create({
messages: [
{
role: "user",
content: "What are some fun things to do in New York?"
}
],
model: "marin-community/marin-8b-instruct"
});
console.log(response.choices[0].message.content)
JSON RESPONSE
Model Provider:
Marin Community
Type:
Chat
Variant:
Parameters:
8B
Deployment:
✔️ Serverless
Quantization
FP16
Context length:
131072
Pricing:
$0.18
Run in playground
Deploy model
Quickstart docs
Quickstart docs
How to use Marin 8B Instruct
Model details
Prompting Marin 8B Instruct
Applications & Use Cases
Looking for production scale? Deploy on a dedicated endpoint
Deploy Marin 8B Instruct on a dedicated endpoint with custom hardware configuration, as many instances as you need, and auto-scaling.
