We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
OpenAI: GPT-4o (2024-11-20)
openai/gpt-4o-2024-11-20TextInput: text · image · fileTools128KAdded Nov 20, 2024
Try OpenAI: GPT-4o (2024-11-20) now
Runs on your balance at the prices above. New accounts start with free usage.
One API. Every model.
5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in
Session cost $0.00
Settings
Advanced parameters
models
service_tier
plugins
cache_control
prompt_cache_key
metadata
image_config
provider.sort
provider.order
provider.only
provider.ignore
provider.allow_fallbacks
provider.require_parameters
provider.data_collection
provider.zdr
provider.enforce_distillable_text
provider.quantizations
provider.max_price
provider.preferred_max_latency
provider.preferred_min_throughput
Extra parameters (JSON)
OpenAI: GPT-4o (2024-11-20) at a glance
- Input price is 456% higher than the median of 434 Text models.
- Context window of 128,000 tokens, enough for long documents and multi-turn conversations.
- Supports tool (function) calling for agents and integrations.
- Supports structured JSON output with a schema.
- Accepts images as input (vision).
- A typical request (1,000 input / 500 output tokens) costs about $0.03.
About OpenAI: GPT-4o (2024-11-20)
The 2024-11-20 version of GPT-4o offers a leveled-up creative writing ability with more natural, engaging, and tailored writing to improve relevance & readability. It’s also better at working with uploaded...
How to call the OpenAI: GPT-4o (2024-11-20) API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "openai/gpt-4o-2024-11-20".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "openai/gpt-4o-2024-11-20",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
frequency_penaltylogit_biaslogprobsmax_tokenspredictionpresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_logprobstop_pweb_search_optionsSpecifications
- Context length
- 128,000
- Max output
- 16,384
- Input
- text, image, file
- Output
- text
- Knowledge cutoff
- 2023-10-31
Requests on api14 · last 7 days
OpenAI: GPT-4o (2024-11-20): frequently asked questions
- How much does the OpenAI: GPT-4o (2024-11-20) API cost?
- OpenAI: GPT-4o (2024-11-20) costs Input $8.75 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of OpenAI: GPT-4o (2024-11-20)?
- OpenAI: GPT-4o (2024-11-20) reads up to 128,000 tokens per request: prompt, history and documents together. It writes up to 16,384 output tokens per response.
- What can OpenAI: GPT-4o (2024-11-20) do?
- OpenAI: GPT-4o (2024-11-20) accepts text, image, file and returns text. It supports tool calling, structured JSON output.
- How do I call OpenAI: GPT-4o (2024-11-20) from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openai/gpt-4o-2024-11-20". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to OpenAI: GPT-4o (2024-11-20)?
- Comparable Text models at a similar price: Cohere: Command A, Cohere: Command R+ (08-2024), OpenAI: GPT-4o (2024-08-06). Each runs through the same API key, so switching is one string.
OpenAI: GPT-4o (2024-11-20) community
New topicThis community has no topics yet. Open the first one about OpenAI: GPT-4o (2024-11-20).