OpenAI
The Makers Models service does not provide OpenAI vendor keys or commercial billing capabilities to users. You must bind the vendor's API Key on the console page before you can invoke GPT series models.
The following is an example of the model and model parameter passing:
Model | model Parameter to Pass |
gpt-5.5 | openai/gpt-5.5 |
gpt-5.4 | openai/gpt-5.4 |
gpt-5.4-mini | openai/gpt-5.4-mini |
gpt-5.4-nano | openai/gpt-5.4-nano |
gpt-5.3-chat | openai/gpt-5.3-chat |
gpt-5.2 | openai/gpt-5.2 |
Call Example
Before invoking a model, ensure that you have bound the OpenAI vendor's API Key. Go to the Models & Keys page in the console to bind it.
SDK
Using the AI SDK
import { createAiGateway } from "@edgeone/makers-models-provider";import { generateText } from "ai";const aiGateway = createAiGateway({apiKey: process.env.MAKERS_MODELS_KEY,});const { text } = await generateText({model: aiGateway("openai/gpt-5.5"),prompt: "What can you do?",});
Using the OpenAI JS SDK
import OpenAI from "openai";const client = new OpenAI({apiKey: process.env.MAKERS_MODELS_KEY,baseURL: "https://ai-gateway.edgeone.link/v1",});const completion = await client.chat.completions.create({model: "openai/gpt-5.5",messages: [{ role: "user", content: "What can you do?" }],});
cURL
Making Requests to the OpenAI Chat Completions API
curl -i -X POST "http://ai-gateway.edgeone.link/v1/chat/completions" \-H "Authorization: Bearer {MAKERS_MODELS_KEY}" \-H "Content-Type: application/json" \-d '{"model": "openai/gpt-5.5","messages": [{"role": "user","content": "What can you do?"}]}'
Making Requests to the OpenAI Responses API
curl -i -X POST "https://ai-gateway.edgeone.link/v1/responses" \-H "Authorization: Bearer {MAKERS_MODELS_KEY}" \-H "Content-Type: application/json" \-d '{"model": "openai/gpt-5.5","input": [{"role": "user","content": "What can you do?"}]}'