Private & Sovereign AI. Your AI, your control. Explore
Private AI

Open models.
One API.
Pay by token.

Build with open-weight models through a single OpenAI-compatible API. Menlo Park handles model serving, infrastructure and usage metering, so your developers can build AI applications without managing GPUs.

Start with the models and usage your application needs. Explore dedicated capacity as demand grows.

  • Usage-based billing
  • Not used for model training
  • OpenAI-compatible
YOUR APPAPI KEYRESPONSE + USAGEPRIVATE INFERENCELANGUAGE MODELEMBEDDINGSVISION · SPEECHISOLATED ENVIRONMENTNOT USED FOR TRAININGTOKENS METEREDINPUTOUTPUTCACHED INPUTPER 1M TOKENS

Private models, without the infrastructure project.

Running models privately usually starts with GPUs, serving software and an operations team. Most teams need private model access long before that investment makes sense.

No GPUs to manage

Access managed model inference without building and maintaining your own GPU infrastructure.

Choose the right model

Use open-weight models such as Kimi, Qwen and Llama. Select based on quality, performance and the needs of your application.

Know what you spend

Track input and output tokens by model and project, with clear usage reporting and model-specific pricing.

Scale when you’re ready

Start with usage-based inference. Explore committed volumes or dedicated capacity as your workload becomes more predictable.

Model names are examples of publicly released open-weight models, not confirmed MPAI-hosted offerings. Your model catalogue is agreed with you.

How a request works.

AUTHENTICATECHECK LIMITSRUN PRIVATELYMETER TOKENSREPORT
  1. AuthenticateEach request carries a scoped API key, tied to one project. Keys can be rotated or revoked at any time.
  2. Check limitsRate limits and the project budget are checked before any model is called.
  3. Run privatelyThe selected model processes the request in an isolated environment operated by Menlo Park.
  4. Meter tokensInput and output tokens are counted and returned in the response, so every call shows its own usage.
  5. ReportUsage appears by key, project and model in your dashboard and on a monthly statement.

How token billing works.

A token is a small piece of text that a model reads or writes. Every request is measured in tokens, and usage is billed per million tokens at a rate set for each model.

What a token looks like
EN
Summarise this contract in three key points.
8
JA
この契約書を3点で要約してください。
11

Illustrative split. Exact counts depend on each model's tokenizer, and every API response reports them.

  • Input tokensEverything you send: instructions, documents and conversation history.
  • Output tokensEverything the model writes back. Usually priced higher than input.
  • Cached inputRepeated instructions or context at the start of a request, billed at a lower rate.
Monthly inference estimatorExplore publicly released model families and estimate token volumes.
Example open-weight modelQwen3.8-27BAlibaba · China
Published licenseApache 2.0
Billing days
Input / month0
Output / month0
Total / month0
Estimated monthly costPricing not yet set

Illustrative calculations only. Actual token counts depend on each model’s tokenizer. These are publicly released model candidates, not confirmed MPAI-hosted offerings.

Get a quote for this volume

Three ways to pay. One API.

Start per token, commit to a volume once usage is steady, or reserve capacity for high and predictable demand. Your code stays the same.

01

Pay as you go

Per-token billing with no minimum commitment.

  • Billed per million input and output tokens
  • Monthly statement or prepaid credits
  • Shared capacity with rate limits per key

Best for pilots, new applications and variable traffic.

02

Committed volume

A monthly token commitment in exchange for lower rates.

  • Lower per-token rates
  • Higher rate limits
  • Usage above the commitment billed per token

Best for applications in steady production.

03

Dedicated capacity

Model instances reserved for you alone, billed by capacity.

  • Predictable latency and throughput
  • Single-tenant isolation
  • Option to host a fine-tuned model

Best for high, steady volume or strict isolation.

When does dedicated capacity make sense?

Per-token cost grows with volume. Dedicated capacity costs the same whether it is busy or idle. For steady, high-volume workloads it can cost less per token, and we compare both options in every quote.

  • Batch processingSend large jobs asynchronously at a reduced rate when results are not needed right away.
  • Prompt cachingRepeated instructions and context are billed at the cached-input rate.
  • Right-sized modelsRoute simple tasks to smaller models and keep larger models for work that needs them.
MONTHLY COSTMONTHLY TOKENS →PAY PER TOKENDEDICATED CAPACITYDEDICATED BECOMESMORE ECONOMICAL

Illustrative, not to scale.

Per-model rates, limits and terms are set out in your API access proposal.

Models for real work, not just chat.

One API covers the model types that enterprise applications need. The catalogue is agreed with you and updated as better open-weight models are released.

Language & reasoning

/v1/chat/completions

Drafting, summarising, extraction and agents, including models evaluated for Japanese.

Embeddings

/v1/embeddings

Vectors for search, RAG and classification over your own documents.

Reranking

/v1/rerank

Reorder search results by relevance before they reach the model.

Vision & documents

/v1/chat/completions

Read scans, forms, charts and photos with vision-language models.

Speech to text

/v1/audio/transcriptions

Transcribe calls and meetings in Japanese and English.

Pinned versions

Every model is pinned by version, so outputs do not change underneath your application. Retirements are announced in advance.

Change two lines. Keep your code.

Applications built on OpenAI-style APIs usually only need a new base URL, a key and a model name.

  • Works with existing OpenAI client libraries for Python and JavaScript, and with frameworks such as LangChain and LlamaIndex
  • Streaming responses for chat interfaces
  • Structured JSON output and tool calling, where the model supports them
  • Token usage in every response, and rate-limit headers on every call
  • A sandbox key to test with your own prompts before going live
import os
from openai import OpenAI

client = OpenAI(
    base_url=os.environ["MPAI_BASE_URL"],   # your Private Inference endpoint
    api_key=os.environ["MPAI_API_KEY"],     # scoped project key
)

resp = client.chat.completions.create(
    model="MODEL_ID",   # from your model catalogue
    messages=[{"role": "user", "content": "Summarise this contract."}],
)

print(resp.usage)   # prompt_tokens, completion_tokens, total_tokens
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: process.env.MPAI_BASE_URL,   // your Private Inference endpoint
  apiKey: process.env.MPAI_API_KEY,     // scoped project key
});

const resp = await client.chat.completions.create({
  model: "MODEL_ID",
  messages: [{ role: "user", content: "Summarise this contract." }],
});

console.log(resp.usage);
curl $MPAI_BASE_URL/chat/completions \
  -H "Authorization: Bearer $MPAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MODEL_ID",
    "messages": [{"role": "user",
      "content": "Summarise this contract."}]
  }'
Example response
{
  "id": "chatcmpl-…",
  "choices": [ … ],
  "usage": {
    "prompt_tokens": 412,
    "completion_tokens": 128,
    "total_tokens": 540
  }
}

Private by design, and in writing.

Data commitments are part of your agreement, not a setting someone can change later.

Not used for training

Prompts, files and outputs are never used to train or improve models.

Retention you decide

Request content is processed and discarded by default. Logging is switched on only when you ask for it.

A known location

The hosting region is stated in your agreement, so you know where requests are processed.

Encrypted

Traffic is encrypted in transit, and anything stored is encrypted at rest.

Scoped access

Separate keys per project and environment, IP allowlists, and single sign-on for the console.

Isolation options

Shared capacity with tenant separation, or dedicated instances for full isolation.

Built for production.

Clear rate limits

Requests and tokens per minute are set per key. Limits are returned in response headers, and a request over the limit gets a 429 with a retry time.

Usage you can trace

Usage by key, project, model and day in the dashboard, with export for your own reporting and chargeback.

Budgets and alerts

Monthly caps per project, with alerts as usage approaches them, so spend never surprises you.

Stable model versions

Pinned versions, documented changes and advance notice before a model is retired.

Agreed service levels

Availability and support terms are part of your agreement.

Private connectivity

Connect over the public internet with TLS, or over a private network link where your policies require it.

Which Private AI option fits?

The API, the gateway and a full Private AI deployment solve different problems. Many organizations use more than one.

Start by the token. Move later without rewriting.

Every option uses the same OpenAI-compatible interface, so an application built on the API can move to dedicated capacity or into your own environment by changing its endpoint.

PAY PER TOKENDEDICATED CAPACITYYOUR ENVIRONMENTSAME OPENAI-COMPATIBLE API

From first call to production.

  1. 01Scoping callUse cases, expected volume, languages and data requirements.
  2. 02Proposal and agreementModels, hosting region, data terms, rate limits and per-model rates.
  3. 03Sandbox keyTest with your own prompts and documents, and see real token counts.
  4. 04ProductionProduction keys, budgets, monitoring and monthly billing.

Frequently asked questions

A token is a piece of text, often part of a word. Models read your input and write their output in tokens, so usage is measured in tokens. Every API response reports the exact counts.

Usually yes. Japanese often takes more tokens per character than English, and the ratio differs by model. Your sandbox key shows real counts for your own documents.

Pay-as-you-go usage is billed per million input and output tokens, at the rate for each model, on a monthly statement or from prepaid credits. Committed volume and dedicated capacity are invoiced as agreed.

No. Prompts, files and outputs are not used to train or improve any model, and this is written into your agreement.

In most cases, yes. Applications that use OpenAI-style APIs usually only need a new base URL, key and model name.

Requests over a rate limit receive HTTP 429 with a retry time. When a project budget is reached, requests stop or you are alerted, depending on the setting you choose.

The API gives you access to models that we run. The gateway is software in your environment that governs every model your teams use, and it can include this API as one of them.

Yes. The same OpenAI-compatible API is available on dedicated capacity and in a Private AI deployment, so applications move without being rewritten.

Start building on private models.

Tell us about your use case and expected volume. We will set up a sandbox key and quote rates for the models you need.