Updated
Abliterated API with cURL
Every abliterated API call is one HTTPS POST with a key header and a JSON body, so cURL is the quickest test. These requests cover all three formats and the model list.
- 1
Set your key
Create a key on Silk Compute's API keys page and add credits from $5. Keep it in an environment variable. Send it as
Authorization: Bearerorx-api-key.Shellexport SILK_API_KEY="sk-..." - 2
Check the key
A model list back means the key works. A 401 means it is empty or wrong.
Modelscurl https://api.silkcompute.com/models -H "Authorization: Bearer $SILK_API_KEY"Balancecurl https://api.silkcompute.com/balance -H "Authorization: Bearer $SILK_API_KEY" - 3
Send a request
Pick a format below. Messages needs
max_tokens, and Responses is stateless here, so send"store": falseand the full conversation each time.
cURL
cURL
cURL
https://api.silkcompute.comcurl https://api.silkcompute.com/chat/completions \
-H "Authorization: Bearer $SILK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4.1-flash-1017-uncensored",
"messages": [
{"role": "user", "content": "What is a mutex?"}
]
}'Example response
{
"object": "chat.completion",
"model": "deepseek-v4.1-flash-1017-uncensored",
"choices": [{
"index": 0,
"message": {
"role": "assistant",
"reasoning_content": "Define it in one line.",
"content": "A lock only one thread can hold at a time."
},
"finish_reason": "stop"
}],
"usage": {
"prompt_tokens": 16,
"completion_tokens": 48,
"prompt_tokens_details": {"cached_tokens": 0}
}
}curl https://api.silkcompute.com/v1/messages \
-H "x-api-key: $SILK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4.1-flash-1017-uncensored",
"max_tokens": 2048,
"messages": [
{"role": "user", "content": "What is a mutex?"}
]
}'Example response
{
"type": "message",
"role": "assistant",
"model": "deepseek-v4.1-flash-1017-uncensored",
"content": [
{"type": "text", "text": "A lock only one thread can hold at a time."}
],
"stop_reason": "end_turn",
"usage": {
"input_tokens": 16,
"output_tokens": 21,
"cache_read_input_tokens": 0
}
}curl https://api.silkcompute.com/responses \
-H "Authorization: Bearer $SILK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4.1-flash-1017-uncensored",
"input": "What is a mutex?",
"store": false
}'Example response
{
"object": "response",
"model": "deepseek-v4.1-flash-1017-uncensored",
"output": [
{"type": "reasoning"},
{
"type": "message",
"role": "assistant",
"content": [
{"type": "output_text", "text": "A lock only one thread can hold at a time."}
]
}
],
"usage": {
"input_tokens": 16,
"output_tokens": 48,
"input_tokens_details": {"cached_tokens": 0}
}
}