AI on demand: Apertus
Jump to navigation
Jump to search
Calling the model
# Set your personal key
STONEY_KEY=sk-...
# Set the desired model
MODEL_ID=swiss-ai/Apertus-70B-Instruct-2509
curl -s https://llm.stoney-cloud.com/v1/chat/completions \
-H "Authorization: Bearer $STONEY_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "swiss-ai/Apertus-70B-Instruct-2509",
"messages": [
{"role": "user", "content": "Say hello"}
],
"max_tokens": 100
}' | jq .