---
title: OpenAI: O4 Mini High API | Text Generation | ModelsLab
description: Compact LLM excelling in math, coding, and visual reasoning with 200K context window, 100K max output, 142 t/s speed, and $1.1/$4.4 per M input/output tokens.[1][2][5]
url: https://modelslab.com/models/openai/openai-o4-mini-high/api.md
canonical: https://modelslab.com/models/openai/openai-o4-mini-high/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-28T08:05:51.381491Z
---

OpenAI: o4 Mini High
---

 [LLMs.txt](https://modelslab.com/models/open_router/openai-o4-mini-high/llms.txt) [.md](https://modelslab.com/models/openai/openai-o4-mini-high.md)

openai-o4-mini-high openai Closed Source Model $2.750000 / call

OpenAI: o4 Mini High
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### OpenAI: o4 Mini High

openai openai-o4-mini-high

Copy model ID

PricingInput $1.10 / 1M tokens

Output $4.40 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[OG](https://modelslab.com/models/open_router/openai-gpt-latest)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI GPT Latest

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-latest)

[GG](https://modelslab.com/models/open_router/google-gemma-3n-e2b-it-free)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemma 3n 2B (free)

Closed Source Model](https://modelslab.com/models/open_router/google-gemma-3n-e2b-it-free)

[GG](https://modelslab.com/models/open_router/google-gemma-3n-e4b-it-free)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemma 3n 4B (free)

Closed Source Model](https://modelslab.com/models/open_router/google-gemma-3n-e4b-it-free)

[OG](https://modelslab.com/models/open_router/openai-gpt-4o)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-4o

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-4o)

[MM](https://modelslab.com/models/open_router/mistralai-mistral-medium-3.1)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral Medium 3.1

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-medium-3.1)

[OO](https://modelslab.com/models/open_router/openai-o3-pro)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: o3 Pro

Closed Source Model](https://modelslab.com/models/open_router/openai-o3-pro)

[MM](https://modelslab.com/models/open_router/minimax-minimax-m2)[Open Router](https://modelslab.com/models/open_router)

 [MiniMax: MiniMax M2

Closed Source Model](https://modelslab.com/models/open_router/minimax-minimax-m2)

[Q3](https://modelslab.com/models/together_ai/Qwen-Qwen3.5-397B-A17B-FP8)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3.5 397B A17b Fp8

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3.5-397B-A17B-FP8)

[Q7](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-7B)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 7B

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-7B)

[MM](https://modelslab.com/models/open_router/mistralai-mistral-small-24b-instruct-2501)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral Small 3

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-small-24b-instruct-2501)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-next-80b-a3b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 Next 80B A3B Instruct

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-next-80b-a3b-instruct)

[AN](https://modelslab.com/models/open_router/amazon-nova-premier-v1)[Open Router](https://modelslab.com/models/open_router)

 [Amazon: Nova Premier 1.0

Closed Source Model](https://modelslab.com/models/open_router/amazon-nova-premier-v1)

[NH](https://modelslab.com/models/together_ai/NousResearch-Nous-Hermes-2-Mixtral-8x7B-DPO)[Together AI](https://modelslab.com/models/together_ai)

 [Nous Hermes 2 Mixtral 8X7B Dpo

Closed Source Model](https://modelslab.com/models/together_ai/NousResearch-Nous-Hermes-2-Mixtral-8x7B-DPO)

[OG](https://modelslab.com/models/open_router/openai-gpt-5-image-mini)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-5 Image Mini

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-5-image-mini)

[KK](https://modelslab.com/models/open_router/kwaipilot-kat-coder-pro-v2)[Open Router](https://modelslab.com/models/open_router)

 [Kwaipilot: KAT-Coder-Pro V2

Closed Source Model](https://modelslab.com/models/open_router/kwaipilot-kat-coder-pro-v2)

[Q3](https://modelslab.com/models/together_ai/Qwen-Qwen3-30B-A3B-Instruct-2507-Lora)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 30B A3B Instruct 2507 Lora

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-30B-A3B-Instruct-2507-Lora)

[CV](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-qwen-32B)[Together AI](https://modelslab.com/models/together_ai)

 [Cogito V1 Preview Qwen 32B

Closed Source Model](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-qwen-32B)

[DR](https://modelslab.com/models/deepseek/deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B)[ModelsLab](https://modelslab.com/models/deepseek)

 [DeepSeek R1 Distill Qwen 1.5B

Closed Source Model](https://modelslab.com/models/deepseek/deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B)

About OpenAI: O4 Mini High
---

OpenAI o4-mini-high is the same model as \[o4-mini\](/openai/o4-mini) with reasoningeffort set to high. OpenAI o4-mini is a compact reasoning model in the o-series, optimized for fast, cost-efficient performance while retaining...

### Technical Specifications

Model IDopenai-o4-mini-highCategoryLLM ModelsTaskText GenerationPrice$2.750000 per million tokensAddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate OpenAI: O4 Mini High into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "openai-o4-mini-high",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/openai/openai-o4-mini-high/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

OpenAI: O4 Mini High API costs $2.750000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Openai](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

OpenAI: O4 Mini High FAQ
---

### What is OpenAI: O4 Mini High?

OpenAI o4-mini-high is the same model as \[o4-mini\](/openai/o4-mini) with reasoning\_effort set to high. OpenAI o4-mini is a compact reasoning model in the o-series, optimized for fast, cost-efficient performance while retaining...

### How do I use the OpenAI: O4 Mini High API?

You can integrate OpenAI: O4 Mini High into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "openai-o4-mini-high" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does OpenAI: O4 Mini High cost?

OpenAI: O4 Mini High costs $2.750000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the OpenAI: O4 Mini High model ID?

The model ID for OpenAI: O4 Mini High is "openai-o4-mini-high". Use this ID in your API requests to specify this model.

### Does OpenAI: O4 Mini High have a free tier?

Yes, ModelsLab offers a free tier that lets you try OpenAI: O4 Mini High and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-28*