GPT · Flagship · 128K context window
$0.0375 per call at 1,500 input / 1,000 output tokens.
Per call
$0.0375
10K calls/mo
$375
Cache savings
90% off input
Batch savings
50% off all
Adjust token counts, volume, and discount toggles to model your sql generation spend. Pricing updated weekly.
Call GPT 5.5 with the OpenAI Python SDK:
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(
model="gpt-5.5",
max_tokens=1000,
messages=[{"role": "user", "content": "Your prompt here"}]
)
# Cost: ~$0.0375 per call at standard rates
# Input: $5.00/MTok
# Output: $30.00/MTokPer-call cost for all models scoring 50+ on sql generation benchmarks. Hover for details.
Cheapest viable option: Claude Sonnet 5 at $0.0130/call (65% less, 93/100 quality).
| Direction | $/MTok | Tokens per call |
|---|---|---|
| Input | $5.00 | 1,500 |
| Output | $30.00 | 1,000 |
Caching drops input cost from $5.00 to $0.50/MTok. For repeated system prompts, that saves $0.006750 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.0375 | $375 | $307.5 | $67.5 |
| 50,000 calls | $0.0375 | $1,875 | $1,537.5 | $337.5 |
| 100,000 calls | $0.0375 | $3,750 | $3,075 | $675 |
| 500,000 calls | $0.0375 | $18,750 | $15,375 | $3,375 |
| 1,000,000 calls | $0.0375 | $37,500 | $30,750 | $6,750 |
Use GPT 5.5 for sql generation
Scores 91/100 (rank #3 of 14). Strong pick for production sql generation workloads.
Top-ranked: Claude Fable 5 (96/100) at $0.0650/call
GPT 5.5 scores by task type. SQL Generation highlighted.
| Task type | Confidence score | Rank out of 14 |
|---|---|---|
| Reasoning | 95/100 | #2 |
| Code Generation(current page) | 91/100 | #3 |
| Creative Writing | 91/100 | #2 |
| Code Review | 90/100 | #3 |
| Q&A | 90/100 | #2 |
| Summarization | 89/100 | #3 |
| Extraction | 87/100 | #4 |
| Classification | 85/100 | #3 |
8 models score 80+ on sql generation benchmarks, sorted by input rate. Cheapest: Claude Sonnet 5 (65% less, 93/100 quality).
| Model | Provider | Input $/MTok | Output $/MTok | Quality | Per call | vs GPT |
|---|---|---|---|---|---|---|
| Claude Sonnet 5 | Claude | $2.00 | $10.00 | 93/100 | $0.0130 | 65% cheaper |
| Gemini 3.1 Pro | Gemini | $2.00 | $12.00 | 86/100 | $0.0150 | 60% cheaper |
| GPT 5.4 | GPT | $2.50 | $15.00 | 84/100 | $0.0187 | 50% cheaper |
| GPT 5.6 Terra | GPT | $2.50 | $15.00 | 86/100 | $0.0187 | 50% cheaper |
| Claude Sonnet 4.6 | Claude | $3.00 | $15.00 | 92/100 | $0.0195 | 48% cheaper |
| Claude Opus 4.8 | Claude | $5.00 | $25.00 | 95/100 | $0.0325 | 13% cheaper |
| GPT 5.6 Sol | GPT | $5.00 | $30.00 | 94/100 | $0.0375 | same cost |
| Claude Fable 5 | Claude | $10.00 | $50.00 | 96/100 | $0.0650 | 73% more |
Provider
GPT
Tier
Flagship
Context
128K tokens
Released
Mar 2026
| Model | Tier | Input $/MTok | Output $/MTok | Context |
|---|---|---|---|---|
| GPT 5.4 | Mid-tier | $2.50 | $15.00 | 128K |
| GPT 5.6 Sol | Flagship | $5.00 | $30.00 | 1,000K |
| GPT 5.6 Terra | Mid-tier | $2.50 | $15.00 | 1,000K |
| GPT 5.6 Luna | Fast / Budget | $1.00 | $6.00 | 1,000K |
You can compare GPT 5.5 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 GPT 5.5 costs change across different workload types.
Code Generation
$0.1300/call
Unit Test Generation
$0.1650/call
API Generation
$0.1950/call
Code Refactoring
$0.1400/call
Code Review
$0.0850/call
PR Review
$0.1300/call
Security Review
$0.1050/call
Bug Detection
$0.0850/call
Document Summarization
$0.0800/call
PDF Summarization
$0.1200/call
Meeting Notes
$0.1000/call
Email Summarization
$0.0300/call
Chatbot
$0.0400/call
RAG Pipeline
$0.0750/call
Customer Support Bot
$0.0450/call
FAQ Bot
$0.0315/call
Data Extraction
$0.0500/call
JSON Extraction
$0.0390/call
Invoice Parsing
$0.0280/call
Resume Parsing
$0.0365/call
Chain of Thought
$0.1650/call
Legal Analysis
$0.1700/call
Math Reasoning
$0.0975/call
Financial Analysis
$0.1600/call
Content Moderation
$0.005500/call
Sentiment Analysis
$0.005500/call
Categorization
$0.008500/call
Intent Detection
$0.004500/call
Copywriting
$0.0625/call
Blog Writing
$0.2450/call
Marketing Copy
$0.0940/call
Product Descriptions
$0.0475/call
$0.0375 per call at 1,500 input / 1,000 output tokens.
Scores 91/100, rank #3 of 14 models. Top-ranked: Claude Fable 5 at 96/100.
Claude Sonnet 5 scores 93/100 quality at $2.00/$10.00 per MTok. That is 65% less than GPT 5.5 per call.
Three strategies: prompt caching (90% off input), batch API (50% off all tokens), prompt optimization. Combined: $0.0375 drops to about $0.001875 per call.
GPT also offers: GPT 5.4 at $2.50/$15.00, GPT 5.6 Sol at $5.00/$30.00, GPT 5.6 Terra at $2.50/$15.00, GPT 5.6 Luna at $1.00/$6.00.
128K tokens total. Typical sql generation calls use 1,500 plus 1,000 tokens, well within limits.
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.