Platform
Pricing
One INR wallet pays for LLM, TTS and STT under one API key. You pay for what you use, at a price per plain unit, and every charge appears as a line in your usage.
Units
Per 1M tokensLanguage models and embeddings, with separate input and output prices
Per minute of audioSpeech-to-text, on the length of the audio you send
Per 1K charactersText-to-speech, on the text you send
Per requestFlat-priced endpoints
A voice agent has no price of its own. Each turn of a call is charged as its speech-to-text, language model and text-to-speech parts, at the prices of the models the agent uses.
Your rate card
Prices are per account: if you have negotiated prices, the rate card shows them. See it in the dashboard under Rate card, or fetch it:
curl https://api.inferexai.in/v1/pricing \
-H "Authorization: Bearer sk-live-your-key-here"
{
"currency": "INR",
"tax": "Prices exclude GST. GST is added when you top up your wallet.",
"models": [
{
"model": "<model name>",
"type": "llm",
"unit": "per_1m_tokens",
"unit_label": "per 1M tokens",
"input": 65,
"output": 254
},
{
"model": "<model name>",
"type": "stt",
"unit": "per_minute",
"unit_label": "per minute of audio",
"input": 0.33
}
]
}
A model with a negotiated price also carries custom_price: true and the list price as list_input / list_output.
GST
Prices exclude GST. GST is added when you top up your wallet, and the tax invoice for that top-up shows it. Usage is then deducted from your wallet at the prices on your rate card.
What a request cost
A charged request returns what it cost and your balance afterwards, in rupees, as response headers:
HTTP/1.1 200 OK
X-Inferex-Charge: 0.00180
X-Inferex-Balance: 498.20
Streamed responses do not carry these headers, because the charge is known only when the stream ends. The charge and the balance after it are always on the usage line.
Safe retries
Send an Idempotency-Key header on chat, embeddings, speech and intent requests. If you repeat the same request with the same key within 24 hours, you get the stored response back with Idempotent-Replayed: true, and you are charged once.
curl https://api.inferexai.in/v1/chat/completions \
-H "Authorization: Bearer sk-live-your-key-here" \
-H "Idempotency-Key: order-8421-summary" \
-H "Content-Type: application/json" \
-d '{"model": "<model name>", "messages": [{"role": "user", "content": "Summarise this order."}]}'
Same key, same requestThe stored response is returned. Nothing runs, nothing is charged.
Same key, different request409 idempotency_key_reused
Same key while the first is still running409 idempotency_in_progress
First response was streamed or larger than 512 KB409 idempotency_not_replayable
First attempt failed with a server errorThe key is released; retry with the same key.