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-4 API

OpenAI
About

GPT-4 is a high-performance LLM available via the OpenAI API, ideal for scalable text generation and natural language processing. This model delivers cost-effective pricing at $30.00/1M input and $60.00/1M output tokens, native tool calling support. Access GPT-4 via the OpenAI API with up to 8K output tokens.

Capabilities

Input Modalities

text

Output Modalities

text
Reasoning
No
Structured Output
No
Tool Use
Yes
WeightsClosed
Temperature
Adjustable
Attachment
Supported
Limits
Context Window
8K

Tokens

Input Limit
8K

Tokens

Max Output
8K

Tokens

Pricing

Standard (per 1M tokens)

Input
$30.00
Output
$60.00
Frequently Asked Questions

GPT-4 by OpenAI costs $30.00 per 1M input tokens and $60.00 per 1M output tokens.

Model Details
ID
gpt-4
Provider
OpenAI
Family
gpt
Release Date
Nov 6, 2023
Knowledge Cutoff
Nov 1, 2023
API Integration
NPM Package
@ai-sdk/openai
Environment Variables
OPENAI_API_KEY
Documentation