Skip to content

gpt-4-1 ​

This page lists parameters from the ModelFold model catalog.

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

Overview ​

FieldValue
Model IDgpt-4-1
Family sluggpt-4-1
ModalityChat Models (chat)
EndpointPOST /v1/chat/completions

Request example ​

bash
export API_BASE="https://modelfold.ai/v1"
export MODELFOLD_API_KEY="mf-..."   # 在控制台 API Key 页面创建
curl -X POST "$API_BASE/chat/completions" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-4-1","messages":[{"role":"user","content":"Explain what a diffusion model does in two sentences."}],"max_tokens":512}'

See also ​

ModelFold — one API for all the best AI models.