GPT · Mid-tier · 200K context window
$0.0320 per call at 6,000 input / 2,500 output tokens.
Per call
$0.0320
10K calls/mo
$320
Cache savings
75% off input
Batch savings
50% off all
Adjust token counts, volume, and discount toggles to model your security review spend. Prices verified daily against provider pricing pages.
Call o3 with the OpenAI Python SDK:
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(
model="o3",
max_tokens=2500,
messages=[{"role": "user", "content": "Your prompt here"}]
)
# Cost: ~$0.0320 per call at standard rates
# Input: $2.00/MTok
# Output: $8.00/MTokPer-call cost for all models scoring 50+ on security review benchmarks. Hover for details.
Cheapest viable option: Claude Sonnet 5 at $0.0370/call (-16% less, 96/100 quality).
Security review is the code task where quality is worth paying for: a missed vulnerability costs more than the entire year's inference bill. Input is large (the code plus the threat context) and output is moderate. This is the clearest case on this list for choosing a top-ranked model over the cheapest viable one, and for not batching away the latency you need in CI.
For o3 specifically, that means output tokens cost 4.0x more than input, at $8.00 vs $2.00 per MTok. At this use case’s 6,000/2,500 token split, output accounts for 63% of the $0.0320 per-call cost.
| Direction | $/MTok | Tokens per call |
|---|---|---|
| Input | $2.00 | 6,000 |
| Output | $8.00 | 2,500 |
Caching drops input cost from $2.00 to $0.50/MTok. For repeated system prompts, that saves $0.009000 per call.
Submit requests asynchronously and receive 50% off all token costs. This works best for offline pipelines where latency requirements are flexible.
| Monthly volume | Cost per call | Standard monthly | Cached monthly | You save with caching |
|---|---|---|---|---|
| 10,000 calls | $0.0320 | $320 | $230 | $90 |
| 50,000 calls | $0.0320 | $1,600 | $1,150 | $450 |
| 100,000 calls | $0.0320 | $3,200 | $2,300 | $900 |
| 500,000 calls | $0.0320 | $16,000 | $11,500 | $4,500 |
| 1,000,000 calls | $0.0320 | $32,000 | $23,000 | $9,000 |
Benchmark data for security review is pending for o3. Test against your own evaluation suite before moving to production.
o3 scores by task type. Security Review highlighted.
| Task type | Confidence score | Rank out of 72 |
|---|
Confidence scores are a third-party benchmark snapshot from week 29 of 2026. This snapshot is 10 weeks old, so treat the scores as directional and validate against your own evals.
6 models score 80+ on security review benchmarks, sorted by input rate. Cheapest: Claude Sonnet 5 (-16% less, 96/100 quality).
| Model | Provider | Input $/MTok | Output $/MTok | Quality | Per call | vs o3 |
|---|---|---|---|---|---|---|
| Claude Sonnet 5 | Claude | $2.00 | $10.00 | 96/100 | $0.0370 | 16% more |
| Claude Sonnet 4.6 | Claude | $3.00 | $15.00 | 95/100 | $0.0555 | 73% more |
| GPT 5.6 Sol | GPT | $4.00 | $20.00 | 92/100 | $0.0740 | 131% more |
| Claude Opus 4.8 | Claude | $5.00 | $25.00 | 94/100 | $0.0925 | 189% more |
| GPT 5.5 | GPT | $5.00 | $30.00 | 90/100 | $0.1050 | 228% more |
| Claude Fable 5 | Claude | $10.00 | $50.00 | 95/100 | $0.1850 | 478% more |
Provider
GPT
Tier
Mid-tier
Context
200K tokens
Released
Not published
Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Not yet benchmarked, so never recommended.
| Model | Tier | Input $/MTok | Output $/MTok | Context |
|---|---|---|---|---|
| GPT 5.5 | Flagship | $5.00 | $30.00 | 1,050K |
| GPT 5.4 | Mid-tier | $2.50 | $15.00 | 1,050K |
| GPT 5.6 Sol | Flagship | $4.00 | $20.00 | 922K |
| GPT 5.6 Terra | Mid-tier | $2.00 | $12.00 | 922K |
| GPT 5.6 Luna | Fast / Budget | $0.20 | $1.20 | 922K |
| GPT 3.5 Turbo | Fast / Budget | $0.50 | $1.50 | 16.385K |
| GPT 3.5 Turbo (0125) | Fast / Budget | $0.50 | $1.50 | 16.385K |
| GPT 4 (0613) | Flagship | $30.00 | $60.00 | 8.192K |
| GPT 4 Turbo (2024-04-09) | Flagship | $10.00 | $30.00 | 128K |
| GPT 4.1 | Mid-tier | $2.00 | $8.00 | 1,047.576K |
| GPT 4.1 Mini | Fast / Budget | $0.40 | $1.60 | 1,047.576K |
| GPT 4.1 Nano | Fast / Budget | $0.10 | $0.40 | 1,047.576K |
| GPT 4o | Mid-tier | $2.50 | $10.00 | 128K |
| GPT 4o (2024-05-13) | Flagship | $5.00 | $15.00 | 128K |
| GPT 4o Mini | Fast / Budget | $0.15 | $0.60 | 128K |
| GPT 5 | Mid-tier | $1.25 | $10.00 | 272K |
| GPT 5 Mini | Fast / Budget | $0.25 | $2.00 | 272K |
| GPT 5 Nano | Fast / Budget | $0.05 | $0.40 | 272K |
| GPT 5 Pro | Flagship | $15.00 | $120.00 | 400K |
| GPT 5.1 | Mid-tier | $1.25 | $10.00 | 272K |
| GPT 5.2 | Mid-tier | $1.75 | $14.00 | 272K |
| GPT 5.2 Pro | Flagship | $21.00 | $168.00 | 272K |
| GPT 5.4 Mini | Fast / Budget | $0.75 | $4.50 | 272K |
| GPT 5.4 Nano | Fast / Budget | $0.20 | $1.25 | 272K |
| GPT 5.4 Pro | Flagship | $30.00 | $180.00 | 1,050K |
| GPT 5.5 Pro | Flagship | $30.00 | $180.00 | 1,050K |
| GPT 6 Astra | Flagship | $10.00 | $50.00 | 922K |
| GPT 6 Luna | Fast / Budget | $0.10 | $0.50 | 922K |
| GPT 6 Sol | Flagship | $2.00 | $10.00 | 922K |
| o1 | Flagship | $15.00 | $60.00 | 200K |
| o1 Pro | Flagship | $150.00 | $600.00 | 200K |
| o3 Mini | Fast / Budget | $1.10 | $4.40 | 200K |
| o3 Pro | Flagship | $20.00 | $80.00 | 200K |
| o4 Mini | Fast / Budget | $1.10 | $4.40 | 200K |
You can compare o3 head-to-head against any other model on our model comparison pages, or track how pricing has changed over time on the pricing history tracker.
See how o3 costs change across different workload types.
Code Generation
$0.0360/call
Unit Test Generation
$0.0460/call
SQL Generation
$0.0110/call
API Generation
$0.0540/call
Code Refactoring
$0.0400/call
Code Review
$0.0260/call
PR Review
$0.0400/call
Bug Detection
$0.0260/call
Document Summarization
$0.0280/call
PDF Summarization
$0.0420/call
Meeting Notes
$0.0320/call
Email Summarization
$0.0100/call
Chatbot
$0.0120/call
RAG Pipeline
$0.0240/call
Customer Support Bot
$0.0140/call
FAQ Bot
$0.009400/call
Data Extraction
$0.0160/call
JSON Extraction
$0.0124/call
Invoice Parsing
$0.008800/call
Resume Parsing
$0.0114/call
Chain of Thought
$0.0460/call
Legal Analysis
$0.0520/call
Math Reasoning
$0.0270/call
Financial Analysis
$0.0480/call
Content Moderation
$0.001800/call
Sentiment Analysis
$0.001800/call
Categorization
$0.002800/call
Intent Detection
$0.001400/call
Copywriting
$0.0170/call
Blog Writing
$0.0660/call
Marketing Copy
$0.0256/call
Product Descriptions
$0.0130/call
A typical security review call using o3 costs about $0.0320 per call. This estimate uses 6,000 input tokens and 2,500 output tokens at standard rates. Standard rates are $2.00 per million input tokens and $8.00 per million output tokens.
Our benchmark data does not yet include a security review ranking for o3. We recommend testing it against your own evaluation criteria before production usage.
The most affordable model for security review above 80/100 quality is Claude Sonnet 5. It comes from Claude at $2.00 per million input tokens. Output costs $10.00 per million tokens with a quality score of 96/100. Switching from o3 to Claude Sonnet 5 saves about -16% per API call.
Three strategies lower o3 costs for this task type effectively. Prompt caching gives a 75% discount on input tokens when reusing system prompts. The batch API gives 50% off all tokens for asynchronous processing workloads. Prompt optimization reduces token counts through more concise instructions and context windows. Combining caching with batching brings your cost from $0.0320 to about $0.004000 per call.
GPT has 34 other models alongside o3 today: GPT 5.5 at $5.00/$30.00 per million tokens (flagship), GPT 5.4 at $2.50/$15.00 per million tokens (mid-tier), GPT 5.6 Sol at $4.00/$20.00 per million tokens (flagship), GPT 5.6 Terra at $2.00/$12.00 per million tokens (mid-tier), GPT 5.6 Luna at $0.20/$1.20 per million tokens (fast / budget), GPT 3.5 Turbo at $0.50/$1.50 per million tokens (fast / budget), GPT 3.5 Turbo (0125) at $0.50/$1.50 per million tokens (fast / budget), GPT 4 (0613) at $30.00/$60.00 per million tokens (flagship), GPT 4 Turbo (2024-04-09) at $10.00/$30.00 per million tokens (flagship), GPT 4.1 at $2.00/$8.00 per million tokens (mid-tier), GPT 4.1 Mini at $0.40/$1.60 per million tokens (fast / budget), GPT 4.1 Nano at $0.10/$0.40 per million tokens (fast / budget), GPT 4o at $2.50/$10.00 per million tokens (mid-tier), GPT 4o (2024-05-13) at $5.00/$15.00 per million tokens (flagship), GPT 4o Mini at $0.15/$0.60 per million tokens (fast / budget), GPT 5 at $1.25/$10.00 per million tokens (mid-tier), GPT 5 Mini at $0.25/$2.00 per million tokens (fast / budget), GPT 5 Nano at $0.05/$0.40 per million tokens (fast / budget), GPT 5 Pro at $15.00/$120.00 per million tokens (flagship), GPT 5.1 at $1.25/$10.00 per million tokens (mid-tier), GPT 5.2 at $1.75/$14.00 per million tokens (mid-tier), GPT 5.2 Pro at $21.00/$168.00 per million tokens (flagship), GPT 5.4 Mini at $0.75/$4.50 per million tokens (fast / budget), GPT 5.4 Nano at $0.20/$1.25 per million tokens (fast / budget), GPT 5.4 Pro at $30.00/$180.00 per million tokens (flagship), GPT 5.5 Pro at $30.00/$180.00 per million tokens (flagship), GPT 6 Astra at $10.00/$50.00 per million tokens (flagship), GPT 6 Luna at $0.10/$0.50 per million tokens (fast / budget), GPT 6 Sol at $2.00/$10.00 per million tokens (flagship), o1 at $15.00/$60.00 per million tokens (flagship), o1 Pro at $150.00/$600.00 per million tokens (flagship), o3 Mini at $1.10/$4.40 per million tokens (fast / budget), o3 Pro at $20.00/$80.00 per million tokens (flagship), o4 Mini at $1.10/$4.40 per million tokens (fast / budget). The right choice depends on whether your security review workload prioritizes quality, cost, or speed.
o3 supports a context window of 200K tokens per API call. This sets the maximum combined length of your input prompt and generated response. For security review, typical calls use 6,000 input and 2,500 output tokens. That is well within this limit, leaving room for longer prompts or multi-turn conversations.
This calculator estimates costs based on published rates only. Connect your API usage to see where your money goes and which models drive your spend.