O

o1-mini-2024-09-12

4k ContextTextPopular

OpenAI's o1-mini-2024-09-12 - compact and efficient with budget-friendly pricing. focused AI solutions.

Pricing / 1M
USD
Input$0.88
Output$3.52
Context Window
4ktokens
Avg Latency
450ms

Capability Radar

Compare with Claude 3

About o1-mini-2024-09-12

"Specialized capabilities"

o1-mini-2024-09-12 is OpenAI's budget-friendly model featuring focused context window (4K). Specialized capabilities, this model delivers purpose-built for specific tasks.

Key Strengths

  • Specialized capabilities
  • Best price-to-performance ratio
  • Fast inference with efficient resource usage
  • OpenAI SDK compatible
  • Production-ready reliability

🎯 Best Use Cases

  • Real-time chatbots and customer support
  • High-volume content moderation
  • Quick classification and tagging
  • High-volume API processing
  • Cost-sensitive production applications

Technical Specifications

Context Window
4K
Max Output
4,096 tokens
Knowledge Domain
Chat, Text
Provider
OpenAI

Quick Start Guide

example.tsTypeScript
import OpenAI from "openai";

const openai = new OpenAI({
  baseURL: "https://api.okrouter.com/v1",
  apiKey: "<YOUR_OKROUTER_KEY>",
});

async function main() {
  const completion = await openai.chat.completions.create({
    model: "o1-mini-2024-09-12",
    messages: [
      { role: "user", content: "Hello! What can you do?" }
    ],
  });

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

main();

Getting started with o1-mini-2024-09-12 is easy. Since OkRouter is fully compatible with the OpenAI SDK, you can use existing libraries to access this model immediately. o1-mini-2024-09-12 is fully compatible with the OpenAI Chat Completions API. distinctive features include Standard context handling and Text support.

Interactive Playground

Parameters Setup

0.7

Controls randomness: Lowering results in less random completions.

Return data chunks as they arrive

request.js
import OpenAI from "openai";

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

const completion = await client.chat.completions.create({
  model: "o1-mini-2024-09-12",
  messages: [{ role: "user", content: "Hello world!" }],
  temperature: 0.7,
  stream: true,
});

Frequently Asked Questions

?How much does o1-mini-2024-09-12 cost?

o1-mini-2024-09-12 costs $0.88 per 1M input tokens and $3.52 per 1M output tokens via OkRouter. This is 20% cheaper than OpenRouter with the same great performance.

?Is o1-mini-2024-09-12 compatible with OpenAI SDK?

Yes! o1-mini-2024-09-12 works seamlessly with all OpenAI SDKs (Python, JavaScript, Go, etc.). Simply change your base_url to api.okrouter.com and use your OkRouter API key. No code changes needed.

?What is o1-mini-2024-09-12 best used for?

o1-mini-2024-09-12 excels at real-time chatbots and customer support, high-volume content moderation, quick classification and tagging. It's budget-friendly and perfect for high-volume production workloads.