gpt-5.1-codex
GPT-5.1 · Per Token
gpt-5.1-codexAvailable⚡Cache 90% offChatVisionTool UsePrompt CacheJSON ModeContext Window: 272KMax Output Tokens: 128K
Pricing
| Official Price | LemonData Price | |
|---|---|---|
| Input | $1.25 | $0.875 |
| Output | $10.00 | $7.00 |
| Cache Read | $0.125 | $0.125 |
Parameters
Context Window
272K tokens
Max Output Tokens
128K tokens
Best For
Chat
Conversational AI, customer support, and Q&A
Vision
Image understanding, document analysis, and visual reasoning
Cost Calculator
1M
0.5M
Estimated Monthly Cost$4.38
API Code Example
FAQ
How much does gpt-5.1-codex cost?
On LemonData, gpt-5.1-codex costs $0.8750 per 1M input tokens and $7.0000 per 1M output tokens, which is up to 30% off the official pricing.
What is gpt-5.1-codex best for?
gpt-5.1-codex excels at Chat, Vision, Tool Use. Access it through LemonData's unified API with a single API key.
How to use gpt-5.1-codex API?
Get your API key from LemonData, then call https://api.lemondata.cc/v1/responses using any compatible SDK. See the code examples above for detailed integration.