Skip to main content

Choose a protocol client, SDK or HTTP

Model-compatible clients and the Acosmi business SDK serve different purposes.

Protocol clients and SDKs

Use the OpenAI JavaScript/TypeScript client for OpenAI configurations and the Anthropic client for Anthropic configurations. Model details include configuration-specific examples and pinned reference versions with automatic retries disabled.

ClientBase URLPurpose
OpenAI clienthttps://acosmi.com/v1Available Chat Completions configurations
Anthropic clienthttps://acosmi.comClient appends /v1/messages; use the shown Bearer authentication
@acosmi/sdk-tsIts documented serverURLMembership OAuth, Agent and compliance APIs, not a substitute for the above

The compatibility surface must be enabled and the wire must match. Chat Completions support does not imply Responses, Realtime or every vendor tool.

Direct HTTP

Use cURL, Python’s standard library, Go HTTP or Rust reqwest with supported endpoints. Model details generate the same payload in multiple languages. Handle protocol-specific responses, streams and errors, without automatically repeating paid POSTs.

Acosmi SDK language status

The current maintained business SDK entry is TypeScript. Python, Go and Java pages document their separate SDK status. HTTP access from those languages does not prove a dedicated Acosmi SDK has shipped.

Model API quickstart · Membership OAuth tutorial