Endpoint Specifications
This section covers endpoint specifications. Use whichever protocol fits your existing codebase, or mix both in the same project.
For feature-specific usage (streaming, function calling, structured output, etc.), see the User Guide.
Commonstack exposes two sets of endpoints: an OpenAI-compatible API and an Anthropic-compatible API. Both accept the same API key and provide access to all models in the Model Library.
For Anthropic protocol usage, see Anthropic SDK Compatibility.
Last updated

