openrouter

Pareto Code Router

The Pareto Router maintains a tiered shortlist of strong coding models, ranked by [Artificial Analysis](https://artificialanalysis.ai/) coding percentiles. Set min_coding_score between 0 and 1 on the [pareto-router plugin](https://openrouter.ai/docs/guides/routing/routers/pareto-router#the-min_coding_score-parameter) to control how...

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/pareto-code
Context window2M tokens
Input modalitiestext
Output modalitiestext
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/pareto-code',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use Pareto Code Router?

Get an API key and start making requests in minutes.

Get an API key