We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

Pareto Code Router

openrouter/pareto-code
TextInput: textToolsReasoning2MAdded Apr 21, 2026

Try Pareto Code Router now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

Pareto Code Router at a glance

  • Input price is 33233% higher than the median of 434 Text models.
  • Context window of 2,000,000 tokens, enough for long documents and multi-turn conversations.
  • Supports tool (function) calling for agents and integrations.
  • Supports structured JSON output with a schema.
  • Supports reasoning effort control.
  • A typical request (1,000 input / 500 output tokens) costs about $1.58.

About Pareto Code Router

Pareto Code Router is a text model from OpenRouter, distributed through api14 under the model id openrouter/pareto-code. It sits in the text category, so it is built for language work rather than image, audio or video generation. The name reflects how the model is put together: it is a router that maintains a tiered shortlist of strong coding models, ranked by Artificial Analysis coding percentiles. In other words, you are not calling a single fixed checkpoint but a routing layer that selects among coding-focused models according to their measured coding performance.

The model accepts text input and returns text output. Its context window is 2,000,000 tokens, which is large enough to hold entire repositories, long documentation sets or extended conversation histories in a single request. The provider description does not list a maximum output value, so treat output length as something to control through your request parameters rather than a documented fixed ceiling. Supported parameters include the usual sampling controls (temperature, top_p, top_k, min_p, top_a, repetition_penalty, frequency_penalty, presence_penalty), determinism aids (seed, logit_bias, logprobs, top_logprobs), and output shaping options (stop, max_tokens, max_completion_tokens, response_format, structured_outputs, verbosity). It also supports tool use through tools, tool_choice and parallel_tool_calls, and exposes reasoning controls via reasoning, reasoning_effort and include_reasoning.

Those capabilities point to a fairly specific set of use cases. The large context window suits codebase-level tasks: refactoring across many files, answering questions about a whole project, or generating changes that must stay consistent with existing code. Tool calling and structured outputs make it a reasonable fit for agentic coding workflows, where the model needs to invoke functions, read results and return machine-parseable payloads. The reasoning parameters are useful when you want the model to spend more effort on hard problems, and the seed plus sampling controls help when you need reproducible generations for testing or evaluation harnesses.

Calling it through api14 works like any other OpenAI-compatible model. Point your client at the api14 base URL, use your api14 key, and set the model field to openrouter/pareto-code. Because the surface is OpenAI-compatible, existing SDKs and libraries generally work without changes; you send a chat completions request with a messages array and add whichever of the supported parameters you need. The full parameter list above is available on the request, including the reasoning and tool-related fields, so you can tune behavior per call rather than being locked into defaults.

One practical consideration is routing itself. The provider description mentions a min_coding_score setting between 0 and 1, configured through the pareto-router plugin, which controls how the shortlist is filtered. If your task is not coding-related, or if you need a model with a documented maximum output length or non-text input modalities, another model may fit better. For text-based coding work where a very large context and tunable reasoning matter, this model is a sensible default to evaluate.

How to call the Pareto Code Router API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "openrouter/pareto-code".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.chat.completions.create({
  "model": "openrouter/pareto-code",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_completion_tokensmax_tokensmin_pparallel_tool_callspresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_atop_ktop_logprobstop_pverbosity

Specifications

Context length
2,000,000
Input
text
Output
text

Requests on api14 · last 7 days

10-1710-1810-1910-2010-2110-2210-23

Pareto Code Router: frequently asked questions

How much does the Pareto Code Router API cost?
Pareto Code Router costs Input $525.00 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of Pareto Code Router?
Pareto Code Router reads up to 2,000,000 tokens per request: prompt, history and documents together.
What can Pareto Code Router do?
Pareto Code Router accepts text and returns text. It supports tool calling, structured JSON output, reasoning effort control.
How do I call Pareto Code Router from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openrouter/pareto-code". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Pareto Code Router?
Comparable Text models at a similar price: TypeSafe: Jev Router, NVIDIA: Switchyard, OpenRouter: Fusion. Each runs through the same API key, so switching is one string.

Pareto Code Router community

New topic

This community has no topics yet. Open the first one about Pareto Code Router.