https://api.meliai.ai/v1, set your sk-mel-<KEY> API key, and everything from chains and agents to streaming route handlers keeps working exactly as before, now routed across sovereign European infrastructure.
LangChain
Use
ChatOpenAI with a custom base_url to connect LangChain chains, agents, and memory to Meliai.Vercel AI SDK
Use the
@ai-sdk/openai provider with a custom baseURL in Next.js route handlers and server actions.n8n
Configure the OpenAI Chat Model node in n8n with your Meliai API key and base URL to run AI workflows.
OpenAI SDK
Already using the OpenAI Python or Node.js SDK? Set
base_url to Meliai and you’re done.Anthropic SDK
The Anthropic Python and Node.js SDKs work with Meliai’s
/v1/messages endpoint out of the box.Any OpenAI-compatible client
Meliai follows the OpenAI API shape, so any client library, proxy, or tool that lets you configure a base URL will work. The general pattern is:- Set the base URL to
https://api.meliai.ai/v1 - Set the API key to your
sk-mel-<KEY>value
Meliai also supports the Anthropic Messages API shape at
/v1/messages. Point any Anthropic-compatible client at https://api.meliai.ai and use your sk-mel-<KEY> as the API key.