Before you start
You need an AIOHub account with a positive balance. For the first test, use the OpenAI-compatible API, then switch formats when a client requires Claude Messages, Responses, or Gemini API endpoints.First request in four steps
Open the console
Sign in to the AIOHub Console. Confirm that your account has a positive balance in wallet management. If you need to add funds, see Add funds.
Create an API key
Open API key management and create an API key that starts with
sk-. Use one API key per tool when you want separate limits and usage logs.Verify available models
Request the model list first. This confirms that your API key, balance, and group access are valid.A successful response returns the models visible to the groups assigned to the current API key.
Choose an API format
| Use case | Base URL | Endpoint |
|---|---|---|
| OpenAI SDK / general tools | https://api.aiohub.org/v1 | POST /chat/completions |
| Codex CLI | https://api.aiohub.org/v1 | POST /responses |
| Anthropic SDK / Claude Code | https://api.aiohub.org | POST /v1/messages |
| Gemini CLI | https://api.aiohub.org | POST /v1beta/models/{model}:generateContent |
| Gemini REST / Google SDK | https://api.aiohub.org/v1beta | POST /models/{model}:generateContent |
Next steps
Choose a client
Configure Claude Code, Codex CLI, Gemini CLI, OpenAI-compatible apps, or chat clients.
Understand groups
Confirm that the groups assigned to your API key can access the target model.
Read the API overview
Compare formats, auth headers, and supported endpoint families.
Troubleshoot errors
Fix authentication failures, insufficient balance, network issues, and model availability errors.