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.
| Client | Base URL | Purpose |
|---|---|---|
| OpenAI client | https://acosmi.com/v1 | Available Chat Completions configurations |
| Anthropic client | https://acosmi.com | Client appends /v1/messages; use the shown Bearer authentication |
@acosmi/sdk-ts | Its documented serverURL | Membership 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.