
Mika Android AI Agent: Custom API Base URL, Key and Model Setup
In Mika, open Settings › Model, choose Custom (自定义), pick a protocol (OpenAI-compatible, Anthropic, Gemini or OpenAI Responses), then enter the endpoint, key and model.
Set up Cherry Studio, LobeChat, Dify, n8n, Open WebUI and other clients with an API key and a base URL.

In Mika, open Settings › Model, choose Custom (自定义), pick a protocol (OpenAI-compatible, Anthropic, Gemini or OpenAI Responses), then enter the endpoint, key and model.

Request access, then register an HTTPS endpoint through the Admin API with anthropic-beta: webhooks-2026-10-07 to receive user-profile enforcement events.

Create a customer with POST /v1/user_profiles, save its returned ID, and send that ID in the anthropic-user-profile-id header on subsequent Claude API requests.

base_url: Change the API Address and KeyChange base_url and api_key in the OpenAI Python SDK via code or environment variables, and fix /v1 404s, 2.34.0 Missing credentials, and Cloudflare 403 blocks.

OpenAI Prompt-to-Voice is free when creating a voice via POST /v1/audio/voices, while audio playback is billed at standard GPT-Live session rates.