OpenAI
Online
Hot

GPT-4o mini

Small, fast, and affordable. Excellent for lightweight tasks.

Model ID: gpt-4o-mini

Specifications

Context Window

128K tokens

Max Output

16.4K tokens

Input Price

$0.14 / 1M

Output Price

$0.54 / 1M

Capabilities

Chat
Code
Vision
Functions
JSON Mode

Price Comparison

See how much you save compared to official pricing.

MetricOfficial PriceOur PriceSavings
Input (per 1M tokens)$0.15$0.1410% off
Output (per 1M tokens)$0.60$0.5410% off

Quick Start

Use this model via our OpenAI-compatible API endpoint.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.yourdomain.com/v1",
  apiKey: "sk-your-api-key",
});

const response = await client.chat.completions.create({
  model: "gpt-4o-mini",
  messages: [
    { role: "user", content: "Hello! What can you help me with?" },
  ],
  max_tokens: 1024,
});

console.log(response.choices[0].message.content);

Pricing Summary

Input$0.14 / 1M
Output$0.54 / 1M
Start for Free

$2 free credit on signup

Provider

OpenAI

OpenAI

Creators of GPT and DALL-E, pioneering AI research.

Visit website
GPT-4o mini - TokenFast | TokenFast