What’s Compatible
Piramyd supports the following OpenAI-compatible endpoints and features:
In addition to the endpoints above, the following features are fully supported:
- Streaming SSE — set
stream: trueon any chat completions request stream_options: {include_usage: true}— receive token counts in the final streaming chunk- Tool calling — define functions and let the model decide when to invoke them
- Vision — pass image URLs or base64-encoded images in message content arrays
Model IDs
Piramyd’s catalog changes as new models are added and deprecated. Rather than hardcoding a model ID that may become unavailable, always discover models at runtime usingGET /v1/models.
Compatibility Redirects
A small set of non-versioned paths redirect with HTTP307 (preserving the POST body) to their /v1/ counterparts:
These redirects exist for convenience only. Always call
/v1/ paths directly in production code — relying on redirects adds an unnecessary round trip.
