OpenAIChat
OpenAI: GPT-4 Turbo
openai/gpt-4-turbo
128KContext Window
4KMax Output
Supported Protocols:seedmax_tokensresponse_formatstructured_outputstemperaturetop_pstopfrequency_penaltypresence_penaltylogit_biaslogprobstop_logprobstoolstool_choice
Normal
The latest GPT-4 Turbo model with vision capabilities. Vision requests can now use JSON mode and function calling. Training data: up to December 2023.
Capabilities
👁 Vision🔧 Function CallingText GenerationCode GenerationAnalysis & ReasoningReasoning
Technical Specs
Input Modality
Text、Image
Output Modality
Text
Arch
—
Default Temperature
0.7
Default Top_P
1
Pricing
Pay per use, no monthly fees| Billing Type | Unit | Price |
|---|---|---|
| Text Input | — | $10.0000/M tokens |
| Text Output | — | $30.0000/M tokens |
| Image Input | — | < $0.001/张 |
Quick Start
from openai import OpenAI
client = OpenAI(
base_url="https://api.uniontoken.ai/v1",
api_key="YOUR_UNIONTOKEN_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-4-turbo",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)FAQ
OpenAI
OpenAI: GPT-4 Turbo
openai/gpt-4-turbo
In< ¥0.001/1K
Out< ¥0.001/1K
Context Window128K
Max Output4K
Related Models
View All → →Ready to get started?
Get 1M free tokens on registration, no monthly fees or minimum spend
Register Now →