From OpenAI
From other OpenAI-compatible gateways
If you already use another gateway withvendor/model names, change base_url and the key as shown above. Check model names against the GET /v1/models catalog — they may differ.
Checklist
- Base URL:
https://b2b.api.ascn.ai/api/ai-gateway/v1. - Key: in the
X-API-KEYheader. - Models: prefixed with the vendor, for example
anthropic/claude-haiku-4.5. Case and separators do not matter. - Responses API: responses are not stored, so
previous_response_iddoes not work — send the history ininput. - Images, video, speech: use media jobs instead of OpenAI’s synchronous endpoints.
- Reasoning models: set
max_tokensto 2000 or more.

