Overview
To meet developers’ needs for leveraging the Anthropic API ecosystem, our API now supports accessing all models via the Anthropic API interface.It supports 200+ LLMs, including 7 free models.
Quick Start
Install the Anthropic SDK
API Usage
Endpoint:https://aihubmix.com/v1/messages
Compatibility Notes
Supported Parameters
When integrating via the Anthropic API, the following input parameters are supported:Supported Message Types
Usage Example
Using GPT-5.2 in Claude Code
Although any supported model can be used via AIHubMix, for the best experience we recommend high-capability models such as gpt-5.2 or glm-4.7.1. Install and Configure Claude Code
Refer to the Claude Code installation guide: https://docs.aihubmix.com/cn/api/Claude-Code2. Connect Claude Code to AIHubMix
Claude configuration file:.claude/settings.json
AIHUBMIX_API_KEY with your actual AIHubMix API key.
3. Start a Conversation
Navigate to your project directory and launch Claude Code:4. Verification
You can verify the connection by running the/status command in Claude Code:
Last updated: 2026-06-01