AI Code With LogoAI Code With

RikkaHub × AI Code With

Use AI Code With in RikkaHub: third-party relay setup guide

Use AI Code With inside the RikkaHub Android client. Add a provider, pick the matching API type, enter your API key and Base URL, then manually add the models you want — Claude, GPT, Gemini, DeepSeek, GLM, Kimi, and more. This page covers the setup steps, model picker, and common errors.

Install RikkaHub on your Android device first, then add the AI Code With provider in Provider Settings; the API key is only entered in RikkaHub, never on this page.

Custom provider quick reference3 settings
API 类型
OpenAI
Base URL
https://api.aicodewith.ai/v1
API Key
sk-xxxxxxxx
Model
deepseek-v4-flash

Quick setup

Add AI Code With in RikkaHub's Provider Settings by picking the API type that matches your models (OpenAI / Anthropic Claude / Google Gemini), and use every model on Android in about 3 minutes.

RikkaHub is a native Android AI chat client. Add AI Code With in Provider Settings, manually add the models you want by API type, and every model is available in the chat screen — no plugin required, and no config files to edit.

  1. Download and install RikkaHub

    Download the latest APK from the official site, or search RikkaHub on Google Play. Open RikkaHub and complete the first-run setup.

    Open RikkaHub and tap the hamburger menu in the top left to open the sidebar.
  2. Add the AI Code With provider

    Tap the settings icon → Providers, tap the + button in the top right. At the top of the dialog, pick the API type (OpenAI / Claude / Google), enter a name (e.g., "AI Code With - OpenAI"), paste your AI Code With API key, and enter the matching Base URL. Save the provider.

    Quick copy

    Pick OpenAI as the API type (default Chat Completions format). Covers GPT, DeepSeek, GLM, Kimi, and more.

    Base URL

    https://api.aicodewith.ai/v1

    From the sidebar, open the Providers page and tap the + button in the top right to add a new provider.
    Pick the API type at the top of the dialog (matches the tabs below on this page), enter a name, your AI Code With API key, and the Base URL for that API type, then tap Add to save.
  3. Add a model manually

    After saving the provider, open its detail page and go to the Models tab. Tap + Add new model at the bottom. RikkaHub has no auto-fetch option, so you fill in the fields by hand: Model ID, display name, model type, input/output modality, abilities. The model picker below generates those values — tap a model card to see and copy them.

    Pick a model and view the fields

    RikkaHub has no fetch-model-list button, so its Add Model form has to be filled in by hand. Pick a model below and the fields you need are generated automatically.

    Tap a model card to see the values to enter in the Add Model form.

    GPT

    DeepSeek

    GLM

    Kimi

    The full model list and latest Model IDs follow the AI Code With pricing page; this site does not maintain a separate model list. Whether reasoning is supported has not been verified per model, so it is left unchecked by default — you can enable it yourself in RikkaHub if needed.

    After saving the provider, open its Models tab. There is no fetch-model-list button here — tap + Add new model to add one manually.
    In Basic Settings, enter the Model ID and Display Name (they must match the values generated in the model picker below), pick the model type, input/output modality, and abilities, then tap Add.
  4. Send a test message

    Go back to the home screen, tap the menu in the top left, select the model you just added, and send a test message. RikkaHub streams a normal reply if the connection works — then match the call by time and model name in AI Code With usage records.

    Go back to the chat screen, select the model you just added, and send a test message. A normal reply confirms the setup works.

How does RikkaHub connect to AI Code With?

RikkaHub ships with many built-in providers, but AI Code With is a third-party relay, so you add a custom provider. AI Code With's models are split across 3 API types, so pick the type that matches the models you want when adding the provider, then add each model manually:

Add a provider
Open Settings → Providers, tap the + button in the top right, pick the API type at the top of the dialog (OpenAI / Google / Claude), and enter a name, your API key, and the matching Base URL.
Add a model manually
RikkaHub's custom providers have no fetch-model-list option. After saving the provider, open its Models tab, tap + Add new model, and fill in the Model ID, display name, type, modality, and abilities using the model you picked below.
Send a test message
Go back to the chat screen, select the model you just added, and send a test message. A normal reply confirms the connection.

Flow: RikkaHub Android client → custom provider (per API type) → AI Code With API. Everything is configured inside RikkaHub, no files to edit.

Frequently asked questions

New to RikkaHub?

RikkaHub is a native Android AI chat client built with Kotlin and Jetpack Compose, with a Web UI also available.

RikkaHub official website

Download the latest APK directly from the official site, or search RikkaHub on Google Play for automatic updates.

Open the RikkaHub download page

Full install guidance follows the RikkaHub official docs; this site does not host RikkaHub installers or images.

Common error troubleshooting

The most frequent problems fall into 4 categories.

401 / Invalid API Key

Symptom: Sending a message returns 401, Unauthorized, or Invalid API Key.

Cause: Usually the API key is invalid, mistyped, or copied with extra characters.

  • Go back to Provider Settings and re-paste the API key (no extra spaces)
  • Confirm the key is a valid AI Code With API key
  • Save, then send a test message again

Model Not Found / Wrong Model ID

Symptom: Sending a message reports Model Not Found or an unknown model.

Cause: The Model ID entered in Add Model does not match the model marketplace, or the model does not belong to the provider's API type.

  • Check the Model ID in Add Model exactly matches the value generated in the model picker on this page (case and symbols included)
  • Confirm the model belongs to the provider's selected API type
  • Confirm the model is available on the AI Code With pricing page

Base URL error

Symptom: Sending a message fails.

Cause: The Base URL does not match the selected API type, or has a wrong path.

  • OpenAI API type uses https://api.aicodewith.ai/v1
  • Claude API type uses https://api.aicodewith.ai (no /v1)
  • Google API type uses https://api.aicodewith.ai/gemini_cli

Model added but can't select it, or no reply

Symptom: The model you just added doesn't show up in the chat picker, or you select it and send a message with no reply.

Cause: The model type, modality, or abilities don't match reality, or the provider is disabled.

  • Confirm Model Type is set to Chat in Add Model
  • Confirm the provider's enable toggle at the top of its detail page is on
  • Double-check the Model ID spelling and save again

Need the full guide?

Every config parameter, the complete model list, and more troubleshooting live in the AI Code With docs.

Open the AI Code With docs

Sources

Related links