Quick Integration (OpenAI Compatible Format)
The OpenAI-compatible format is a good way to get started. Begin with the default Chat Completions configuration to test the connection.1. Get an API Key
See the API Key Management Tutorial to get an API key.2. Configuration Steps

- Open Settings in RikkaHub and select Providers.
- Tap the + button in the top-right corner to add a provider.
- Select OpenAI and make sure the provider is enabled.
-
Enter the following settings:
- Name:
APIYI, or another name that is easy to recognize - API Key: Your APIYI API key
- API Base URL:
https://api.apiyi.com/v1 - API Path:
/chat/completions
- Name:
- Make sure Response API is disabled, then tap Add.


Configuration Notes
- Set the API Base URL to
https://api.apiyi.com/v1. - Set the API Path to
/chat/completions. Do not enter the full path in both fields. - For the first connection test, keep the default Chat Completions setting.

Comparing the Three Provider Types
OpenAI, Claude, and Google are separate provider types in RikkaHub. Choose the one that matches the model’s API format; do not mix settings between provider types.Claude Provider
To use a Claude model, select Claude when adding a provider, enter your API key, and choose a recognizable name. In the example configuration, the API Base URL ishttps://api.apiyi.com/v1, and prompt caching is disabled by default.

Claude API Guide
Learn about the APIYI Claude format, Base URL, and request methods.
Claude Prompt Caching
Learn when prompt caching applies and how it is billed.
Gemini Provider
To use a Gemini model, select Google when adding a provider, enter your API key, and choose a recognizable name. In the example configuration, the API Base URL ishttps://api.apiyi.com/v1beta, and Vertex AI is disabled.

Gemini Native API Guide
See the Gemini native API format and configuration details.
Adding Models
After configuring a provider, manage its model list in the Models section:- Expand the model section and try to fetch the model list.
- If the model you need is missing, add its APIYI model ID manually.
- Select the model in a chat and send a simple message to test it.
You can switch models from within a conversation. RikkaHub also lets you set separate default models for features such as title generation and summarization.
Advanced Features
RikkaHub also supports multimodal input such as images and documents, as well as web search, MCP, and Skills. Available capabilities depend on the selected model, provider API, and RikkaHub configuration.- Images and documents: Use a model that supports the input type you want to process.
- Web search: Configure a search service to bring web information into conversations.
- MCP and Skills: Connect tools or extensions; availability depends on their configuration.
Troubleshooting
Unable to Connect
- Check that the API key is correct and active.
- Make sure the API Base URL matches the provider type.
- For the OpenAI-compatible format, start with the default Chat Completions setting.
404 or Endpoint Not Found
- Check whether the Base URL or API Path is missing a path segment or contains a duplicate one.
- Make sure the provider type matches the model’s API format.
- See the Base URL Configuration Guide for common path differences.
Model List Is Empty
- Try fetching the model list again.
- Check that your API key has permission to use the model.
- Add the exact model ID manually if needed.
Response API Request Fails
Disable Response API and test with the default Chat Completions configuration.Usage Tips
- Test a basic chat first: Send a simple text message before changing other settings.
- Match the provider to the API format: OpenAI, Claude, and Google use different formats.
- Choose models by task: Use different models for chats, summaries, and title generation as needed.
- Protect your API key: Never show the full key in screenshots, public chats, or shared content.