AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
OpenAI

GPT-5 API

OpenAI
About

Build advanced reasoning agents with GPT-5, a specialized AI model optimized for complex logic and chain-of-thought tasks. This model delivers cost-effective pricing at $1.25/1M input and $10.00/1M output tokens, native tool calling support. Access GPT-5 via the OpenAI API with up to 128K output tokens.

Capabilities

Input Modalities

textimage

Output Modalities

text
Reasoning
Yes
Structured Output
Yes
Tool Use
Yes
WeightsClosed
Temperature
Fixed
Attachment
Supported
Limits
Context Window
400K

Tokens

Input Limit
272K

Tokens

Max Output
128K

Tokens

Pricing

Standard (per 1M tokens)

Input
$1.25
Output
$10.00

Caching (per 1M tokens)

Read
$0.13
Frequently Asked Questions

GPT-5 by OpenAI costs $1.25 per 1M input tokens and $10.00 per 1M output tokens. Cached reads cost $0.13 per 1M tokens.

Model Details
ID
gpt-5
Provider
OpenAI
Family
gpt
Release Date
Aug 7, 2025
Knowledge Cutoff
Sep 30, 2024
API Integration
NPM Package
@ai-sdk/openai
Environment Variables
OPENAI_API_KEY
Documentation