Developer API & BYOK.

Bring Your Own Key Integration. Seamless Local Inference API with Knowledge Distillation Support.

Local API Endpoint

DEQLYNK exposes a fully OpenAI-compatible API endpoint at /v1/models/deqlynk-21m. This means you can integrate DEQLYNK into any application built for OpenAI's API. Everything runs locally—no cloud dependencies, no external API calls, zero data transmission.

Standard users enjoy 100 messages per day through the web interface. For higher throughput or programmatic access, API keys can be generated from the dashboard.

Sample API Requests

Python
import requests

url = "http://localhost:5000/v1/chat/completions"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
}
payload = {
    "model": "deqlynk-21m",
    "messages": [
        {"role": "user", "content": "Explain quantum computing"}
    ],
    "temperature": 0.7,
    "max_tokens": 256
}

response = requests.post(url, headers=headers, json=payload)
result = response.json()
print(result["choices"][0]["message"]["content"])
cURL
curl -X POST http://localhost:5000/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deqlynk-21m",
    "messages": [
      {
        "role": "user",
        "content": "What are the top 3 machine learning techniques?"
      }
    ],
    "temperature": 0.8,
    "max_tokens": 512
  }'

Bring Your Own Key (BYOK)

The proprietary BYOK system allows organization administrators to inject external API keys (OpenAI, Google PaLM, Anthropic) into DEQLYNK's Knowledge Distillation pipeline. This enables:

Hybrid Models

Use external LLMs for specialized knowledge distillation while keeping DEQLYNK as the main inference engine.

Cost Optimization

Route expensive queries to local DEQLYNK first; use external APIs only when needed.

Privacy Control

Sensitive queries never leave your infrastructure. Only non-sensitive data is sent to external services.

Multi-Source Training

Leverage multiple model APIs to create a highly specialized distilled version of DEQLYNK.

Each BYOK integration is stored securely in the owner_config.json file, encrypted and never transmitted. You maintain complete control over which external services are used and when.

Rate Limits & Quotas

Free Users: 100 messages/day through the web interface. API keys not available.

API Key Holders: Unlimited requests via /v1 endpoint, rate-limited by your machine's hardware resources.

Organization Admins: Full BYOK access, custom rate limit configurations, and audit logging of Knowledge Distillation activities.