Back to approved models
OpenAIactiverelay/request.mjsready to route CONTEXT128K contextprompt window MAX OUTPUT16Kper response INPUT$0.80 / Mtoken price OUTPUT$3.20 / Mtoken price
Approved model profile_
GPT-4.1 Mini
GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard instruction evals, 35.8% on MultiChallenge, and 84.1% on IFEval. Mini also shows strong coding ability...
gpt-4.1-mini-2025-04-14const completion = await client.chat.completions.create({
model: "gpt-4.1-mini-2025-04-14",
messages: [
{ role: "user",
content: "Plan a multi-step task" }
]
});Route configuration_
Choose a supported call format.
Select a format below to view its documentation. Use the displayed converter route when calling through PipeLLM.
https://api.pipellm.aiOne base URL for OpenAI Chat Completions, Responses, Anthropic, and Gemini.SUPPORTED CALL FORMATS
OpenAI/openai/v1/chat/completionsDocs Responses/responses/v1/responsesDocs Anthropic/anthropic/v1/messagesDocs Gemini/gemini/v1beta/models/{model}:generateContentDocs Choose a call format to open its request and response documentation.gpt-4.1-mini-2025-04-14Use this in every requestPROVIDER AVAILABILITY2 routes
| Provider | Context | Max output | Discount | Input / M | Output / M |
|---|---|---|---|---|---|
| OpenAI | 128K context | 16K | — | $0.80 / M | $3.20 / M |
| Azure | 128K context | 16K | — | $0.80 / M | $3.20 / M |
SUPPORTED SURFACESactive
input: textoutput: texttool usecache control
Relay governs model access with the same routing policy that Lens keeps visible and auditable.
