/v1/audio/speechText to speech| Rate | USD per unit |
|---|---|
| InputText | $0.000015 USD per character |
mai-voice-2-flashMicrosoft MAI-Voice-2 Flash text-to-speech. Billed per input character.
Status information temporarily unavailable
Apertis cannot confirm the current service state. This is not a report that the model is down.
Base rates shown at GroupRatio=1. Your account's group multiplier may change the final charge.
/v1/audio/speechText to speech| Rate | USD per unit |
|---|---|
| InputText | $0.000015 USD per character |
Actual settled usage is deducted from your Apertis credit quota.
Select an endpoint and copy a working example for this model.
from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.apertis.ai/v1") response = client.chat.completions.create( model="mai-voice-2-flash", messages=[ {"role": "user", "content": "Hello!"} ], max_tokens=1024, temperature=0.7) print(response.choices[0].message.content) # Optional: Enable context compression to reduce token usage# response = client.chat.completions.create(# model="mai-voice-2-flash",# messages=[{"role": "user", "content": "Hello!"}],# extra_body={"compression": {"enabled": True, "model": "gpt-4.1-mini"}}# )modelinputvoiceresponse_formatspeedinstructionsstream_formatUse these namespaced identifiers in Cursor IDE to avoid conflicts with built-in models.
See how this model compares to others from the same provider.