Quickstart
The gateway is OpenAI-compatible. Point your existing SDK at our base_url with your am_live key. Streaming, tool use, and images work as you expect.
Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.alphamarvin.com/v1",
api_key="am_live_...", # from your dashboard, shown once
)
r = client.chat.completions.create(
model="gpt-5.4",
messages=[{"role": "user", "content": "Namaste"}],
)
print(r.choices[0].message.content)curl
curl https://api.alphamarvin.com/v1/chat/completions \
-H "Authorization: Bearer am_live_..." \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-oss-120b","messages":[{"role":"user","content":"hi"}]}'Images
curl https://api.alphamarvin.com/v1/images/generations \
-H "Authorization: Bearer am_live_..." \
-H "Content-Type: application/json" \
-d '{"model":"gpt-image-1-mini","prompt":"a mumbai local at dusk","n":1}'Models and INR prices
curl https://api.alphamarvin.com/v1/models -H "Authorization: Bearer am_live_..." # each model carries inr_pricing extension fields in paise
Billing: your wallet is debited per request from the live rate card after the response completes. The only condition that ever blocks a request is an exhausted wallet beyond the ₹200 grace buffer. Provider errors fail over automatically.