OpenAI's flagship large language model with advanced reasoning, instruction following, and code generation capabilities. Supports multimodal inputs including text and images.
128K tokens
1
available
Cheapest
OpenAI
$40.00/1M tokens
OpenAI
Sorted by total cost (input + output per 1M tokens). Click a row to view provider details.
| Provider | Pricing (per 1M) | Rate Limits | Regions | Health | Latency |
|---|---|---|---|---|---|
In: $10.00Out: $30.00 | 500 RPM / 300K TPM | us-east-1eu-west-1 | Healthy | 0ms |
Use this model via OpenAI with an OpenAI-compatible SDK.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.openai.com/v1",
apiKey: process.env.OPENAI_API_KEY,
});
const response = await client.chat.completions.create({
model: "gpt-4-turbo-2024-04-09",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(response.choices[0].message.content);Using OpenAI API • OpenAI-compatible SDK