The OpenDunes API Gateway is OpenAI-Compatible
OpenDunes · June 9, 2026
The OpenDunes API gateway speaks the standard OpenAI schema. If your code already talks to OpenAI or OpenRouter, migrating is a two-line change: point the base URL at OpenDunes and swap in your dinar-funded key.
Built on Bifrost OSS, the gateway keeps parity with the request and response shapes your code already expects — no proprietary SDK, no rewrite.
The whole migration
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://opendunes.com/v1', // swapped
apiKey: process.env.OPENDUNES_API_KEY, // dinar-funded key
});
That's it. Your model names, parameters, and streaming logic stay exactly as they are.
Frequently Asked Questions
Does it add latency?
The gateway is hosted locally, so the handshake happens in-country; onward routing adds only a few milliseconds, imperceptible in streaming completions.
Which frameworks work?
Anything that targets the OpenAI API — the official Python and JS SDKs, LangChain, LlamaIndex, and more.
Migrate in five minutes. Generate an API key and swap your base URL today.