gpt-5-codex-mini

GPT 5 · Per Token

gpt-5-codex-miniAvailableCache 50% off
Tool UsePrompt Cache
Context Window: 272KMax Output Tokens: 128K

Pricing

Official PriceLemonData PriceDiscount
Input$0.25$0.0580%
Output$2.00$0.4080%
Cache Read$0.125$0.02580%

Parameters

Context Window
272K tokens
Max Output Tokens
128K tokens

Cost Calculator

1M
0.5M
Estimated Monthly Cost$0.25

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-mini",
    "input": "Hello!"
  }'

FAQ

How much does gpt-5-codex-mini cost?

On LemonData, gpt-5-codex-mini costs $0.0500 per 1M input tokens and $0.4000 per 1M output tokens, with model-specific platform pricing.

What is gpt-5-codex-mini best for?

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

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