Skip to content

One endpoint for every model provider

Put one OpenAI-compatible API in front of your providers, then keep routing, fallback, caching, limits and credentials in one place.

What you get

  • Provider translation

    OpenAI-shaped requests become provider-native calls, with streaming, tools, structured output and provider-specific reasoning state preserved.

  • Fallback chains

    Traffic moves to a configured alternative when a provider is unavailable or rate-limited.

  • Exact and semantic caching

    Repeated requests are served without another provider call, with configurable similarity and explicit TTLs.

  • Rate limiting

    Request limits are enforced before traffic reaches a model provider.

  • Context compaction

    Conversation history is trimmed when it exceeds the selected model's context window, and the request contract stays the same.

  • Cost in every trace

    Model selection, cache decisions, latency, token use, cost and fallback behavior are captured in the same request trace.

Call a model through the gateway

Use an Everstack SDK, or point an existing OpenAI-compatible client at the gateway by changing its base URL and credentials.

  • Your application sends one request shape to one endpoint.
  • Providers are chosen through aliases, explicit routes and balancing strategies, so model changes stay out of product code.
  • Each request leaves a trace with its model, tokens, cost and latency.
hello.py
import os
from everstack import Everstack

client = Everstack(
    base_url=os.environ["EVERSTACK_BASE_URL"],
    api_key=os.environ["EVERSTACK_API_KEY"],
)

response = client.chat.completions.create(
    model="@openai/gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello, Everstack."}],
)
print(response.choices[0].message.content)

Questions

Do applications need a new SDK?

No. Existing OpenAI-compatible clients can point at the Everstack gateway by changing the base URL and credentials.

Can the gateway run without the rest of the platform?

You can start with routing alone, then enable caching, rate limiting and observability as your operating requirements grow.

Put Everstack in front of your next request

Run it yourself in a few minutes, or start on Everstack Cloud with your own provider keys.

Star on GitHubOpen source under Apache 2.0. A star helps others find it.