An OpenAI-compatible endpoint
Noyau serves /v1/models, /v1/chat/completions with streaming, /v1/completions and /v1/embeddings, plus /v1/messages in the Anthropic format. Each member gets a ny_ key; rules per role and per account decide which models they reach, with requests per minute and tokens per day.
- Upstream providers: Ollama, vLLM, LiteLLM, LM Studio or any OpenAI-compatible server
- Upstream keys encrypted on disk, never sent back to the interface
- Every call logged with model, tokens and duration
curl https://noyau.example.com/v1/chat/completions \
-H "Authorization: Bearer ny_…" \
-H "Content-Type: application/json" \
-d '{"model": "qwen", "messages": [{"role": "user", "content": "Hello"}]}'