GPT-5

OpenAI
Compatibility aliasopenai/gpt-5.2

A backwards-compatible NinjaChat API alias that currently serves OpenAI GPT-5.2 for advanced reasoning, code generation, and multimodal analysis.

Model highlights
  • Advanced reasoning and analysis
  • Code generation and debugging
  • Text and image input
  • Multi-turn conversations
  • Function calling support
  • 400K context window
Modalities
IntextimageOuttext
Input / output
$1.75 / $14.00USD per 1M tokens
Context
400K
Providers
Live
Released
Dec 11, 2025
Knowledge cutoff
August 31, 2025

Playground

Preparing playground

Providers

primary10.3s100%

Performance

Request success
100%
Time to first token
1.6s
Generation speed
51.6tok/s

Response latency estimates

Time to first token

Generation speed · tok/s

Request success

Text-model timing and speed, plus API request success. Daily latency percentiles are estimates. Your request logs

API

POST/api/v1/chat/completionsOpenAI-compatible
gpt-5
curl https://www.ninjachat.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $NINJACHAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
messagestemperaturemax_completion_tokenstop_pstopfrequency_penaltypresence_penaltyseedstreamuserroutingtoolstool_choiceresponse_formatimage_url content partsreasoningreasoning_effort

Pricing

Input
$1.75/M tokens
Cached input
$0.175/M tokens
Output
$14.00/M tokens

Published USD rates. Actual cost depends on input, output, cache usage and request options.