<!-- GENERATED BY scripts/gen_markdown_twins.py; source: guides/lobechat/index.html -->

# Use LobeChat with Chinese AI models through ChinaAPI.

> Configure LobeChat's OpenAI provider with ChinaAPI's proxy URL for DeepSeek, Kimi, Qwen, GLM, and MiniMax chat models.

- Canonical page: https://chinaapi-ru.com/guides/lobechat/
- Human-readable page: https://chinaapi-ru.com/guides/lobechat/
- Live pricing: https://dash.chinaapi-ru.com/pricing?utm_source=chinaapi&utm_medium=markdown&utm_campaign=lobechat

Set LobeChat's OpenAI provider to ChinaAPI's proxy URL and chat with official-price Chinese model families using one OpenAI-compatible key.

[Start free — $2 credit](https://dash.chinaapi-ru.com/register?utm_source=chinaapi&utm_medium=web&utm_campaign=guide-lobechat)

[Live model pricing](https://dash.chinaapi-ru.com/pricing)

## Before configuring LobeChat.

### LobeChat access

Use LobeChat Cloud or your self-hosted LobeChat instance with provider settings enabled.

### ChinaAPI key

Create an `sk-...` token in Dashboard -> Console -> Tokens.

## Configure the OpenAI provider.

- Open LobeChat settings, then go to AI Providers.

- Locate the OpenAI provider section and enable it if needed.

- Paste your ChinaAPI token into the OpenAI API key field.

- Set the OpenAI proxy URL, endpoint, or custom API base field to `https://api.chinaapi-ru.com/v1`. The exact label varies between Cloud, desktop, and self-hosted builds.

- Add model IDs manually if your LobeChat build does not fetch them from the provider. Start with `deepseek-v4-flash`, `kimi-k2.6`, or `qwen3.7-plus`.

- Create a new chat and select one of the ChinaAPI model IDs.

## Use a short in-tool prompt.

```
Reply in one sentence: LobeChat is using ChinaAPI for Chinese models.
```

If the in-tool request fails, verify the key with curl:

```
curl https://api.chinaapi-ru.com/v1/chat/completions \
  -H "Authorization: Bearer sk-..." \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen3.7-plus","messages":[{"role":"user","content":"Say LobeChat is connected."}],"stream":true}'
```

## Good LobeChat defaults.

For current model details and rate evidence, review [DeepSeek-V4 Flash](https://chinaapi-ru.com/models/deepseek-v4-flash/) and [Qwen3.7 Plus](https://chinaapi-ru.com/models/qwen3.7-plus/) before choosing a production default.

### `deepseek-v4-flash`

Fast chat, coding help, and general assistant usage.

### `qwen3.7-plus`

Balanced reasoning, planning, and multimodal-friendly work.

### `kimi-k2.6`

General Kimi model for long chat context and planning.

### `glm-5.1`

Strong GLM option for reasoning, coding, and agent-style chat.

### `MiniMax-M2.7`

Efficient MiniMax model for lower-latency chat workflows.

## Common LobeChat issues.

Thinking models such as `qwen3.7-max` can generate reasoning tokens before visible output. Enable streaming if your LobeChat build exposes it, or raise proxy/client timeout settings in self-hosted deployments.

**Model not found:** check [live pricing](https://dash.chinaapi-ru.com/pricing) and enter the exact ID in LobeChat's model list.

**401:** make sure the API key starts with `sk-`, is saved under the OpenAI provider, and is paired with the ChinaAPI proxy URL.

## Try Chinese chat models with $2 free credit.

ChinaAPI uses gateway-synchronized USD token rates that may follow providers' official China list prices where configured. Check the live pricing page for exact current IDs and availability.

[Register — $2 credit](https://dash.chinaapi-ru.com/register?utm_source=chinaapi&utm_medium=web&utm_campaign=guide-lobechat)

[Live pricing](https://dash.chinaapi-ru.com/pricing)

---

Markdown twin of https://chinaapi-ru.com/guides/lobechat/ — generated from its canonical HTML by scripts/gen_markdown_twins.py. Full site reference: https://chinaapi-ru.com/llms-full.txt
