Quick start

Make your first SrotGateway API call in 3 minutes.

View as Markdown

SrotGateway gives you AI models through one API that works like OpenAI's. You top up a prepaid balance (card from any country, or UPI and net banking in India, from ₹50) and each call is taken from that balance. There is no subscription.

1. Create an account and top up

  1. Create an account 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:

export SROT_API_KEY="sg-..."

3. Make a call

Base URL: https://api.srotgateway.com/v1

curl https://api.srotgateway.com/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, or call GET https://api.srotgateway.com/v1/models.

Next

Next: Python