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-4 Turbo (batch)

openai/gpt-4-turbo:batch
TextInput: text · imageTools128KAdded Apr 9, 2024

Try OpenAI: GPT-4 Turbo (batch) 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

OpenAI: GPT-4 Turbo (batch) at a glance

  • Input price is 1011% 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.04.

About OpenAI: GPT-4 Turbo (batch)

GPT-4 Turbo (batch) is a text generation model from OpenAI, offered on api14 under the model id openai/gpt-4-turbo:batch. It is the batch variant of OpenAI's GPT-4 Turbo line, the version that added vision capabilities. api14 routes requests to it through the same OpenAI-compatible interface you use for other models on the platform, so no separate SDK or integration work is needed.

The model accepts text and image input and produces text output, which means you can mix prompts and images in a single request where that helps. It supports a context window of 128,000 tokens, and responses can run up to 4,096 tokens. Its training data runs to December 2023. Vision requests work alongside JSON mode and function calling, so structured output and tool use are not restricted to text-only calls.

Those capabilities point to a few practical patterns. Long documents, codebases or transcripts fit comfortably in the 128,000 token window, so summarisation, extraction and question answering over large inputs are viable without heavy chunking. Because images are accepted as input, screenshot analysis, diagram interpretation and document parsing from scanned pages are also in scope. Function calling and structured outputs make it a reasonable fit for agents, tool-using workflows and pipelines that need machine-readable responses, while JSON mode keeps downstream parsing predictable.

To call it on api14, send a request to the chat completions endpoint with the model field set to openai/gpt-4-turbo:batch, exactly as you would with OpenAI's own API. The model supports frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs and top_p. That covers sampling controls, determinism via seed, token limits, stop sequences, structured output formats and tool definitions, so most standard OpenAI-style request bodies work without changes.

Two constraints are worth noting before you commit. Output is capped at 4,096 tokens per response, so tasks that require very long single completions may need to be split across calls, and the knowledge cutoff of December 2023 means the model has no awareness of anything after that date unless you supply it in the prompt. If your workload needs newer knowledge, larger output budgets or a different cost profile, check the other models available on api14 before settling on this one.

How to call the OpenAI: GPT-4 Turbo (batch) API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "openai/gpt-4-turbo:batch".
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-4-turbo:batch",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

frequency_penaltylogit_biaslogprobsmax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_logprobstop_p

Specifications

Context length
128,000
Max output
4,096
Input
text, image
Output
text
Knowledge cutoff
2023-12-31

Requests on api14 · last 7 days

10-1710-1810-1910-2010-2110-2210-23

OpenAI: GPT-4 Turbo (batch): frequently asked questions

How much does the OpenAI: GPT-4 Turbo (batch) API cost?
OpenAI: GPT-4 Turbo (batch) costs Input $17.50 / 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-4 Turbo (batch)?
OpenAI: GPT-4 Turbo (batch) reads up to 128,000 tokens per request: prompt, history and documents together. It writes up to 4,096 output tokens per response.
What can OpenAI: GPT-4 Turbo (batch) do?
OpenAI: GPT-4 Turbo (batch) accepts text, image and returns text. It supports tool calling, structured JSON output.
How do I call OpenAI: GPT-4 Turbo (batch) from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openai/gpt-4-turbo:batch". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to OpenAI: GPT-4 Turbo (batch)?
Comparable Text models at a similar price: OpenAI: GPT-4o (2024-05-13), Fireworks: Ember-1, Anthropic: Claude Sonnet 4.6. Each runs through the same API key, so switching is one string.

OpenAI: GPT-4 Turbo (batch) community

New topic

This community has no topics yet. Open the first one about OpenAI: GPT-4 Turbo (batch).