Documentation
Demeterics Documentation
Learn how to integrate Demeterics into your LLM workflows. Track interactions, monitor costs, and build powerful analytics.
Supported LLM Providers
Works with all major AI providers through a unified API
Simple Integration
Just change your base URL and you're done. Demeterics works as a drop-in replacement for any OpenAI-compatible API.
- Zero code changes required
- Compatible with existing SDKs
- Automatic cost tracking
- Real-time analytics
from openai import OpenAI
client = OpenAI(
base_url="https://api.demeterics.com/groq/v1",
api_key="your-demeterics-api-key"
)
response = client.chat.completions.create(
model="llama-3.3-70b-versatile",
messages=[{"role": "user", "content": "Hello!"}]
)
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.demeterics.com/groq/v1',
apiKey: 'your-demeterics-api-key'
});
const response = await client.chat.completions.create({
model: 'llama-3.3-70b-versatile',
messages: [{ role: 'user', content: 'Hello!' }]
});
curl https://api.demeterics.com/groq/v1/chat/completions \
-H "Authorization: Bearer your-demeterics-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.3-70b-versatile",
"messages": [{"role": "user", "content": "Hello!"}]
}'