Back to approved models
OpenAIactiverelay/request.mjsready to route CONTEXT128K contextprompt window MAX OUTPUT16Kper response INPUT$2.50 / Mtoken price OUTPUT$10.00 / Mtoken price
Approved model profile_
GPT-4o
The 2024-11-20 version of GPT-4o offers a leveled-up creative writing ability with more natural, engaging, and tailored writing to improve relevance & readability. It’s also better at working with uploaded files, providing deeper insights & more thorough responses. GPT-4o (""o"" for ""omni"") is...
gpt-4oconst completion = await client.chat.completions.create({
model: "gpt-4o",
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-4oUse this in every requestPROVIDER AVAILABILITY2 routes
| Provider | Context | Max output | Discount | Input / M | Output / M |
|---|---|---|---|---|---|
| OpenAI | 128K context | 16K | — | $2.50 / M | $10.00 / M |
| Azure | 128K context | 64K | — | $2.50 / M | $10.00 / M |
SUPPORTED SURFACESactive
input: textinput: imageoutput: text
Relay governs model access with the same routing policy that Lens keeps visible and auditable.
