OpenAI: sora-2

sora-2 is OpenAI's general-purpose model. Text input. Served over 2 channels — same weights, same context window as going direct.

Modalities
inTextoutVideo
Price / 1M
$0.00 / $0.00
Context
Knowledge cutoff

Channels

Same weights on every channel. Requests route to the cheapest healthy one; the channel used is printed on each billing line.

Provider
Discount
Input /M
Output /M
Cache Read /M
Cache Create 5m /M
Cache Create 1h /M
Codexcheap
$0.00
$0.00
Defaultstable
$0.00
$0.00

Quick Start

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

resp = client.chat.completions.create(
    model="sora-2",
    messages=[{"role": "user", "content": "Hello"}],
)
Wire sora-2 into your product

1M free tokens to start · no card · OpenAI-compatible, one base_url change

Start free