Skip to content

Overview

OpenAI-compatible API for Mixen AI. Drop-in: point any OpenAI client at this base URL and use your Mixen key — nothing else changes.

from openai import OpenAI

client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
resp = client.chat.completions.create(
    model="gpt-5.5",
    messages=[{"role": "user", "content": "Hello!"}],
)
  • AuthAuthorization: Bearer mxn-.... Create keys in your cabinet.
  • Billing — from your Mixen balance.
  • Rate limit — 60 requests/min per key by default (429 + Retry-After).
  • Endpointschat/completions, images/generations, audio/speech (TTS), audio/transcriptions (STT), embeddings, models.
  • ModelsGET /models returns the live catalog with display names, pricing (RUB + USD, identical to what is charged) and capabilities. Pass the id (or a common OpenAI/Claude/Gemini name, e.g. gpt-4o, claude-opus) in the model field.

Information

  • OpenAPI version: 3.1.0

Security scheme type: http

Bearer format: mxn-...