Routeway Logo
Back to Models
OpenAI

GPT-4o-mini

Available
5% offA 5% discount applies to input and output token pricing only.

Description

GPT-4o mini is OpenAI's newest model (released July 18, 2024), following GPT-4 Omni. It supports both text and image inputs, producing text outputs. As OpenAI's most advanced small model, it offers state-of-the-art intelligence at a fraction of the cost—over 60% cheaper than GPT-3.5 Turbo—making it vastly more affordable than other recent frontier models

At a Glance

Key pricing and model details available for this model.

Input price

$0.16$0.15

per 1M tokens

Output price

$0.63$0.60

per 1M tokens

Context window

128K

tokens

Hallucination rate

1.7%

Token Pricing

Token pricing normalized to per-million-token rates.

Input / 1M tokens

$0.16$0.15

Output / 1M tokens

$0.63$0.60

Cache Read / 1M tokens

$0.08

Token Pricing Details

Rates are shown per 1M tokens for easier comparison.

Input / 1M tokens$0.15
Input unit1M tokens
Output / 1M tokens$0.60
Output unit1M tokens
Cache Read / 1M tokens$0.08
Cache Read unit1M tokens

Feature Availability

Capabilities explicitly listed in the current payload.

LLM

Available

Yes

Vision

Available

Yes

Function calling

Available

Yes

Reasoning

Not listed

No

Supported Parameters

frequency_penalty
logit_bias
max_completion_tokens
presence_penalty
reasoning_effort
response_format
stop
temperature
tool_choice
tools
top_p

Artificial Analysis

Index scores currently reported for this model.

Intelligence Index

12.6

Math Index

14.7

Category Radar

Aggregated from the benchmark values present for reasoning, code, math, and accuracy.

Benchmark Breakdown

Detailed benchmark results drawn from the current payload.

Intelligence Index

index

Overall 'how smart' score for an AI, combining reasoning, math, coding, and knowledge.

12.6

Reported score

Math Index

index

Composite score measuring mathematical reasoning and problem-solving.

14.7

Reported score

MMLU-Pro

reasoning

A broad and difficult knowledge-and-reasoning benchmark across many subjects.

64.8%

Reported score

GPQA

reasoning

Graduate-level science questions designed to be difficult to shortcut.

42.6%

Reported score

HLE

reasoning

A very hard expert-level exam across a wide range of subjects.

4%

Reported score

LiveCodeBench

code

Fresh programming tasks meant to test current coding ability.

23.4%

Reported score

SciCode

code

Coding tasks drawn from real scientific workflows.

22.9%

Reported score

MATH-500

math

A set of difficult competition-style math problems.

78.9%

Reported score

AIME

math

Advanced math competition questions.

11.7%

Reported score

AIME 2025

math

The 2025 AIME benchmark used to reduce data leakage concerns.

14.7%

Reported score

IFBench

accuracy

Measures how precisely the model follows detailed instructions.

31%

Reported score

Code Samples

Quick start with the Routeway API

import OpenAI from 'openai';

const openai = new OpenAI({
  baseURL: "https://api.routeway.ai/v1",
  apiKey: "<YOUR_API_KEY>",
});

async function main() {
  const completion = await openai.chat.completions.create({
    model: "gpt-4o-mini",
    messages: [
      {
        role: "user",
        content: "Explain quantum computing in simple terms"
      }
    ]
  });

  console.log(completion.choices[0].message);
}

main();