G
GetLLMs

OpenAI GPT-4.1 Model

Discover the OpenAI GPT-4.1 Model, a powerful solution for multimodal reasoning and agentic workflows. See what makes this AI model special!

Platform: Replicate
Multimodal AssistantLarge Context Language ModelCode ComprehensionDocument Analysis
8.5k runs
Priced by multiple properties
Commercial

🚀Function Overview

A high-performance language model optimized for complex tasks like coding, long-context comprehension, agentic workflows, and multimodal reasoning.

Key Features

  • Supports 1 million token context for large documents/code
  • Improved instruction following and format adherence
  • Multimodal capabilities including image analysis
  • Enhanced performance in coding tasks and diff understanding
  • Optimized for agentic workflows and tool integration

Use Cases

  • Building agentic systems with multi-turn coherence
  • Editing and understanding large codebases
  • Complex data extraction from lengthy documents
  • Highly structured content generation
  • Multimodal reasoning with images/videos

⚙️Input Parameters

prompt

string

The prompt to send to the model. Do not use if using messages.

system_prompt

string

System prompt to set the assistant's behavior

image_input

array

List of images to send to the model

temperature

number

Sampling temperature between 0 and 2

max_completion_tokens

integer

Maximum number of completion tokens to generate

top_p

number

Nucleus sampling parameter - the model considers the results of the tokens with top_p probability mass. (0.1 means only the tokens comprising the top 10% probability mass are considered.)

frequency_penalty

number

Frequency penalty parameter - positive values penalize the repetition of tokens.

presence_penalty

number

Presence penalty parameter - positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.

💡Usage Examples

Example 1

Input Parameters

{
  "prompt": "What is happening in this image?",
  "image_input": [
    "https://replicate.delivery/pbxt/MvnA4wptE8FOHD44bKsfVj8hQdXSvdDAcFgYs5GEODou9OP9/4b2ebb2d-89d8-43de-bc84-51c380365a40.jpg"
  ],
  "temperature": 1,
  "system_prompt": "You are a helpful assistant."
}

Output Results

In the image, someone is spreading butter on a slice of toast using a product labeled "BUTTER STICK TYPE." The product resembles a glue stick, but it is meant for butter, allowing the user to easily apply butter to toast by rubbing the stick directly onto the bread. This is a creative and convenient way to spread butter, especially while the toast is still warm and the butter softens and melts quickly.

Quick Actions

Technical Specifications

Hardware Type
Run Count
8.5k
Commercial Use
Supported
Pricing
Priced by multiple properties
Platform
Replicate

Related Keywords

Multimodal ReasoningAgentic WorkflowsCode ComprehensionLarge Context Language ModelDocument AnalysisStructured Content GenerationImage Analysis