Language model

The language model behind every agent, served on our own GPUs in India.

Mira LLM is Google’s open Gemma 4 26B on the inference engine we wrote. It decides what an agent says on every call, and it speaks OpenAI’s chat completions when you call it yourself.

Get an API key
The Mira LLM package on the models’ board, close up. An illustration.
The stack’s models layer, drawn on its own. An illustration, not a photograph.
to the first token on live calls, median
97 ms
of prompt tokens from the prefix cache
86%

A voice agent reads the same prompt every turn, so our engine reads it once.

The prompt, the tools and the conversation so far repeat on every turn of a call. The engine keeps them cached, which is why the first token arrives fast and why cached input costs less.

The inference engine: streaming lanes, a batch block and the prefix cache, one lane in gold.

86%of prompt tokens are read from the prefix cache

831 prompt tokens for every second of talk · 31,911 production calls, 18 to 26 Nov 2026

cached input
₹9.30
input
₹15

per 10 lakh tokens

It calls your tools the OpenAI way, and this is a real call.

  1. System

    You book service visits. Today is Friday, 2026-08-22. Resolve relative days against today. Confirm nothing you have not been told.

  2. Caller

    कल शाम को koi slot mil jaayega kya? Mujhe चार बजे के बाद hi convenient hai, naam Rakesh Sharma.

  3. Mira LLM · tool call

    book_slot({
      date: "2026-08-23",
      name: "Rakesh Sharma",
      time_window: "16:00-18:00"
    })
Prompt
200 tokens
Answer
50 tokens
Answered in
0.68 s
Cost
under 1 paisa
One request on 30 November 2026: the tool-call example from our docs, and the model’s own answer.
curl https://sandbox.voice.miraiminds.co/v2/chat/completions \
  -H "Authorization: Bearer $MIRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "mira-llm",
  "messages": [
    {
      "role": "system",
      "content": "You book service visits. Today is Friday, 2026-08-22. Resolve relative days against today. Confirm nothing you have not been told."
    },
    {
      "role": "user",
      "content": "कल शाम को koi slot mil jaayega kya? Mujhe चार बजे के बाद hi convenient hai, naam Rakesh Sharma."
    }
  ],
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "book_slot",
        "description": "Book a service visit.",
        "parameters": {
          "type": "object",
          "properties": {
            "date": {
              "type": "string",
              "description": "The visit date as YYYY-MM-DD."
            },
            "time_window": {
              "type": "string",
              "description": "A window as HH:MM-HH:MM, 24-hour clock."
            },
            "name": {
              "type": "string",
              "description": "The customer name, if they have said it."
            }
          },
          "required": [
            "date",
            "time_window"
          ]
        }
      }
    }
  ],
  "tool_choice": "auto"
}'

The API is OpenAI’s chat completions, with the limits a phone call needs.

Route
POST /v2/chat/completionsOpenAI’s request and response
Model
mira-llmruns Google’s open Gemma 4 26B
Context
32,768 tokensmessages, tools and the reply together
Tools
Up to 16 a requesta tool_calls array, streamed too
Reply
400 tokens by defaultup to 8,192
Output
Text, or JSON to your schemastreamed as server-sent events
Runs
On our own GPUs in India
Access
Inside every agenton its own: talk to us and we switch it on

The LLM is priced by the token, and a cached prompt costs less.

  • ₹15input

    per 10,00,000 tokens · $0.15

  • ₹9.30cached input

    per 10,00,000 tokens · $0.093

  • ₹55output

    per 10,00,000 tokens · $0.55

PlanMonthlyRoom
Pay as you goNo commitment1,000 requests a minute
Business₹50,000 a month, credited to your wallet5,000 requests a minute

On its own, the LLM is switched on for a workspace on request. Monthly commitments are credited to your wallet. Unused credit never expires. All prices exclude GST. The LLM is billed in rupees; dollars are for reference.

Get an API key LLM API docs

On a call, all of it runs inside one agent price: ₹11 a minute at volume. See agent pricing

Questions

Questions people ask about Mira LLM.

What is Mira LLM?

The language model that decides what a Voice Infra agent says. It is Google’s open Gemma 4 26B, served on our own inference engine and our own GPUs in India, and it runs inside every agent.

How fast is it on a call?

On production calls Mira LLM returns its first token in 97 ms (median), and 86% of the prompt tokens it reads are already in the engine’s prefix cache. The whole reply, from the caller’s last word to the first sound, takes about 850 ms end to end.

Can I call Mira LLM on its own?

On request. It runs inside every Voice Infra agent today. On its own it speaks OpenAI’s chat completions and is priced by the token; talk to us and we switch it on for your workspace.

Does it work with the OpenAI SDK?

Yes. It answers on POST /v2/chat/completions with OpenAI’s request and response, so the openai package and any framework with an OpenAI integration work with a new base URL and the model name mira-llm. It streams, calls tools and returns JSON to a schema.

What does it cost?

₹15 input, ₹9.30 cached input and ₹55 output per 10,00,000 tokens, from the same prepaid wallet as your calls. All prices exclude GST.

How much context does it take?

A context of 32,768 tokens for the messages, the tools and the reply together, with up to 16 tools a request. A reply is 400 tokens by default and can go up to 8,192.

Have a question we did not answer?

Book a 15-minute call with Sneh, the founder. Bring your script or a call you find hard to automate.

Book a 15-minute call

Get an API key with ₹200 of credit.

One key for speech, transcription and agents. ₹200 of credit to try them.

Talk with agent

Just your mic. No phone number.

  1. AI agents: Pay as you go is ₹5 a minute, with our phone line and call insights included. At volume, the ₹1,50,000 a month plan is ₹1 a minute, and ₹1.50 with our phone line (₹0.30) and call insights (₹0.20). Prices exclude GST.

  2. Models are priced on their own, never at an agent call's rate: text to speech at ₹0.90 a minute connected on the WebSocket or ₹1.80 per 1,000 characters over HTTP, speech to text at ₹0.30 a minute of audio, and the LLM by the token. Monthly commitments are credited to your wallet. Unused credit never expires. The LLM is billed in INR; USD amounts are for reference. All prices exclude GST.

Book a 15-minute call

With Sneh Mehta, founder · Google Meet

Loading the calendar…

Calendar by Cal.com New tab