Skip to content

Inference gateway

Choose your fighter:

Follow the steps in the web app.

The inference gateway supports model listing and OpenAI-compatible Chat Completions, including streaming, at https://gateway.str.ing. Requests use an organization credential and are attributed to that organization’s usage.

Gateway requests are made through HTTP clients. Select curl above for a model listing and a Chat Completions example.

You can also use an OpenAI-compatible client. Set its base URL to https://gateway.str.ing/acme and its API key to your organization credential.

The gateway caches eligible identical requests within your organization for 24 hours. A cache hit returns the stored completion without another model call, including when the request has a nonzero temperature.

Control caching with the X-String-Cache request header:

Value Behavior
enabled (default) Read and write the cache
read-only Read cached responses without storing new ones
write-only Store responses without reading the cache
disabled Skip cache reads and writes

Use disabled when you want a fresh response for each request. The x-string-cache-status response header reports hit, miss, or bypass.

See the gateway API specification for request schemas and error responses.