EidosStack AI Gateway
One endpoint for selected AI models.
Use your existing OpenAI SDK, pay by token, and choose a model ID from the live catalog.
Base URL
https://api.eidosstack.com/v101
Quick start
Create a key, choose a model, send a request
API keys are created in the user dashboard and shown in full only once.
- Create one project and API key per application or environment.
- Choose an Available model from the live catalog.
- Paid models use bare IDs; free models use the free/ prefix.
curl https://api.eidosstack.com/v1/chat/completions \
-H "Authorization: Bearer $EIDOSSTACK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4-flash","messages":[{"role":"user","content":"Hello"}],"max_tokens":256,"stream":true}'02
API
Available endpoints
GET /modelsReturns models currently usable by the API key.
POST /chat/completionsOpenAI-compatible Chat Completions in JSON or SSE streaming.
POST /messagesText-only Anthropic Messages compatibility for existing clients.
03
Streaming
Receive tokens as they arrive
Set stream: true. The response uses Server-Sent Events and ends with [DONE].
- Set max_tokens to cap output length.
- Do not automatically retry a stream after tokens have been emitted.
- For retryable non-stream requests, send an Idempotency-Key.
04
Error handling
Separate request, balance, limit, and upstream errors
- 400
- Invalid payload or model ID.
- 401
- Invalid or revoked API key.
- 402
- Insufficient balance after last-request grace.
- 429
- Rate limit or free-model quota reached.
- 502 / 503
- Upstream failed or is temporarily unavailable.