gpt-5-codex

GPT-5 · Per Token

gpt-5-codexAvailableCache 90% off
ChatTool UseContext Window: 272KMax Output Tokens: 128K

Pricing

Official PriceLemonData 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

Cost Calculator

1M
0.5M
Estimated Monthly Cost$4.38

API Code Example

POST/v1/responses
API Format:
curl https://api.lemondata.cc/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-xxx" \
  -d '{
    "model": "gpt-5-codex",
    "input": "Hello!"
  }'

FAQ

How much does gpt-5-codex cost?

On LemonData, gpt-5-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-codex best for?

gpt-5-codex excels at Chat, Tool Use. Access it through LemonData's unified API with a single API key.

How to use gpt-5-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.

Related Models

gpt-5-codex - API Pricing & Details - LemonData