Back to Models

o4-mini-2025-04-16

openai/o4-mini-2025-04-16
OpenAI Chat

Description

o4-mini-2025-04-16 by OpenAI. This model supports chat capabilities.

Specifications

Pricing

Input Cost:
2.20 Credits / 1M tokens
Output Cost:
8.80 Credits / 1M tokens

Usage Example

const { Client } = require('ai-proxy-sdk');

const client = new Client({
  consumerKey: process.env.BITMESH_CONSUMER_KEY,
  consumerSecret: process.env.BITMESH_CONSUMER_SECRET,
  baseUrl: process.env.BITMESH_API_BASE_URL || 'https://api.bitmesh.ai'
});

const response = await client.chat.completions.create({
  model: 'openai/o4-mini-2025-04-16',
  messages: [
    { role: 'system', content: 'You are a helpful assistant.' },
    { role: 'user', content: 'What are some fun things to do with AI?' }
  ],
  max_tokens: 1000
});