# YiduoChan API > YiduoChan is an independent MiniMax API relay, not the model vendor. Its gateway software is new-api (QuantumNous). The public pages below describe API setup, token groups, current pricing sources and a documented coding experiment. OpenAI-compatible base URL: https://api.yiduochan.com/v1 Claude Code ANTHROPIC_BASE_URL: https://api.yiduochan.com Model ID featured on the homepage: MiniMax-M4 API calls require an API key and sufficient account balance. Availability and prices depend on the model and token group. Check live prices rather than inferring them from old examples. Capability compatibility is not identical to every OpenAI or Anthropic feature. ## Product and pricing - [中文产品与接入说明](https://api.yiduochan.com/): M4, token groups, setup and frequently asked questions - [English product and setup](https://api.yiduochan.com/en/): M4, token groups, setup and frequently asked questions - [Live model pricing](https://api.yiduochan.com/pricing): current model and group prices - [Public pricing JSON](https://api.yiduochan.com/api/pricing): current configured rates and group multipliers ## Detailed guides on the main domain - [MiniMax M4](https://yiduochan.com/minimax/m4/): model setup and pricing explanation - [M4 中文指南](https://yiduochan.com/zh/minimax/m4/): 中文接入与计费说明 - [Claude Code](https://yiduochan.com/minimax/claude-code/): Anthropic-compatible client integration - [Python and Node.js](https://yiduochan.com/minimax/openai-sdk-python-node/): OpenAI SDK integration - [MiniMax model directory](https://yiduochan.com/minimax/): other model guides; check live availability ## Original experiment - [Lantern Crossing experiment](https://api.yiduochan.com/en/case-studies/m4-lantern/): full prompt, attempts, timing, tokens and manual fixes. Direct MiniMax upstream experiment, not a gateway billing or latency benchmark - [千灯渡实验记录](https://api.yiduochan.com/case-studies/m4-lantern/): 中文完整记录 - [Compact measurements](https://api.yiduochan.com/case-studies/m4-lantern/evidence.json): non-secret request measurements and output hashes ## Agent integration and policies - [Agent guide](https://api.yiduochan.com/agents.md): wallet and x402 integration - [Agent OpenAPI](https://api.yiduochan.com/api/agent/openapi.json): agent-specific API schema, not the entire inference API - [Agent manifest](https://api.yiduochan.com/.well-known/agent.json): live discovery metadata - [Terms](https://api.yiduochan.com/user-agreement) - [Privacy](https://api.yiduochan.com/privacy-policy) Support: support@yiduochan.com Content last checked: 2026-12-04. Live pricing is authoritative for rates.