# 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.

Source: https://goiapi.com/en/docs/quickstart

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.

## 1. Create an account

[Sign up](https://goiapi.com/en/signup) with email or Google, then verify your email.

## 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](https://goiapi.com/en/pricing).

## 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-…`.

## 4. Make a test call

OpenAI format:

```bash
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:

```bash
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](https://goiapi.com/en/models) or call [`GET /v1/models`](https://goiapi.com/en/docs/list-models).

## Next steps

- Use it with tools: [Claude Code](https://goiapi.com/en/docs/integrations/claude-code), [Cursor](https://goiapi.com/en/docs/integrations/cursor), [Cline / Roo Code](https://goiapi.com/en/docs/integrations/cline), [Codex CLI](https://goiapi.com/en/docs/integrations/codex).
- Call it from code: [OpenAI SDK](https://goiapi.com/en/docs/integrations/openai-sdk), [Anthropic SDK](https://goiapi.com/en/docs/integrations/anthropic-sdk).
- When something fails: [Error codes](https://goiapi.com/en/docs/error-codes).
