> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apiyi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RikkaHub

> Connect APIYI to RikkaHub on Android, configure providers, and use models

RikkaHub is an Android AI chat client that lets you configure multiple AI providers and switch models in a conversation. Connect APIYI to use models whose interface formats are compatible with your selected provider type.

## 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](https://docs.apiyi.com/en/faq/token-management.md) to get an API key.

### 2. Configuration Steps

![Provider entry in RikkaHub settings](https://mintcdn.com/apiyillc/iKGC_9EO0RivjD9O/images/rikkahub-settings-provider.jpg?fit=max\&auto=format\&n=iKGC_9EO0RivjD9O\&q=85\&s=99ba980b0c484ea3a93f43f8101c474c)

1. Open **Settings** in RikkaHub and select **Providers**.

2. Tap the **+** button in the top-right corner to add a provider.

3. Select **OpenAI** and make sure the provider is enabled.

4. 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`

5. Make sure **Response API** is disabled, then tap **Add**.

![RikkaHub provider list and add button](https://mintcdn.com/apiyillc/iKGC_9EO0RivjD9O/images/rikkahub-provider-list.jpg?fit=max\&auto=format\&n=iKGC_9EO0RivjD9O\&q=85\&s=f54e92a695f023bc36fb9d63e42be0f3)

![OpenAI-compatible provider configuration in RikkaHub](https://mintcdn.com/apiyillc/iKGC_9EO0RivjD9O/images/rikkahub-openai-chat-completions.jpg?fit=max\&auto=format\&n=iKGC_9EO0RivjD9O\&q=85\&s=9c368b379e4e29657a8b1a34e730ae49)

> [!NOTE]
>
> **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.

> [!WARNING]
>
> **Keep Response API disabled by default.** RikkaHub warns that many third-party providers do not support it. If you are unsure whether the service and model are compatible, leave it off.

![RikkaHub Response API option and in-app warning](https://mintcdn.com/apiyillc/iKGC_9EO0RivjD9O/images/rikkahub-response-api-warning.jpg?fit=max\&auto=format\&n=iKGC_9EO0RivjD9O\&q=85\&s=1de8f31e4a2e7687bef39dd73f434694)

## 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.

| Feature | OpenAI Compatible | Anthropic | Google Gemini |
| - | - | - | - |
| RikkaHub option | OpenAI | Claude | Google |
| APIYI Base URL example | `https://api.apiyi.com/v1` | Screenshot example: `https://api.apiyi.com/v1` | Screenshot example: `https://api.apiyi.com/v1beta` |
| Use with | Models using the OpenAI-compatible API | Claude and other Anthropic-format models | Gemini models |
| Starting point | Begin with Chat Completions | Configure the Claude provider | Configure the Google provider |

> [!TIP]
>
> **Which type should I choose?**
>
> * Choose **OpenAI** to switch between models that use the OpenAI-compatible API.
> * Choose **Claude** for Claude models using the Anthropic API format.
> * Choose **Google** for Gemini models using the native Gemini API format.

## 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 is `https://api.apiyi.com/v1`, and prompt caching is disabled by default.

![Claude provider configuration in RikkaHub](https://mintcdn.com/apiyillc/iKGC_9EO0RivjD9O/images/rikkahub-claude-provider.jpg?fit=max\&auto=format\&n=iKGC_9EO0RivjD9O\&q=85\&s=0f3dd2089847a8d90529eb5cc2e3fc9d)

> [!WARNING]
>
> **Use the Claude provider for Claude models only.**
>
> This provider uses the Anthropic API format. Other model families, or some request parameters, tools, and message content, may not be compatible and can cause failed requests or unexpected responses. Switch to the corresponding provider type, such as OpenAI Compatible, when using other models.

Before enabling prompt caching, confirm that the model and API support it. If unsure, leave it disabled. The Anthropic format differs from the OpenAI-compatible format, so do not mix their settings.

> [card] [Claude API Guide](https://docs.apiyi.com/en/api-capabilities/claude.md)
>
> Learn about the APIYI Claude format, Base URL, and request methods.

> [card] [Claude Prompt Caching](https://docs.apiyi.com/en/api-capabilities/claude-prompt-caching.md)
>
> 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 is `https://api.apiyi.com/v1beta`, and Vertex AI is disabled.

![Google provider configuration in RikkaHub](https://mintcdn.com/apiyillc/iKGC_9EO0RivjD9O/images/rikkahub-google-provider.jpg?fit=max\&auto=format\&n=iKGC_9EO0RivjD9O\&q=85\&s=b264d9e4c5da185627515d0605fa54b0)

Use this provider for the Gemini API format. Do not enter an OpenAI-compatible API path in the Google provider settings.

> [card] [Gemini Native API Guide](https://docs.apiyi.com/en/api-capabilities/gemini/native.md)
>
> See the Gemini native API format and configuration details.

## Adding Models

After configuring a provider, manage its model list in the **Models** section:

1. Expand the model section and try to fetch the model list.
2. If the model you need is missing, add its APIYI model ID manually.
3. Select the model in a chat and send a simple message to test it.

Model availability changes over time. Check the [Model Recommendations page](https://docs.apiyi.com/en/api-capabilities/model-info) and use a model available to your APIYI account.

> [!NOTE]
>
> 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](https://docs.apiyi.com/en/faq/base-url-config.md) 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

1. **Test a basic chat first**: Send a simple text message before changing other settings.
2. **Match the provider to the API format**: OpenAI, Claude, and Google use different formats.
3. **Choose models by task**: Use different models for chats, summaries, and title generation as needed.
4. **Protect your API key**: Never show the full key in screenshots, public chats, or shared content.

For more help, see the [API Key Management Tutorial](https://docs.apiyi.com/en/faq/token-management.md) or [Model Recommendations](https://docs.apiyi.com/en/api-capabilities/model-info).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.