Back to all APIs

OpenAI

inference

“Get API key” opens OpenAI’s console where you can sign in, claim free credits, and generate your key. “Documentation” shows how to set it up and call the API.

GPT-4o and o-series models. Industry standard with the widest ecosystem support.

$0.005/1K tokens (gpt-4o-mini)

Models

gpt-4ogpt-4o-minio3o4-mini

Details

Auth: api_key
Uptime: 100% uptime · 7d
Avg latency: 42ms
Checked: 2h ago
Pricing: $0.15 / 1M input, $0.60 / 1M output (4o-mini)
Rate limit: Tier-based, scales with usage
Free credits: $5 free credit on signup
SDKs: pythonjavascripttypescript
Regions: global
Tags: gpt-4o, o3, vision

Code snippets

37ms avg
from openai import OpenAI

client = OpenAI(api_key="YOUR_KEY")
res = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello"}]
)
print(res.choices[0].message.content)

Status history (7 days)

06-10
06-11
06-12
06-13
06-14
06-15
06-21