Skip to content

What Is a Gateway?

(Experienced users can skip this page.)

A gateway is a bridge between you and the target AI service provider. It brings several practical benefits.

Main Benefits

No Proxy Required

You can access and use AI services directly without proxy tools. This lowers the entry barrier and makes setup easier for more developers.

Dedicated Operations

  • 24/7 service monitoring
  • Timely issue handling
  • Regular service-quality optimization
  • Technical support

Lower Cost Than Official Pricing

Through scaled operations and cost optimization, Xiaomai API can provide more affordable pricing than official channels.

One Account for Many Services

One account can access multiple tools:

  • Claude Code
  • CodeX
  • Gemini CLI
  • More tools in the future

How It Works

text
Your computer <-> Xiaomai API Gateway <-> AI service provider

        local access             upstream service

Xiaomai API acts as the middle layer:

  1. Receives your request
  2. Forwards it to the AI service provider
  3. Returns the result to you

The process is transparent from your perspective, and the usage experience is close to the official service.

Security

Note

  • We do not store your code content
  • API keys are only used for authentication
  • Data transmission is encrypted
  • Data privacy requirements are respected

Ready to Use

Our service goal is to make AI coding tools easy to use for:

  • Individual developers
  • Startup teams
  • Enterprise users

You can find a suitable setup path on Xiaomai API.

Next Steps

Friendly, practical, and reliable AI coding support