Pistachio Inference API
Be your own OpenAI.
Decentralized AI inference via the Morpheus network. Standard OpenAI-compatible API. No vendor lock-in.
Checking...
Endpoint
POST https://api.pistachio.drm3.network/v1/chat/completions
Quick start
curl https://api.pistachio.drm3.network/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.3-70b",
"messages": [{"role": "user", "content": "Hello!"}],
"stream": true
}'
Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.pistachio.drm3.network/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="llama-3.3-70b",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)