# OpenAI o3-mini - Core.Today AI API > Efficient reasoning model that delivers strong performance at lower cost. Ideal for tasks requiring reasoning without the overhead of larger models. - **Provider**: OpenAI - **Model ID**: o3-mini - **Category**: LLM - **Credits**: 2 per 1K tokens (avg) - **Speed**: Fast - **Quality**: High ## Model Specifications - **Context Window**: 200K tokens - **Max Output**: 100K tokens - **Training Cutoff**: 2024-10 - **Supported Formats**: text, markdown, json - **Compatible SDK**: OpenAI ### Capabilities - Vision (image input) - Function Calling - Streaming - JSON Mode - System Prompt ### Token Pricing (per 1M tokens) - **Input Tokens**: 2,044 credits ($1.36) - **Output Tokens**: 8,175 credits ($5.45) ## Features - Efficient reasoning capabilities - 200K context window - 100K max output tokens - Cost-effective - Fast inference ## Use Cases - Code generation and debugging - Mathematical reasoning - Logical analysis - Data processing - Educational tools ## API Endpoint Base URL: https://api.core.today Endpoint: POST /llm/openai/v1/chat/completions ## Authentication Header: Authorization: Bearer YOUR_API_KEY Note: LLM endpoints use OpenAI-compatible format with Authorization Bearer token. ## Input Parameters ### Required - **messages**: array - Array of message objects ### Optional - **max_completion_tokens**: integer - Maximum tokens for completion - **reasoning_effort**: string - Reasoning depth level Options: minimal, low, medium, high ## Examples ### Logical Reasoning Solve a logical reasoning problem ```json { "model": "o3-mini", "messages": [ { "role": "user", "content": "If all roses are flowers and some flowers fade quickly, can we conclude that some roses fade quickly? Explain your reasoning step by step." } ], "max_completion_tokens": 8000, "reasoning_effort": "medium" } ``` ## Response Format ```json { "id": "chatcmpl-abc123", "object": "chat.completion", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Response text here" }, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 100, "completion_tokens": 50, "total_tokens": 150 } } ``` ## Tips - Use reasoning_effort to control speed vs depth tradeoff - Best for tasks requiring step-by-step reasoning - More cost-effective than o3 for simpler reasoning tasks - Use max_completion_tokens instead of max_tokens ## Documentation https://platform.openai.com/docs/models