Skip to main content
Point an SDK at your airmux inference endpoint, use a workspace inference key, and choose a model ID from the gateway catalog. OpenAI-compatible SDKs use /inf/v1; the Anthropic SDK uses /inf. airmux routes each request to the selected provider. Set these values for the examples:
Vercel AI SDK uses its OpenAI-compatible provider. LangChain uses the OpenAI integration with airmux’s Chat Completions endpoint. List models with the OpenAI SDK using client.models.list(). Results reflect the models visible to the key’s workspace policies and configured credential scopes. See the model discovery reference. Inference keys begin with sk-inf-. Management keys (sk-cp-) cannot be used for inference. The Messages reference, Chat Completions reference, and Responses reference describe supported request fields.