메인 콘텐츠로 건너뛰기
FIM One은 LLM 제공자 및 모델을 관리하기 위한 완전한 기능의 관리자 UI를 제공합니다. 이 가이드는 제공자를 추가하고, 개별 모델을 구성하고, 고급 구조화된 출력 설정을 조정하고, 한 번의 클릭으로 전환하기 위해 모델을 그룹으로 구성하는 방법을 다룹니다. ENV 기반 구성(관리자 UI 없음)은 환경 변수를 참조하세요. 모델 선택 권장사항은 권장 모델을 참조하세요.

아키텍처: 제공자, 모델, 그룹

FIM One은 LLM 구성을 세 가지 계층으로 정리합니다:

Adding a Provider

1

Open the Models page

Open Admin Panel from the user menu and select the Models tab.
2

Click Add Provider

Click the Add Provider button in the top-right area of the Providers section.
3

Select a preset or use a custom endpoint

The dialog offers presets for 16 providers — OpenAI, Anthropic (Claude), Google Gemini, DeepSeek, Mistral AI, xAI (Grok), OpenRouter, Ollama, and the China and Global endpoints of Qwen, GLM, Moonshot and MiniMax — plus OpenAI Compatible (custom endpoint). Clicking a preset auto-fills the provider name and base URL.Choose OpenAI Compatible if your provider is not listed (e.g., a third-party relay or any other OpenAI-compatible endpoint).
4

Enter credentials

Fill in the required fields:
  • Provider Name — A friendly label (e.g., “My OpenAI Account”). This is for your reference only.
  • Base URL — The API endpoint. Presets fill this automatically. For custom endpoints, enter the full URL (e.g., http://localhost:11434/v1 for Ollama).
  • API Key — Your provider’s API key. With the Ollama preset the API key can be left empty.
5

Save

Click Create. The provider appears in the list, ready for you to add models under it.
You can create multiple providers for the same service. For example, two “OpenAI” providers with different API keys for separate billing accounts, or an “Anthropic (Direct)” and “Anthropic (via Bedrock)” with different base URLs.

Adding a Model

1

Expand a provider

On the Models page, click the chevron next to an existing provider to expand it and see its models.
2

Click Add Model

Click the Add Model button that appears under the expanded provider.
3

Enter model details

Fill in the two required fields:
  • Display Name — A human-readable name shown in the UI (e.g., “GPT-4o”, “Claude Sonnet”). Can be anything you like.
  • Model ID — The exact model identifier sent to the API (e.g., gpt-4o, claude-sonnet-4-6, deepseek-chat). This must match what your provider expects.
4

Configure advanced settings (optional)

Click the Advanced toggle to reveal additional settings: Max Output Tokens, Context Size, Temperature, Native Function Calling, JSON Mode, and Vision Support (whether the model accepts images; see Document Processing). See the Advanced Settings section below for details on each.
5

Save

Click Create. The model appears under its provider and is now available for assignment to model groups.

고급 설정

각 모델에는 FIM One이 구조화된 출력 추출을 위해 제공자의 API와 상호작용하는 방식을 제어하는 고급 설정이 있습니다. 이러한 설정은 모델 생성/편집 대화상자의 Advanced 토글 아래에 있습니다.

네이티브 함수 호출

설정 이름: Native Function Calling (저장 이름: tool_choice_enabled) 기본값: ON FIM One이 구조화된 출력 추출을 위해 강제 tool_choice를 사용할지 여부를 제어합니다. 이는 구조화된 출력 저하 체인의 Level 1입니다 — 모델이 지원할 때 가장 신뢰할 수 있는 방법입니다. 비활성화할 때:
  • 모델이 "tool_choice 'specified' is incompatible with thinking enabled"와 같은 오류를 반환합니다. 이는 사고 모델의 속성이 아닌 제공자별 규칙입니다: deepseek-reasoner와 사고 기능이 있는 Kimi 모델은 강제 도구 선택을 거부하지만, MiniMax는 모든 호출에서 사고하고 이를 수락합니다. 제공자 기능 매트릭스의 표 B에는 각 제공자에 대한 판정이 있습니다
  • 구조화된 출력 요청이 호출당 약 10초의 페널티로 일관되게 느리고, 그 후 JSON Mode로 폴백됩니다
비활성화 시 효과: FIM One은 Level 1(네이티브 함수 호출)을 건너뛰고 구조화된 출력에 대해 Level 2(JSON Mode)부터 시작합니다. ReAct 에이전트의 도구 호출은 완전히 영향을 받지 않습니다 — 이 설정과 관계없이 모든 모델에서 작동하는 tool_choice="auto"를 사용합니다.
이 설정은 구조화된 출력 추출에 사용되는 강제 도구 선택(DAG 계획, 스키마 주석)에만 영향을 미칩니다. ReAct 에이전트에는 영향을 미치지 않으며, 이는 tool_choice="auto"를 사용하여 자유롭게 도구 호출 시기를 결정합니다.
기술 세부 정보는 LLM 제공자 호환성 — tool_choice_enabled를 참조하세요.

JSON Mode

Setting name: JSON Mode (stored as json_mode_enabled) Default: ON FIM One이 구조화된 출력을 위해 response_format=json_object를 사용하는지 여부를 제어합니다. 이는 성능 저하 체인의 Level 2입니다. 비활성화할 시기:
  • 제공자가 어시스턴트 메시지 프리필을 거부하는 경우 — 주로 AWS Bedrock 릴레이로, "This model does not support assistant message prefill" 오류를 발생시킵니다.
비활성화 시 효과: FIM One은 Level 2(JSON Mode)를 건너뛰고 Level 3(일반 텍스트 추출)로 폴백합니다. 최신 모델은 프롬프트 지시사항만으로도 유효한 JSON을 생성하므로 일반적으로 품질 손실이 없습니다. 기술적 세부 사항은 LLM Provider Compatibility — json_mode_enabled를 참조하세요.

Temperature

Default: 0.7 (inherited from the global setting if left unset) Controls the randomness of model output. Range: 0 (deterministic) to 2 (highly creative).
When reasoning/extended thinking is enabled for Anthropic models, the system handles temperature: Claude 4.5 and older are sent 1.0, and Claude 4.6 and newer have the parameter removed. You do not need to set this manually.

최대 출력 토큰

모델이 단일 응답에서 생성할 수 있는 최대 토큰 수입니다. 시스템 기본값(64,000)을 사용하려면 비워두세요. VRAM이 제한된 로컬 모델의 경우 이를 더 낮은 값(예: 8192)으로 명시적으로 설정하세요.

컨텍스트 크기

모델의 컨텍스트 윈도우 크기(토큰 단위). 시스템 기본값(128,000)을 사용하려면 비워두세요. 로컬 모델의 경우 모델과 사용 가능한 메모리에 따라 4K-32K인 경우가 많으므로 모델의 실제 기능과 일치하도록 설정하세요.

권장 구성

대부분의 모델은 기본 설정(두 토글 모두 ON)으로 올바르게 작동합니다. 오류나 불필요한 지연이 발생할 때만 조정하세요. 아래 표는 일반적인 제공자와 모델을 다룹니다. 데이터는 UniAPI 기능 태그에서 소싱되었으며 2026-03-22 기준 런타임 동작에 대해 검증되었습니다. 모델 기능은 자주 변경됩니다 — 오류가 발생하면 제공자의 최신 문서를 확인하세요. 이것은 모델을 추가할 때 어떤 토글을 설정할지에 대한 모델별 운영자 보기입니다. 이것이 따르는 제공자 수준의 규칙과 이를 구현하는 코드 앵커는 Provider Capability Matrix에 있습니다. 둘이 불일치하는 경우 행렬이 권위 있으며 이 표를 업데이트해야 합니다.

빠른 규칙

  • Native FC ON 함수 호출을 지원하는 모델의 경우 (대부분의 최신 모델)
  • Native FC OFF 강제 tool_choice를 거부하는 항상 사고 중인 모델의 경우
  • JSON Mode ON 대부분의 모델의 경우 (안전한 기본값)
  • JSON Mode OFF AWS Bedrock 릴레이의 경우만 (프리필 거부)

제공자별 구성 매트릭스

OpenAI Anthropic (Claude) Google Gemini DeepSeek xAI (Grok) Qwen (Alibaba Cloud) Zhipu (GLM) Moonshot (Kimi) MiniMax ByteDance (Doubao) Meta (Llama)
Max Output의 ”—” 는 제공자가 제한을 보고하지 않았음을 의미합니다. 실제로 이러한 모델은 일반적으로 4K-16K 출력 토큰을 지원합니다. 특정 값이 필요한 경우 모델의 Advanced 설정에서 Max Output Tokens을 명시적으로 설정하세요.
진단 방법: 애플리케이션 로그에서 structured_llm_call: native_fc call raised 경고를 확인하세요. 이러한 경고 다음에 JSON Mode 추출이 성공하면 해당 모델은 기본 함수 호출의 이점을 얻지 못합니다. 낭비되는 API 호출과 구조화된 출력 요청당 약 10초의 지연 페널티를 제거하기 위해 해당 모델에 대해 Native Function Calling을 비활성화하세요.
모델 기능은 제공자가 API를 업데이트함에 따라 자주 변경됩니다. 위의 권장 사항은 2026-03-26 데이터(UniAPI 기능 태그 + 프로덕션 런타임 검증)를 기반으로 합니다. 이전에 작동하던 모델이 오류를 반환하기 시작하면 제공자의 변경 로그에서 주요 변경 사항을 확인하세요.

모델 그룹

모델 그룹을 사용하면 모델을 특정 역할에 할당하고 한 번의 클릭으로 구성을 전환할 수 있습니다.

Roles

FIM One uses three model roles. Each role serves a different purpose in the execution pipeline:

모델 그룹 생성

1

Groups 섹션 열기

Admin > Models 페이지에서 Model Groups 섹션으로 스크롤합니다.
2

Add Group 클릭

Add Group 버튼을 클릭합니다.
3

그룹 이름 지정

설명적인 이름을 입력합니다 (예: “Production (OpenAI)”, “Budget (DeepSeek)”, “Local Dev”).
4

역할에 모델 할당

각 역할(General, Fast, Reasoning)에 대해 드롭다운에서 모델을 선택합니다. 드롭다운에는 활성 제공자의 모든 활성 모델이 제공자 이름별로 그룹화되어 표시됩니다. 역할을 할당하지 않은 채로 둘 수 있습니다 — General 모델로 폴백되거나 General도 할당되지 않은 경우 ENV 구성 모델로 폴백됩니다.
5

저장

Create를 클릭합니다. 이제 그룹을 활성화할 수 있습니다.

Activating a Group

To activate a model group, use the dropdown or activation control on the Models page. Only one group can be active at a time. Activating a group applies its model assignments to the next message in every conversation. To deactivate the current group (falling back to ENV-configured models), select the deactivate option.
Switching the active model group takes effect system-wide on the next message in every conversation, new or existing. A response that is already streaming finishes on the previous model.

Domain-Aware Model Escalation

When the domain classifier detects a specialist domain — by default legal, medical, financial, tax, compliance, or patent (ESCALATION_DOMAINS) — the system automatically escalates model selection beyond the normal role assignments:
  • ReAct mode: The general model is replaced by the reasoning model (registry.get_by_role("reasoning")). This means the Reasoning slot in your Model Group is not only used for DAG model_hint="reasoning" steps — it also serves as the escalation target for domain-specific ReAct tasks.
  • DAG mode: Domain context is injected into the planner prompt, guiding it to assign model_hint="reasoning" to steps requiring specialist accuracy.
This escalation is automatic and requires no configuration beyond having a Reasoning model assigned in your active Model Group (or via the REASONING_LLM_MODEL env var). Related environment variables:
If your workload involves legal, medical, or financial queries, ensure your Reasoning model is a strong reasoner (e.g., o3, claude-opus-4-6, deepseek-reasoner). The automatic escalation relies on this slot being populated with a model that can handle domain-critical accuracy requirements.

ENV 폴백

활성 관리자 구성 모델 그룹이 없을 때 FIM One은 ENV 기반 구성으로 폴백합니다: 관리자 구성 모델은 항상 ENV 변수보다 우선합니다. 시스템 상태 확인은 두 소스를 모두 고려합니다. 활성 모델 그룹 또는 유효한 ENV 변수 중 하나라도 구성되어 있으면 LLM 서브시스템은 정상으로 보고됩니다. 전체 ENV 참조는 환경 변수를 참조하세요.

Export and Import

The Models page supports exporting your entire provider and model configuration (providers, models, and groups) as a JSON file, and importing it on another instance. This is useful for:
  • Migrating configuration between development, staging, and production environments
  • Sharing a known-good model setup with team members
  • Backing up your configuration before making changes
Exported configuration does not include API keys. The import dialog asks for a key for each new provider; providers that already exist keep theirs.