Skip to main content

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 URLhttps://api.eidosstack.com/v1
01

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}'

Open API keys · View models and pricing

02

Available endpoints

GET /models

Returns models currently usable by the API key.

POST /chat/completions

OpenAI-compatible Chat Completions in JSON or SSE streaming.

POST /messages

Text-only Anthropic Messages compatibility for existing clients.

03

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

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.