vercel-ai-gateway Available now

openai/gpt-5-codex on Vercel Ai Gateway.

Vercel Ai Gateway serves openai/gpt-5-codex at $1.25 per million input tokens and $10.00 per million output. Context window: 400K tokens. 1 sharer is online for it, from $10.55 per million input tokens. 40 requests in the last 30 days.

Input /Mtok

$1.25

Output /Mtok

$10.00

Context

400K

Sharer online

1

01Overview

Vercel Ai Gateway serves openai/gpt-5-codex at $1.25 per million input tokens and $10.00 per million output. Context window: 400K tokens. 1 sharer is online for it, from $10.55 per million input tokens. 40 requests in the last 30 days.

02Pricing

Per million tokens, in USD. This is the rate you are charged.
Input$1.25
Output$10.00
Cache read$0.130

Across 1 online sharer, input rates run from $10.55 to $10.55 per million tokens.

03Capabilities

You can attach an image to a request and ask about it.This model can reason at length before it answers.You can attach a PDF to a request and ask about it.This model can call tools and functions you define.
Context window400K tokens
Maximum output128K tokens
Knowledge cutoff2024-09-30

04Availability

1 sharer is online for this model right now.

06Call it

Any OpenAI- or Anthropic-compatible SDK works. Use this exact model id:

curlTerminal
curl https://aile.sh/v1/chat/completions \
  -H "Authorization: Bearer $AILE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "vercel-ai-gateway/openai/gpt-5-codex",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Quickstart · API reference

07Alternatives

Other providers serve openai/gpt-5-codex too, at their own rates — compare every provider for openai/gpt-5-codex.

Other models from Vercel Ai Gateway:

ModelProviderInput /MtokOutput /MtokStatus
deepseek/deepseek-v4.1-flashvercel-ai-gateway$0.300$1.20Online
meta/muse-spark-1.3-contributorvercel-ai-gateway$0.100$0.200Online
openai/gpt-6.1-solvercel-ai-gateway$2.00$10.00Online
deepseek/deepseek-v4-flashvercel-ai-gateway$0.190$0.510Online
meta/muse-spark-1.3vercel-ai-gateway$1.25$4.25Online
alibaba/qwen3.8-flashvercel-ai-gateway$0.150$0.470Online
spacexai/grok-4.7vercel-ai-gateway$2.00$6.00Online
openai/gpt-6-solvercel-ai-gateway$2.00$10.00Online
zai/glm-5.3vercel-ai-gateway$1.68$5.44Online
anthropic/claude-opus-5vercel-ai-gateway$5.00$25.00Online
deepseek/deepseek-v4-provercel-ai-gateway$2.40$4.80Online
openai/gpt-5.6-solvercel-ai-gateway$4.00$20.00Online

Similar published rates elsewhere:

ModelProviderInput /MtokOutput /MtokStatus
deepseek/deepseek-v4.1-flashlyceum$0.500$1.50Offline
deepseek/deepseek-v4.1-flashopenrouter$0.450$1.80Online
sference/deepseek-v4.1-flashrequesty$0.500$1.50Offline
tensorx/deepseek-v4.1-flashrequesty$0.500$1.50Offline
lyceum/deepseek-v4.1-flashrequesty$0.500$1.50Offline
hf:deepseek-ai/DeepSeek-V4.1-Flashsynthetic$0.600$1.20Offline