Google GPT-4.1-mini
Introducing Google GPT-4.1-mini, a compact yet powerful language model engineered for lightning-fast responses and budget-friendly operation.
🚀Function Overview
A compact, high-performance language model optimized for fast response times and low-cost operation, supporting text generation, code assistance, summarization, and multimodal image reasoning.
Key Features
- Low-latency inference suitable for real-time applications
- Supports 1 million token context windows
- Multimodal input processing (text + images)
- Configurable sampling parameters (temperature, top_p, frequency/presence penalty)
- High accuracy in coding, reasoning, and instruction tasks
Use Cases
- •Chatbots and virtual assistants
- •Document summarization and Q&A systems
- •Image-based reasoning and description
- •Lightweight code generation and review
- •High-volume text processing tasks
⚙️Input Parameters
prompt
stringThe prompt to send to the model. Do not use if using messages.
system_prompt
stringSystem prompt to set the assistant's behavior
image_input
arrayList of images to send to the model
temperature
numberSampling temperature between 0 and 2
max_completion_tokens
integerMaximum number of completion tokens to generate
top_p
numberNucleus 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
numberFrequency penalty parameter - positive values penalize the repetition of tokens.
presence_penalty
numberPresence 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": "Explain this image in excruciating detail", "image_input": [ "https://replicate.delivery/pbxt/MvoFggJfmpSOBa0TiiQbvxLc0eS7u6CpH2WHaq30FZCVIvFa/test.jpg" ], "temperature": 1, "system_prompt": "You are a helpful assistant." }
Output Results
Quick Actions
Technical Specifications
- Hardware Type
- Run Count
- 766.1k
- Commercial Use
- Supported
- Pricing
- Priced by multiple properties
- Platform
- Replicate