gpt-4.1

Instruction-following non-reasoning model for existing integrations.

API IDgpt-4.1
View setup
View usage

Overview

Context
300,000 tokens
Max output
32,768 tokens
Input
Text, Image
Output
Text
Providers
Azure OpenAI
Released
Apr 2025
Latest operational check
Healthy
API compatibility
  • OpenAI Chat Completions
Recommended for
  • General-purpose reasoning
  • Long-context analysis
  • Production assistants

Keep in mind: A specialized AI Service matches the workload more directly

Supported features
  • Function calling: Supported
  • Structured outputs: Supported
  • Vision: Supported
  • Streaming: Supported
  • Reasoning: Not supported
  • Prompt caching: Supported
Supported parameters
frequency_penaltyfunction_callfunctionslogit_biaslogprobsmax_completion_tokensmax_tokensnparallel_tool_callspredictionpresence_penaltyprompt_cache_keyresponse_formatseedstopstorestreamstream_optionstemperaturetool_choicetoolstop_logprobstop_puser
View API reference

Make your first request

View full setup
curl --fail-with-body https://gateway.primexos.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-4.1","messages":[{"role":"user","content":"Hello from Primex"}],"stream":false}'

Executing this request uses your account’s API credits.