Docs contents

Quickstart

Create an account, top up with USDT, create an API key and call your first model through GoiAPI in a few minutes, with curl, an SDK or Claude Code.

Ask AI and more
View as Markdown

You need three things: an account with a balance, an API key, and the API address https://api.goiapi.com. Then call models the same way you call the OpenAI or Anthropic API.

Step 1: Create an account

Sign up with email or Google, then verify your email.

Step 2: Top up

Open Top up in the dashboard and pay with USDT (TRC20 or BEP20) or Binance Pay. You can top up 5 to 4,000 USDT at a time, and 1 USDT adds 1 USD to your balance once the payment is confirmed. Top-ups are final and cannot be refunded, so only add what you plan to use. See per-model prices on Pricing.

Step 3: Create an API key

Open API Keys, create a key and copy it right away: it is shown only once. Keys look like sk-….

Step 4: Make a test call

OpenAI format:

Terminal
curl https://api.goiapi.com/v1/chat/completions \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"model": "claude-haiku-5-5", "messages": [{"role": "user", "content": "Hello"}]}'

Anthropic format:

Terminal
curl https://api.goiapi.com/v1/messages \
  -H "x-api-key: <API_KEY>" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model": "claude-haiku-5-5", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}]}'

Replace claude-haiku-5-5 with the model you want. Find model names on Models or call GET /v1/models.

Next steps