MegaBrainSees images

Auto

mb-auto/plan

Picks the model for you: the strongest frontier model (Claude) while your plan’s frontier limits have room, then MegaBrain Core (open models such as GLM and Kimi) until they reset. Without a plan it uses MegaBrain Core, paid from credits in the desktop app.

Context
1M tokens
Input, 1M tokens
$3.34
Output, 1M tokens
$17
Benchmark
—

Uptime and speed

Loading…

Pricing

Charged from your prepaid balance for the tokens actually used.

Input tokens$3.34 per 1M tokens
Output tokens$17 per 1M tokens

Apps and activity

Loading…

Technical details

Model IDmb-auto/plan
Context window1M tokens
AcceptsText, Images
ProducesText
TokenizerOther
Max output tokens64,000

How to connect

The API is OpenAI-compatible: the official SDKs, LangChain and any client with a "base URL" field work.

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: 'mb-auto/plan',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Questions

How much does the Auto API cost?

$3.34 per 1M input tokens and $17 per 1M output tokens, charged from a prepaid US-dollar balance for the tokens actually used. There is no subscription.

What is the context window of Auto?

1,000,000 tokens (1M), with up to 64,000 tokens in one reply.

How do I call Auto through the API?

Send an OpenAI-compatible request to https://getmegabrain.com/api/gateway/v1/chat/completions with "model": "mb-auto/plan" and your MegaBrain API key as a Bearer token. The official OpenAI SDKs, LangChain and any client with a base URL setting work; the same key also reaches image and video models.

What input does Auto accept?

It accepts Text and Images and produces Text.

Can I try Auto before paying?

Sign-up is free and open to everyone. Adding a card (nothing is charged) gives $1.00 of credit to try any model; after that every model is charged from a balance you top up by card.

Start using Auto

Create an account, top up from $10, get a key in your dashboard and send your first request.