Skip to content

What Is a Relay?

A relay sits between your tool and the target AI service provider. It receives requests from your client, forwards them through the configured service path, and returns the model response in a format your tool understands.

Already Familiar?

If you already know how OpenAI-compatible relay services work, you can skip to Create an API Key.

Why a Relay Helps

AdvantageDetails
Dedicated operations24/7 status monitoring, timely issue handling, and ongoing service quality optimization.
Lower access costScaled operations and cost optimization can make AI coding tools easier to adopt.
One account, many toolsUse the same account across Claude Code, Codex CLI, Gemini CLI, and more supported tools.
Familiar integrationKeep using OpenAI-compatible clients by changing only the endpoint, key, and model name.

How It Works

text
Your tool or client
        |
        v
Potato API relay
        |
        v
AI service provider

Potato API acts as the middle layer:

  1. Receives your request from an OpenAI-compatible client.
  2. Authenticates the request with your API key.
  3. Forwards the request to the target AI service provider.
  4. Returns the model response to your client.

Transparent Experience

For day-to-day use, the relay should feel close to using an official endpoint: your tool sends a request, receives a response, and continues the workflow without extra manual steps.

What Changes

ItemOfficial EndpointPotato API Relay
Base URLOfficial provider URLhttps://www.potatoai.cc/v1
API keyProvider keyPotato API key
Model accessProvider account permissionsPotato API account and token permissions
BillingProvider billingPotato API balance and quota

Security Practices

Security Principles

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

Who It Is For

Potato API is designed for developers who want a simpler way to use AI coding tools:

  • Individual developers testing and building with AI tools.
  • Startup teams that need predictable access and support.
  • Enterprise users who need centralized account and quota management.

Next Steps

After understanding the relay concept, continue with:

  1. Register an Account
  2. Create an API Key
  3. Read the FAQ