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Аккаунт
LLMcode/Integrations/Dify with an OpenAI-compatible model provider

Integration

Dify with an OpenAI-compatible model provider

Dify ships an OpenAI-API-compatible provider. That is the correct integration point: base URL, key and model name.

Updated 2026-11-16

Provider setup

In Dify settings, add a model provider of type OpenAI-API-compatible. Set the base URL to https://llmcode.io/v1 and paste the key.

Add the published model slugs as model names. If Dify offers a model list fetch, it should return the catalog.

Workflows

Workflow and agent nodes can call the model repeatedly. Use a dedicated key with a spend limit and set max_tokens per node.

Long knowledge-base prompts increase input cost; measure one run before scaling a workflow.

Embeddings

Dify can use an OpenAI-compatible embeddings endpoint. LLMcode serves POST /v1/embeddings; check that the chosen model is published before indexing a knowledge base.

Connect

Provider fields
Provider type: OpenAI-API-compatible
Base URL: https://llmcode.io/v1
API key:  sk-llmcode-…
Model:    flash

Published model prices

USD per 1M tokens. The numbers come from the public catalog on every page rebuild — this is the sale price, not an estimate.

ModelInputOutputCache
Claude Opus 5.5$2.70$8.00$0.14
DeepSeek Flash$0.50$2.00$0.01
Claude Sonnet 5.5$1.33$6.67$0.07
DeepSeek V4 Pro$2.20$6.60$0.07

Top-up from $10, balance in USD. 1 USD = 1,000,000 UT. No subscription and no auto-charge.

Questions

Which provider type in Dify?

OpenAI-API-compatible, with base URL https://llmcode.io/v1.

Can I use embeddings?

Yes, if an embedding model is published in the catalog. Check /models before configuring the knowledge base.

How do I control workflow cost?

A dedicated key with a spend limit, max_tokens per node and a measured test run.

See also

All setup instructionsModels and pricesAPI docs

One key for every model

OpenAI- and Anthropic-compatible endpoints, balance in USD, top-up from $10.

Create accountPricing
Base URL
https://llmcode.io/v1
Key format
sk-llmcode-…