Skip to main content

What Is Mira Network?

Mira Network SDK is your unified interface to the world of AI language models, providing a seamless way to integrate multiple language models while offering advanced routing, load balancing, and flow management capabilities.

What You Get

  • One unified API — a single, OpenAI-style chat/completions endpoint for every model.
  • Model routing — switch between models by name; no provider-specific code.
  • Streaming — token-by-token responses for real-time interfaces.
  • Usage tracking & credits — every request is metered against one balance you can monitor.
  • Python SDK + REST — an async-first mira-network client, or plain HTTP for any language.

How It Compares

Mira NetworkPer-provider integration
ModelsOne API for manyA separate API for each
Switching modelsChange one stringRe-integrate each provider
BillingOne credit balanceSeparate invoices
Response formatConsistent across modelsDiffers per provider
StreamingBuilt inPer-provider handling

What You’ll Need

  1. Python 3.8+ to use the SDK — or any HTTP client to call the REST API directly.
  2. A Mira API key — sign up at console.mira.network and create a key (keys start with sk-mira-).
  3. Credits on your account to cover model usage.

Next Steps

Install the SDK

Install and configure the Mira Network Python SDK.

Quickstart

Make your first API call in a few minutes.