openai
OpenAI GPT-4 Turbo Preview
openai/gpt-4-turbo-preview
Input$10.00 /1M tokens
·Output$30.00 /1M tokens
The preview GPT-4 model with improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more. Training data: up to Dec 2023. **Note:** heavily rate limited by OpenAI while...
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-4-turbo-preview",
"messages": [
{"role": "user", "content": "Hello!"}
]
}
)
print(response.json()["choices"][0]["message"]["content"])Pricing Details
| Example | Cost |
|---|---|
| 1K input tokens (short prompt) | $0.0100 |
| 1K in + 500 out (typical response) | $0.0250 |
| 10K in + 2K out (document analysis) | $0.1600 |
| 100K in + 10K out (large context) | $1.3000 |
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)
NoAudio Processing
NoContext Window
128K tokens
~96K words of text
Max output
4K tokens
Modalities
Input
text
Output
text