Claude Code is an agentic coding tool from Anthropic. Since model deployments on MaaS-Base are compatible with the Anthropic API, you can easily connect Claude Code to your MaaS-Base deployment and use it for code generation tasks. In this guide, we will walk through the steps to integrate Claude Code with MaaS-Base and test the integration by asking Claude to create a Flappy Bird game.
!!! note
In this guide, a single NVIDIA H200 GPU is used to serve the `Qwen3-Coder-Next` model with FP8 quantization.
In the MaaS-Base UI, navigate to the Model Catalog page.
Search for Qwen3-Coder-Next and deploy the model using the default configuration.
Hover over the user avatar and navigate to the API Keys page, then click Add API Key.
Enter a name, then click Save.
Copy the API key and save it for later use.
Follow the Claude Code documentation to install Claude Code on your system.
To easily switch between different model providers, you can use CC-Switch or similar tools. This step is optional—you can also configure Claude Code manually or use another tool of your choice.
Install CC-Switch following its documentation.
Open CC-Switch and add a custom provider with the following settings:
MaaS-BaseConfigure all models to use qwen3-coder-next.
Create a new directory and start Claude Code:
mkdir flappybird && cd flappybird
claude
Verify that the configuration is correct by using the /status command.
Ask Claude to create a Flappy Bird game:
Write a Flappy Bird game.
In this guide, we successfully integrated Claude Code with MaaS-Base and used it to generate a Flappy Bird game. You can now explore more complex coding tasks with Claude Code and leverage the power of MaaS-Base for efficient model serving.