Skip to main content
Antara speaks the OpenAI and Anthropic wire formats, so their official SDKs work as they are. Set the API key and the base URL:
Other tools that let you set an OpenAI- or Anthropic-compatible base URL work the same way.

What the SDKs get from Antara

Fields that differ

Antara accepts each API’s official request schema. A few fields are handled differently; the API reference lists all of them per endpoint. Fields Antara accepts but doesn’t forward, so SDK defaults never break a request: user, safety_identifier, store, metadata, service_tier (Chat Completions and Responses), and metadata, service_tier, cache_control, anthropic-beta (Messages). Prompt caching is automatic.
/v1/responses works only for models whose runtime serves the Responses API; others answer 400 unsupported_parameter with param: "model". Chat Completions and Messages work for every model.