OpenAI and Anthropic compatibility
OpenAI-compatible clients
Configure an OpenAI SDK with {{OPENAI_BASE_URL}} and {{API_TOKEN}}. Depending on profile scopes, supported routes can include chat completions, completions, responses, embeddings and model discovery.
Use the model identifiers returned or approved by the customer profile. The profile supplies policy for retrieval, web search, memory, model allowlists, quota and identity.
Anthropic-compatible clients
Configure an Anthropic-compatible client with {{ANTHROPIC_BASE_URL}} and the profile’s authentication guidance. Use the exact Messages endpoint and headers shown in connect information.
Do not point an OpenAI client at an MCP URL or use an MCP credential beyond its intended scopes.
OpenAI-compatible example
```python
from openai import OpenAI
client = OpenAI(
base_url="{{OPENAI_BASE_URL}}",
api_key="{{API_TOKEN}}",
)
response = client.chat.completions.create(
model="{{MODEL_ID}}",
messages=[{"role": "user", "content": "Summarise the approved project context."}],
)
```
The customer profile controls which models and capabilities this integration may use. Do not hardcode a provider endpoint or transfer {{API_TOKEN}} into a browser application.