# Quick start

> Make your first SrotGateway API call in 3 minutes, paid in rupees with UPI.

Source: https://srotgateway.in/docs/quick-start/

SrotGateway gives you AI models through one API that works like OpenAI's. You top up in rupees (UPI, cards or net banking, from ₹50) and each call is taken from that balance.

## 1. Create an account and top up

1. [Create an account](https://srotgateway.in/signup/) and confirm your email.
2. Open **Billing** and add credit. ₹50 is enough to try every model.

## 2. Create an API key

Open **API keys** and click **Create key**. Copy it straight away: it is shown only once. Keys start with `sg-`.

Keep the key secret. Put it in an environment variable, not in your code:

```bash
export SROT_API_KEY="sg-..."
```

## 3. Make a call

Base URL: `https://api.srotgateway.in/v1`

```bash
curl https://api.srotgateway.in/v1/chat/completions \
  -H "Authorization: Bearer $SROT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "deepseek-v4.1-flash-fast", "messages": [{"role": "user", "content": "Hello"}]}'
```

The reply has the same shape as OpenAI's, including a `usage` block with the token counts you are charged for.

## Models

Use one of these IDs in the `model` field: `deepseek-v4.1-flash-fast`, `minimax-m3.1-flash`, `kimi-k3.1-pro`. The full list with ₹ prices is on [Pricing](https://srotgateway.in/pricing/), or call `GET https://api.srotgateway.in/v1/models`.

## Next

- [Python](https://srotgateway.in/docs/python/), [JavaScript](https://srotgateway.in/docs/javascript/), [curl](https://srotgateway.in/docs/curl/)
- [Cursor](https://srotgateway.in/docs/cursor/), [Cline](https://srotgateway.in/docs/cline/), [n8n](https://srotgateway.in/docs/n8n/)
- [Use streaming for long answers](https://srotgateway.in/docs/streaming/)
- [Errors and limits](https://srotgateway.in/docs/errors-and-limits/)
