GPT model

GPT Coding

Coding-focused model for generation, refactoring, reviews and technical tasks.

0,55 ₽ / 1M input → 2,75 ₽ / 1M output

Характеристики

Sluggpt-coding
СемействоGPT
Контекст128K tokens
Capabilitieschat, responses
Владелецai-api-hub

Маршруты

Primary routehealthy
Reserve routehealthy

Тарификация

Input tokens0,55 ₽ / 1M
Output tokens2,75 ₽ / 1M
Валюта₽ (RUB)

Пример запроса

cURL
curl http://127.0.0.1:8080/chat/completions \
  -H "Authorization: Bearer $AI_HUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-coding",
    "messages": [{"role": "user", "content": "Привет"}]
  }'
Node.js
import OpenAI from "openai";

const openai = new OpenAI({
  apiKey: process.env.AI_HUB_API_KEY,
  baseURL: "http://127.0.0.1:8080"
});

const completion = await openai.chat.completions.create({
  model: "gpt-coding",
  messages: [{ role: "user", content: "Привет" }]
});

console.log(completion.choices[0].message.content);

Цены по маршрутам

Актуальные розничные цены для каждого провайдера и единицы тарификации.

ПровайдерЕдиницаРозничная ценаСебестоимость
grsaiinput_tokens0,55 ₽ / 1M0,2 ₽ / 1M
grsaioutput_tokens2,75 ₽ / 1M1,2 ₽ / 1M
grsaioutput_tokens2,75 ₽ / 1M1,2 ₽ / 1M
grsaioutput_tokens2,75 ₽ / 1M1,2 ₽ / 1M
openrouterinput_tokens0,55 ₽ / 1M0,2 ₽ / 1M
openrouterinput_tokens0,55 ₽ / 1M0,2 ₽ / 1M
openrouteroutput_tokens2,75 ₽ / 1M1,2 ₽ / 1M
openrouteroutput_tokens2,75 ₽ / 1M1,2 ₽ / 1M