OpenAI-Compatible Gateway
OpenAI-compatible AI gateway
MoleAPI uses the OpenAI API format, so you can switch from OpenAI or add new models without rewriting your code.
If your code already works with the OpenAI API, it works with MoleAPI. Change the base URL and API key, and you instantly get access to Claude, Gemini, and other models through the same interface.
Same request and response format as OpenAI. Your existing code works as-is.
Access non-OpenAI models (Claude, Gemini, etc.) without learning new APIs.
If OpenAI raises prices or has outages, switch to another model with one parameter change.
Recommended next steps
FAQ
What if I only use OpenAI models? Is MoleAPI still useful?
Yes. Even with just OpenAI, you get centralized key management, usage tracking, and the option to try other models later without any migration work.
Are there any API differences I should know about?
MoleAPI follows the OpenAI API spec closely. For most use cases, there is no noticeable difference. Check the docs for model-specific details.