Stay Frontier.
Afoim's core product is a unified gateway: one OpenAI-compatible endpoint, one API key, and one bill for Claude, GPT, Gemini, DeepSeek, Kimi, GLM, and Afoim's own models. Below: how it works, in engineering detail.
How the unified API works
1 · One key, one endpoint
Create one Afoim account and key. Call https://api.afoim.com/v1 with the standard OpenAI SDK or plain REST. The model parameter selects the provider and model. Everything else stays identical.
2 · Model routing
Define routing rules per route or request: cheapest model that meets a quality bar, fastest under a latency budget, or a named model with fallbacks. Afoim's router can also auto-select per request based on task type.
3 · Failover & resilience
Health checks run against every provider continuously. On outage, timeout, or rate-limit, requests fail over to your configured equivalent model, with the switch logged in your dashboard and never hidden.
4 · Unified billing & analytics
All providers on one monthly USD invoice. Dashboards break down tokens, cost, latency, and errors by provider, model, key, and team, with budgets and alerts per key.
Full capability surface
Streaming, tool use, structured outputs, image and document inputs, embeddings, and batch processing, normalized across providers wherever the underlying model supports them.
Afoim's own models
Orrery-v3.1-flash, Orrery-v3.0-flash, and Orrery-v3.0-pro, each with a 1M context window; the two flash models also accept image input. Researched and trained by Afoim (see Research), served on our own infrastructure, and priced to be the smart default for routing.
Trademark note: Claude, GPT, Gemini, DeepSeek, Kimi, and GLM are trademarks of Anthropic, OpenAI, Google, DeepSeek, Moonshot AI, and Zhipu AI respectively. Afoim is independent and not affiliated with or endorsed by those companies; access is provided through authorized channels under each provider's terms, which also govern your use of their models through Afoim.
Reliability & security
99.9% uptime SLA
Enterprise plans carry a contractual SLA with automatic service credits. Live status and incident history: status.afoim.com.
Data protection
Encryption in transit (TLS 1.3) and at rest (AES-256). API data is not used for training by default. SOC 2 Type II report available under NDA; HIPAA BAA available on Enterprise.
Access control
Organization and workspace hierarchy, per-key scopes and spend limits, SSO/SAML, SCIM provisioning, and complete audit logs.
Developers: full API reference, SDKs, cookbooks, and a free sandbox live at developers.afoim.com. Questions? Email support@afoim.com or call +1 (971) 521-0250.