OVERVIEW
Build with eggsplain.
One sovereign gateway for every model. Keep your OpenAI SDK, change the base URL, and add smart routing, data residency, tools, reasoning, speech-to-text and your own on-prem nodes.
Your first request
Base URL https://api.eggsplain.com/v1. Authenticate with Authorization: Bearer $EGGSPLAIN_API_KEY. Set model to auto and the gateway picks for you. Or paste a key in the tester and run it right here.
curl https://api.eggsplain.com/v1/chat/completions \
-H "Authorization: Bearer $EGGSPLAIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "auto",
"messages": [
{
"role": "user",
"content": "Explain sovereign AI in one sentence."
}
]
}'Explore the API
Every page has its own live tester so you can see each capability working.
GET STARTEDAuthenticationAPI keys, scopes, and verifying a key.CORE APIList modelsDiscover the model IDs your key can call.CORE APIChat completionsThe OpenAI-compatible generation endpoint.CORE APIStreamingServer-sent events, token by token.CAPABILITIESSmart routingmodel=auto with capability-aware selection and failover.CAPABILITIESData residencyPin inference to EU, SE or NO, or fail closed.CAPABILITIESTools & JSON modeFunction calling and structured output.CAPABILITIESReasoningThinking controls mapped per provider.CAPABILITIESSpeech to textTranscribe audio files up to 25 MB.CAPABILITIESOn-prem nodesYour own GPUs behind the same API.REFERENCEHeaders & errorsRouting headers, status codes, and limits.