Skip to contentК содержанию
LLMcode
ModelsМоделиPricingЦеныInstructionsИнструкцииDocsДокументацияNewsНовости
ENRU
EnglishРусский
Sign inВойтиCreate accountСоздать аккаунтAccountАккаунт
MenuМеню
ModelsМоделиPricingЦеныInstructionsИнструкцииDocsДокументацияNewsНовостиCreate accountСоздать аккаунт
LLMcode

Model names in the API are LLMcode profiles with their own routing. They do not mean direct access to the same-named models of OpenAI LLC or Anthropic PBC. Trademarks belong to their owners. The service is independent and is not affiliated with OpenAI or Anthropic.Названия моделей в API — профили LLMcode с собственной маршрутизацией. Они не означают прямой доступ к одноимённым моделям OpenAI LLC или Anthropic PBC. Товарные знаки принадлежат их правообладателям. Сервис независим и не аффилирован с OpenAI/Anthropic.

CatalogКаталог

ModelsМоделиPricingЦеныInstructionsИнструкцииDocsДокументацияKey checkПроверка ключа

LegalДокументы

OfferОфертаPrivacyКонфиденциальностьConsentСогласиеAcceptable useДопустимое использованиеRefundВозврат

LearnМатериалы

GuidesГайдыComparisonsСравненияAlternativesАльтернативыIntegrationsИнтеграцииUse casesСценарииGlossaryГлоссарийNewsНовостиRSSTelegramTelegram-канал
HomeГлавнаяModelsМоделиPricingЦеныSign inВойтиAccountАккаунт

Quick startБыстрый старт

InstructionsИнструкции

Top up your balance, create a token for a published model, and connect the tool you already use. One key works for OpenAI- and Anthropic-compatible clients.Пополните баланс, создайте токен под опубликованную модель и подключите инструмент, которым уже пользуетесь. Один ключ работает для OpenAI- и Anthropic-совместимых клиентов.

Top up balanceПополнить балансCreate a tokenСоздать токен

StartНачало

Four stepsЧетыре шага

  1. 01

    Top up the balanceПополните баланс

    Open the cabinet, enter any amount from $10 and pay the invoice. The paid amount is credited as UT at 1 USD = 1,000,000 UT.Откройте кабинет, введите сумму от $10 и оплатите счёт. Оплата зачисляется в UT по курсу 1 USD = 1 000 000 UT.

  2. 02

    Create a token for a modelСоздайте токен под модель

    Pick one published profile and create a token. The secret is shown once. Several tokens can use the same profile.Выберите опубликованный профиль и создайте токен. Секрет показывается один раз. Несколько токенов могут использовать один профиль.

  3. 03

    Choose the base URLВыберите base URL

    OpenAI-compatible tools use https://llmcode.io/v1. Anthropic tools use https://llmcode.io without /v1.Инструменты с OpenAI-совместимым API используют https://llmcode.io/v1. Anthropic-инструменты — https://llmcode.io без /v1.

  4. 04

    Send the first requestОтправьте первый запрос

    Put the token in the Authorization header or in x-api-key. Chat, messages, responses and embeddings share one base URL.Передайте токен в заголовке Authorization или в x-api-key. Chat, messages, responses и embeddings используют один base URL.

APIAPI

Base URLs and authenticationBase URL и аутентификация

OpenAI-compatible base URLBase URL для OpenAI-совместимых

https://llmcode.io/v1

POST /chat/completions, /responses, /embeddings; GET /models.POST /chat/completions, /responses, /embeddings; GET /models.

Anthropic Messages base URLBase URL для Anthropic Messages

https://llmcode.io

POST /v1/messages. No /v1 in the base URL expected by the SDK.POST /v1/messages. В base URL для SDK — без /v1.

OpenAI authenticationАутентификация OpenAI

Authorization: Bearer $LLMCODE_API_KEY

The token starts with sk-llmcode-.Токен начинается с sk-llmcode-.

Anthropic authenticationАутентификация Anthropic

x-api-key: $LLMCODE_API_KEY

Send anthropic-version: 2023-06-01 as with the native API.Передайте anthropic-version: 2023-06-01, как в нативном API.

CatalogКаталог

Models and pricesМодели и цены

A published profile is the value you send as model. Prices are USD per 1M tokens.Опубликованный профиль — это значение, которое вы отправляете как model. Цены — в USD за 1M токенов.

ModelМодельDescriptionОписаниеInput, per 1MВход, за 1MOutput, per 1MВыход, за 1MCache, per 1MКэш, за 1M
claude-opus-5-5Flagship Claude model for complex work: long context, strong reasoning and coding.Флагманская модель Claude для сложных задач: длинный контекст, сильное рассуждение и код.$2.70$8.00$0.14
deepseek-flashFast, low-cost DeepSeek model for everyday chat, drafts and bulk tasks.Быстрая и недорогая модель DeepSeek для повседневных задач, черновиков и больших объёмов.$0.50$2.00$0.01
claude-sonnet-5-5Balanced Claude model: fast, strong coding and writing at a lower price.Сбалансированная модель Claude: быстрая, сильна в коде и текстах, дешевле флагмана.$1.33$6.67$0.07
deepseek-v4-proStronger DeepSeek model for reasoning, long context and production workloads.Более сильная модель DeepSeek для рассуждений, длинного контекста и рабочих задач.$2.20$6.60$0.07

Open the model catalogОткрыть каталог моделей

AgentsАгенты

Tool configurationsНастройки инструментов

Copy the block for your tool. The token stays in an environment variable and is never pasted into a shared file.Скопируйте блок для своего инструмента. Токен остаётся в переменной окружения и не попадает в общий файл.

opencode

Put the token in LLMCODE_API_KEY. The model name is the published profile from the table above.Положите токен в LLMCODE_API_KEY. Имя модели — опубликованный профиль из таблицы выше.

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "llmcode": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "LLMcode",
      "options": {
        "baseURL": "https://llmcode.io/v1",
        "apiKey": "{env:LLMCODE_API_KEY}"
      },
      "models": { "deepseek-flash": {} }
    }
  }
}
VS Code (LLMcode extension)

Provider block — the opencode entry above. Put a published profile after llmcode/; a faster profile keeps autocomplete latency low.Блок провайдера — запись opencode выше. После llmcode/ укажите опубликованный профиль; для автодополнения лучше быстрый профиль.

{
  "chat.defaultModel": "llmcode/deepseek-flash",
  "llmcode.autocomplete.enabled": true,
  "llmcode.autocomplete.model": "llmcode/deepseek-flash"
}
Claude Code

ANTHROPIC_BASE_URL has no /v1. The two model variables point to the matching published profiles.ANTHROPIC_BASE_URL — без /v1. Две переменные модели указывают на соответствующие опубликованные профили.

export ANTHROPIC_BASE_URL="https://llmcode.io"
export ANTHROPIC_AUTH_TOKEN="$LLMCODE_API_KEY"
export ANTHROPIC_DEFAULT_OPUS_MODEL="claude-opus-5-5"
export ANTHROPIC_DEFAULT_SONNET_MODEL="claude-sonnet-5-5"

claude /status

Windows · PowerShell

$env:ANTHROPIC_BASE_URL = "https://llmcode.io"
$env:ANTHROPIC_AUTH_TOKEN = "$env:LLMCODE_API_KEY"
$env:ANTHROPIC_DEFAULT_OPUS_MODEL = "claude-opus-5-5"
$env:ANTHROPIC_DEFAULT_SONNET_MODEL = "claude-sonnet-5-5"

claude /status
Codex CLI

Add the provider to ~/.codex/config.toml and keep the key in the environment.Добавьте провайдера в ~/.codex/config.toml, ключ держите в окружении.

model = "deepseek-flash"
model_provider = "llmcode"

[model_providers.llmcode]
name = "LLMcode"
base_url = "https://llmcode.io/v1"
env_key = "LLMCODE_API_KEY"
wire_api = "responses"

Windows

%USERPROFILE%\.codex\config.toml
Cursor

Settings → Models → OpenAI API Key. Enable the override and add the profile as a custom model.Settings → Models → OpenAI API Key. Включите override и добавьте профиль как кастомную модель.

OpenAI API Key: $LLMCODE_API_KEY
Override Base URL: https://llmcode.io/v1
Custom model name: deepseek-flash
Cline / Roo Code

Use the OpenAI Compatible provider; the profile is the Model ID.Провайдер OpenAI Compatible; профиль — это Model ID.

API Provider: OpenAI Compatible
Base URL: https://llmcode.io/v1
API Key: $LLMCODE_API_KEY
Model ID: deepseek-flash
Continue

Add the profile to the models list in config.json.Добавьте профиль в список models в config.json.

{
  "models": [
    {
      "title": "LLMcode deepseek-flash",
      "provider": "openai",
      "model": "deepseek-flash",
      "apiBase": "https://llmcode.io/v1",
      "apiKey": "$LLMCODE_API_KEY"
    }
  ]
}
OpenWebUI

Settings → Connections → OpenAI API. The key is shown once in the cabinet.Settings → Connections → OpenAI API. Ключ показывается в кабинете один раз.

API Base URL: https://llmcode.io/v1
API Key: $LLMCODE_API_KEY
Model: deepseek-flash
curl

One request to the OpenAI-compatible chat endpoint.Один запрос к OpenAI-совместимому chat-endpoint.

curl https://llmcode.io/v1/chat/completions \
  -H "Authorization: Bearer $LLMCODE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek-flash","messages":[{"role":"user","content":"hi"}]}'

Windows · PowerShell

curl.exe https://llmcode.io/v1/chat/completions `
  -H "Authorization: Bearer $env:LLMCODE_API_KEY" `
  -H "Content-Type: application/json" `
  -d '{"model":"deepseek-flash","messages":[{"role":"user","content":"hi"}]}'

DesktopДесктоп

Desktop appsДесктоп-приложения

GUI apps that connect to the API directly. The token stays in an environment variable, never in a shared file.Десктоп-приложения, которые обращаются к API напрямую. Токен остаётся в переменной окружения, а не в общем файле.

VS Code (LLMcode extension)

Install the extension, then point chat and autocomplete at the published profile.Установите расширение и укажите опубликованный профиль для чата и автодополнения.

{
  "chat.defaultModel": "llmcode/deepseek-flash",
  "llmcode.autocomplete.enabled": true,
  "llmcode.autocomplete.model": "llmcode/deepseek-flash"
}

Cursor

Settings → Models → OpenAI API Key. Enable the override and add the profile as a custom model.Settings → Models → OpenAI API Key. Включите override и добавьте профиль как кастомную модель.

OpenAI API Key: $LLMCODE_API_KEY
Override Base URL: https://llmcode.io/v1
Custom model name: deepseek-flash

Cline / Roo Code

Use the OpenAI Compatible provider; the profile is the Model ID.Провайдер OpenAI Compatible; профиль — это Model ID.

API Provider: OpenAI Compatible
Base URL: https://llmcode.io/v1
API Key: $LLMCODE_API_KEY
Model ID: deepseek-flash

Claude Desktop

Help → Troubleshooting → Enable Developer Mode, then Developer → Configure third-party inference. Pick the Gateway and choose the published profile as the model.Help → Troubleshooting → Enable Developer Mode, затем Developer → Configure third-party inference. Выберите Gateway и опубликованный профиль как модель.

Inference provider: Gateway
Gateway base URL: https://llmcode.io
Gateway auth scheme: x-api-key
Gateway API key: $LLMCODE_API_KEY

EditorРедактор

VS Code extensionРасширение VS Code

The LLMcode extension runs the opencode engine inside VS Code: the same token drives native chat, the @llmcode agent, Ctrl+K edits and tab completion. Requests are charged to your token balance like any API call.Расширение LLMcode запускает движок opencode внутри VS Code: один токен работает в нативном чате, агенте @llmcode, правках Ctrl+K и автодополнении. Запросы списываются с баланса токена, как и обычные вызовы API.

code --install-extension llmcode.llmcode
  1. 01

    Install the extensionУстановите расширение

    Run the command above or install LLMcode from the Marketplace, then reload the window: the extension activates on startup.Выполните команду выше или установите LLMcode из Marketplace, затем перезагрузите окно: расширение запускается при старте.

  2. 02

    Prepare the engineПодготовьте движок

    The extension runs the opencode CLI. If it is missing, run LLMcode: Check opencode Installation and accept the installer in the integrated terminal.Расширение работает на CLI opencode. Если его нет, выполните LLMcode: Check opencode Installation и примите установку в интегрированном терминале.

  3. 03

    Connect the providerПодключите провайдер

    Add the opencode provider block from the tool list above to ~/.config/opencode/opencode.json and keep the token in LLMCODE_API_KEY. List every published profile you want in the models map; a token without a model restriction may use all of them.Добавьте блок провайдера opencode из списка инструментов выше в ~/.config/opencode/opencode.json, токен держите в LLMCODE_API_KEY. Перечислите в models нужные опубликованные профили; токен без ограничения по модели может использовать все.

  4. 04

    Pick the modelВыберите модель

    In the chat, choose LLMcode (opencode) in the model picker or address @llmcode. chat.defaultModel and llmcode.autocomplete.model pin the defaults, LLMcode: Show Model Log shows which model answered, and Take Over Inline Suggestions disables Copilot ghost text.В чате выберите LLMcode (opencode) в списке моделей или обратитесь к @llmcode. chat.defaultModel и llmcode.autocomplete.model задают значения по умолчанию, LLMcode: Show Model Log показывает отвечавшую модель, Take Over Inline Suggestions отключает подсказки Copilot.

The extension adds no telemetry and keeps the token in the opencode config. After editing opencode.json, reload the window so the engine rereads the provider list.Расширение не добавляет телеметрию и хранит токен в конфигурации opencode. После правки opencode.json перезагрузите окно, чтобы движок перечитал список провайдеров.

RulesПравила

Token limitsЛимиты токена

  • A token belongs to one account and one published profile.Токен принадлежит одному аккаунту и одному опубликованному профилю.
  • Several tokens can use the same profile; each has its own UT limit, IP list, expiry and status.Несколько токенов могут использовать один профиль; у каждого свой лимит UT, список IP, срок и статус.
  • The default account limit is 20 active tokens. The operator can change it.Лимит аккаунта по умолчанию — 20 активных токенов. Оператор может его изменить.
  • Default rate: 600 requests per minute and 60 concurrent streams. The operator can change it.Базовый лимит: 600 запросов в минуту и 60 одновременных стримов. Оператор может его изменить.
  • A revoked or blocked token returns 401. A token that is not allowed to use the model returns 403.Отозванный или заблокированный токен возвращает 401. Токен без доступа к модели — 403.

ErrorsОшибки

Response codesКоды ответов

HTTPCodeКодMeaningЗначение
400invalid_request_bodyThe request body, model or messages field is not valid.Тело запроса, модель или поле сообщений неверны.
401invalid_api_keyThe token is missing, invalid, revoked or expired.Токен отсутствует, неверен, отозван или истёк.
402insufficient_quotaThe account balance or the token limit is too low.Недостаточно баланса аккаунта или лимита токена.
403model_not_allowedThe token is not allowed to use this profile.Токену не разрешён этот профиль.
403ip_not_allowedThe request IP is not in the token IP list.IP запроса не входит в список IP токена.
404model_not_foundThe profile is not published or has no active price.Профиль не опубликован или у него нет действующей цены.
429rate_limit_exceededThe request rate limit is exceeded.Превышен лимит частоты запросов.
500internal_errorUnexpected gateway error. A retry with the same request id is safe.Непредвиденная ошибка шлюза. Повтор с тем же request id безопасен.
503upstream_unavailableThe upstream is unavailable; the hold is released.Апстрим недоступен; удержание снимается.

More about the APIПодробнее об API

Model names in the API are LLMcode profiles with their own routing. They do not mean direct access to the same-named models of OpenAI LLC or Anthropic PBC. Trademarks belong to their owners. The service is independent and is not affiliated with OpenAI or Anthropic.Названия моделей в API — профили LLMcode с собственной маршрутизацией. Они не означают прямой доступ к одноимённым моделям OpenAI LLC или Anthropic PBC. Товарные знаки принадлежат их правообладателям. Сервис независим и не аффилирован с OpenAI/Anthropic.