o1-mini API
openai/o1-mini
Retired by OpenAI. Requests now route to openai/gpt-5.4-mini.
Code Examples
from blockrun_llm import LLMClient
client = LLMClient() # Uses BLOCKRUN_WALLET_KEY (never sent to server)
response = client.chat("openai/o1-mini", "Hello!")import { LLMClient } from '@blockrun/llm';
const client = new LLMClient(); // Uses BLOCKRUN_WALLET_KEY (never sent to server)
const response = await client.chat('openai/o1-mini', 'Hello!');curl -X POST https://blockrun.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "PAYMENT-SIGNATURE: <payment_header>" \
-d '{
"model": "openai/o1-mini",
"messages": [{"role": "user", "content": "Hello!"}],
"max_tokens": 1024
}'Pricing
Official OpenAI rates plus a 5% platform fee; $0.001 fee per call.
Payment
Pay per request with USDC on Base. No subscription required.
Demo Unavailable
Interactive demo is coming soon for this model
You can try our interactive demos for other models, or use this model via our API or SDK.
About OpenAI o1-mini
o1-mini is a reasoning and coding model from OpenAI with a 128K-token context window and up to 66K tokens of output per call. It is billed per token: token prices at the vendor's list price, plus a 5% platform fee on each pay-per-call request. Requests for it on BlockRun now route to OpenAI GPT-5.4 Mini and are priced as that model.
Use o1-mini for
- Multi-step reasoning: planning, analysis and math that need thinking before an answer
- Coding agents: writing, reviewing and refactoring code across a repository
- Chat assistants and agents that answer, summarise and draft
What it costs
o1-mini is billed per token. The underlying rates are $1.10 per million input tokens and $4.40 per million output tokens, the vendor's list price. A pay-per-call request adds a 5% platform fee and a small per-transaction fee, and the resulting price is quoted in the 402 before you pay. The 402 quotes input plus output at your max_tokens, and an exact payment settles that quote, so set max_tokens to what you need. Pay with upto (you sign a ceiling, not a fixed amount) where the 402 offers it (Base) or batch settlement (Solana) and you are charged only the tokens produced. There is no monthly commitment and no unused balance to forfeit. With a context window of 128,000 tokens and up to 65,536 tokens of output, a single call can carry a substantial working set.
Specifications
- Context window
- 128,000 tokens
- Maximum output
- 65,536 tokens
- API compatibility
- OpenAI-compatible
- Payment
- USDC via x402
- Categories
- chat, reasoning, coding
Calling it from your code
Pass openai/o1-mini as the model field. Because the endpoint mirrors the OpenAI chat completions schema, any existing OpenAI client works by changing the base URL — streaming, tool use, and multi-turn messages all behave the same way.
The first request returns a 402 carrying the exact price; a signed retry runs it, and client libraries fold the two into one call — how the payment works. See the documentation for request and response shapes, the LLM API page for every model on this endpoint, or browse the full catalog of 92 chat models to compare alternatives.
o1-mini or another model
The closest alternatives by price that do the same kind of work. Each is called on the same endpoint with the same request, so comparing two is a one-line change.
| Model | Price | Context |
|---|---|---|
| OpenAI o1-mini (this page) | $1.10 in / $4.40 out per 1M | 128K context |
| Mistral Large 4 | $1.36 in / $4.18 out per 1M | 524K context |
| DeepSeek V4 Pro | $1.32 in / $3.96 out per 1M | 1.05M context |
| OpenAI GPT-5.4 Mini | $0.75 in / $4.50 out per 1M | 400K context |
o1-mini API questions
Can I still call the o1-mini API on BlockRun?
Yes, but not o1-mini itself. A request for openai/o1-mini is routed to OpenAI GPT-5.4 Mini (openai/gpt-5.4-mini) and priced as that model, quoted in the 402 before it runs.
Explore everything on BlockRun
- GPT-6.2 Astra
- GPT-6.2 Sol
- GPT-6 Astra
- GPT-6.1 Sol
- GPT-6 Sol
- GPT-6 Luna
- GPT-5.6 Sol
- GPT-5.6 Terra
- GPT-5.6 Luna
- GPT-5.6 Sol Pro
- GPT-5.6 Terra Pro
- GPT-5.6 Luna Pro
- GPT-5.5
- GPT-5.5 Pro
- ChatGPT Instant (GPT-5.5)
- GPT-5.4
- GPT-5.4 Pro
- GPT-5.1
- GPT-5.2
- GPT-5.4 Mini
- GPT-5 Mini
- GPT-5.4 Nano
- GPT-5.2 Pro
- GPT-5.3 Codex
- GPT-4.1
- GPT-4.1 Mini
- GPT-4o
- GPT-4o Mini
- o3
- Claude Haiku 4.5
- All models →