GPT-4o API
OpenAI GPT-4o for chat, writing, and text analysis.
Starting at
$3
input price per 1M tokens
GPT-4o playground
Input
openaiInput
$3 / 1M
Output
$12 / 1M
Output

Start a conversation
Ask GPT-4o anything. Messages are sent directly to the API and charged by token usage.
Sign in to chatGPT-4o API pricing
| Option | Price per 1M tokens |
|---|---|
| input | $3 |
| output | $12 |
| cacheRead | $1.5 |
Quick start
Full API reference →1curl -X POST https://api.api-stock.com/api/v1/chat/completions \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "gpt-4o",6 "messages": [7 {8 "role": "user",9 "content": "A cinematic shot of a city at dusk"10 }11 ]12 }'
Frequently asked questions
How much does GPT-4o cost?
GPT-4o starts at $3 per 1M input tokens on API Stock. The final charge depends on the selected settings.
When was GPT-4o released?
GPT-4o was released on May 13, 2024 and is available through API Stock.
How do I get an API key for GPT-4o?
Create an account and API key on API Stock, then fund your balance. The same key works with GPT-4o and other catalog models.
How do I call the GPT-4o API?
Send a POST request to https://api.api-stock.com/api/v1/chat/completions with your API key and the model "gpt-4o", using the openai-compatible request format shown in the quick start above.
What happens if a GPT-4o request fails?
API Stock automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.
Can I use GPT-4o with the same API key as other models?
Yes. Use your API Stock API key and balance for GPT-4o and other catalog models.
Other Chat models
- Gemini 4 ArgonGoogle$2.4/ 1M tokens
- Gemini 4 CarbonGoogle$2.4/ 1M tokens
- GPT 6 SolOpenAI$2.4/ 1M tokens
- GPT 6.2 SolOpenAI$2.4/ 1M tokens
- Claude Opus 5Anthropic$3/ 1M tokens
- GPT 5.6 SolOpenAI$3/ 1M tokens
- Kimi K3Moonshot$3.15/ 1M tokens
- Claude Fable 5.2Anthropic$3.6/ 1M tokens
- Claude Opus 5.5Anthropic$4.8/ 1M tokens
Guides
- Choose a model for an agent taskCompare models on completed tool-using tasks, repeated attempts and observed cost before setting an agent's default.2 min read
- LLM API pricing: GPT, Claude, Gemini, DeepSeek comparedCompare LLM API pricing for GPT, Claude, Gemini, DeepSeek, Grok and Kimi per 1M tokens, with worked monthly cost examples and practical ways to cut the bill.9 min read
- Give your coding agent image, video and music toolsConnect Claude Code, Codex, OpenCode or OpenClaw to API Stock and use generated media in a page, app or content draft.3 min read
