openrouterVision
Auto Router
Your prompt will be processed by a meta-model and routed to one of dozens of models (see below), optimizing for the best possible output. To see which model was used,...
Context
2M tokens
Input / 1M tokens
$-1000000
Output / 1M tokens
$-1000000
Benchmark
—
Pricing
Input tokens$-1000000 per 1M tokens
Output tokens$-1000000 per 1M tokens
Technical details
Model IDopenrouter/auto
Context window2M tokens
Input modalitiestext, image, audio, file, video
Output modalitiestext, image
TokenizerRouter
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: 'openrouter/auto',
messages: [{ role: 'user', content: 'Hello!' }],
})