Skip to main content
Use this page for apps that explicitly support OpenAI-compatible, OpenAI API compatible, Custom OpenAI Endpoint, or Override OpenAI Base URL settings. Most apps need three values: an AIOHub API key, an OpenAI-compatible Base URL, and a model name.
Do not set the Base URL to https://api.aiohub.org/v1/chat/completions. The client appends /chat/completions, /responses, or another route itself.

Tools that use a different guide

Use the dedicated page when a client asks for Anthropic, Claude Messages, Gemini, Responses, or app-specific provider fields:

Client quick reference

Continue example

For models where Continue automatically uses the Responses API, you can force Chat Completions when that is what you want:
Do not use that switch for Codex CLI or workflows that need native Responses behavior. Use the Codex CLI setup instead.

Aider example

You can also store these values in .aider.conf.yml.

Verify with curl

Check API key and model visibility first:
Then test Chat Completions:
If both calls work but the client fails, check whether the client has duplicated path segments or forced the request to an unsupported endpoint.

Troubleshooting

The Base URL is usually https://api.aiohub.org/v1, not a full endpoint. If the error includes /v1/v1 or /chat/completions/chat/completions, remove the extra path segment.
Query /v1/models or check the console model list. Groups assigned to the API key control visible models, and a client’s built-in model list may not match AIOHub availability.
Generic OpenAI-compatible clients usually use Chat Completions. Confirm the selected model, group, and client all support tool/function calling. Verify plain messages first.
Codex CLI is designed around the Responses API. A generic OpenAI-compatible client that only supports /chat/completions may not support the full Codex model behavior.

Official configuration references