openrouterVision

Auto Code

Try in chat →

Auto Code is OpenRouter’s router built specifically for coding agents and harnesses. It uses the same routing engine as the [Auto Router](https://openrouter.ai/openrouter/auto), with every request treated as part of an...

Context
2M tokens
Input / 1M tokens
$-1000000
Output / 1M tokens
$-1000000
Benchmark
—

Uptime & performance

Loading…

Pricing

Input tokens$-1000000 per 1M tokens
Output tokens$-1000000 per 1M tokens

Apps and activity

Loading…

Technical details

Model IDopenrouter/auto-code
Context window2M tokens
Input modalitiestext, image, audio, file, video
Output modalitiestext, image
TokenizerRouter
Max output tokens64,000

Use with MegaBrain

import OpenAI from 'openai'

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

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

Ready to use Auto Code?

Try it in the browser first, then get an API key and start making requests in minutes.