Skip to main content

OpenAI-compatible providers

Many third-party services expose an OpenAI-compatible API (/v1/chat/completions, Bearer auth). Mystilink Agent can connect via a custom Provider or official template + Base URL override.

When to use which

ApproachBest for
Official template + URL overrideProxy to the same vendor (e.g. OpenAI gateway)
Custom ProviderOpenRouter, SiliconFlow, Groq, Together, Azure OpenAI, …

Set API Family to openai-compatible.

info

Anthropic and Gemini official APIs are not OpenAI-compatible — use their official templates.

Custom Provider steps

Settings → Models → New Provider

  1. Template: Custom provider
  2. Provider ID (e.g. openrouter), display name, API Family openai-compatible
  3. Default Base URL (include /v1, e.g. https://openrouter.ai/api/v1)
  4. API key → enable model discovery if supported → Create Provider
  5. Add model → test connection → model ID → save

Examples

ServiceBase URL
OpenRouterhttps://openrouter.ai/api/v1
SiliconFlowhttps://api.siliconflow.cn/v1
Groqhttps://api.groq.com/openai/v1
Togetherhttps://api.together.xyz/v1

Azure OpenAI: use your resource deployment URL; model ID = deployment name.

Checklist

  • Base URL path matches vendor docs (do not append /chat/completions)
  • Test connection succeeds
  • Model ID matches docs exactly

See also