AI Rate Card

Input, $/1M $0.50

Output, $/1M $6.00

Context —

Accepts —

Last checked 04.11.2026 12:00:14 UTC

Source —

Price alerts

Sign in to follow the price

API

OpenAI-compatible API: the official OpenAI SDKs work with this base URL. Replace YOUR_API_KEY with your key from the provider.

API base URL
https://api.302.ai/v1
Endpoint
https://api.302.ai/v1/audio/speech
Model id
gemini-3.8-flash-lite-tts
curl
curl https://api.302.ai/v1/audio/speech \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gemini-3.8-flash-lite-tts", "input": "Hello!", "voice": "alloy"}'
Python
import requests

r = requests.post(
    "https://api.302.ai/v1/audio/speech",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
      "model": "gemini-3.8-flash-lite-tts",
      "input": "Hello!",
      "voice": "alloy"
    },
)
print(r.json())
JavaScript
const r = await fetch("https://api.302.ai/v1/audio/speech", {
  method: "POST",
  headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
  body: JSON.stringify({
    "model": "gemini-3.8-flash-lite-tts",
    "input": "Hello!",
    "voice": "alloy"
  }),
});
console.log(await r.blob());
Request (JSON)
{
  "model": "gemini-3.8-flash-lite-tts",
  "input": "Hello!",
  "voice": "alloy"
}
Response (JSON)
audio bytes (audio/mpeg)

The address is taken from the provider's model list; check it against the provider's documentation.

Provider's API documentation

Source: AI Rate Card, https://airatecard.com/en/c/offer%3A302ai%7Cgemini-3.8-flash-lite-tts, prices checked 2026-11-04

Technical details

ID: offer:302ai|gemini-3.8-flash-lite-tts