openai
OpenAI GPT-4o (2024-05-13)
openai/gpt-4o-2024-05-13
Input$5.00 /1M tokens
·Output$15.00 /1M tokens
GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs. It maintains the intelligence level of [GPT-4 Turbo](/models/openai/gpt-4-turbo) while being twice as...
Code Examples
import requests
response = requests.post(
"https://neurongate.net/v1/chat/completions",
headers={
"Authorization": "Bearer ng-your-api-key",
"Content-Type": "application/json"
},
json={
"model": "openai/gpt-4o-2024-05-13",
"messages": [
{"role": "user", "content": "Hello!"}
]
}
)
print(response.json()["choices"][0]["message"]["content"])Pricing Details
| Example | Cost |
|---|---|
| 1K input tokens (short prompt) | $0.00500 |
| 1K in + 500 out (typical response) | $0.0125 |
| 10K in + 2K out (document analysis) | $0.0800 |
| 100K in + 10K out (large context) | $0.6500 |
Prices in USD. Billed per actual token usage. Prepay with USDT, USDC, ETH, or BTC.
Frequently Asked Questions
Capabilities
Streaming
YesFunction Calling / Tools
YesVision (Image Input)
YesAudio Processing
NoContext Window
128K tokens
~96K words of text
Max output
4K tokens
Modalities
Input
textimagefile
Output
text