Alla modellercodeGPT-5.1 Codex

GPT-5.1 Codex

av OpenAIPremium

Testa på Kunya
code

GPT-5.1 Codex

Optimized for agentic coding

Modell-ID:gpt-5.1-codex

API-dokumentation

Generate chat completions with this model.

POST/api/v1/chat/completions
GET /api/v1/models?type=chat
Request body
{
  "model": "gpt-5.1-codex",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ],
  "stream": false
}
cURL-exempel
curl -X POST https://kunya.ai/api/v1/chat/completions \
  -H "Authorization: Bearer kunya_YOUR_API_KEY" \
  -H "Content-Type: application/json"
  -d '{"model":"gpt-5.1-codex","messages":[{"role":"user","content":"Hello!"}],"stream":false}'

Anteckningar

  • •OpenAI-compatible endpoint — works with any Kunya API key.
  • •Set `"stream": true` for server-sent events.

Priser

Indata$5.2 per 1M tokens
Utdata$15.6 per 1M tokens
Kontextfönster128K

Funktioner

Streaming Ja
Vision Nej
Resonemang Nej
Verktyg Nej
LeverantörOpenAI
Testa på Kunya

Liknande modeller

GPT-5 Codex

OpenAI

Optimized for agentic coding in Codex

API-dokumentation

GPT-5.3 Codex

OpenAI

Most capable agentic coding model with frontier reasoning

API-dokumentation

Qwen3 Coder Plus

Qwen

Enhanced coding model

API-dokumentation

Devstral 2512

Mistral

123B agentic coding model with 256K context

API-dokumentation