Back to Models
gpt-4.1-2025-04-14
openai/gpt-4.1-2025-04-14
OpenAI
Chat
Description
gpt-4.1-2025-04-14 by OpenAI. This model supports chat capabilities.
Specifications
Pricing
- Input Cost:
- $0.4000/100K tokens
- Output Cost:
- $1.6000/100K tokens
Usage Example
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.yourproxy.com/v1",
apiKey: process.env.PROXY_KEY,
});
const completion = await client.chat.completions.create({
model: "openai/gpt-4.1-2025-04-14",
messages: [{ role: "user", content: "Hello!" }],
});