mb-autoVision
Auto Efficient
Routes to a cost-efficient model via the connected subscription when available, falling back to paid routing automatically.
Context
1M tokens
Input / 1M tokens
$0.33
Output / 1M tokens
$1.95
Benchmark
—
Pricing
Input tokens$0.33 per 1M tokens
Output tokens$1.95 per 1M tokens
Cache read$0.03 per 1M tokens
Cache write$0.41 per 1M tokens
ImageFree per image
Technical details
Model IDmb-auto/efficient
Context window1M tokens
Input modalitiestext, image
Output modalitiestext
TokenizerOther
Max output tokens65,536
Use with MegaBrain
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/efficient',
messages: [{ role: 'user', content: 'Hello!' }],
})