Skip to content

Self-improving AI Employees for everyone

chore: refresh stale tracked artifacts (gitignore, docs, lockfile, model registry)

trohitg880a7a4cf476
diff --git a/.gitignore b/.gitignore
index 0393e765..f38bcadd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -120,9 +120,17 @@ pnpm-store/
*.cache
# =============================================================================
-# Claude Code configuration
+# Claude Code configuration + per-workflow runtime data
# =============================================================================
+# Claude Code's local config / session state / scheduled tasks.
.claude/
+# Per-workflow runtime workspace (CLAUDE.md "Per-Workflow Workspace
+# Directory" — `data/workspaces/<workflow_id>/`). User-uploaded files,
+# downloaded artifacts, agent-shell state. Always machine-local.
+/data/
+# Patch archive left behind by `git format-patch` during one-off
+# merges (see ../.merge-archive cleanup commits). Never committed.
+.merge-archive/
# =============================================================================
# Documentation (docs-MachinaOs is a separate GitHub project)
diff --git a/CLAUDE.md b/CLAUDE.md
index a44bb550..be1e1481 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -2072,15 +2072,21 @@ deploy_workflow() -> Sets up triggers, returns immediately
- **Execution Engine**: Routes AI nodes to Python Flask backend with auto-injection of API keys
#### Supported AI Providers & Models
-7 providers are available for aiAgent, chatAgent (Zeenie), and all specialized agents: OpenAI, Anthropic, Google (Gemini), DeepSeek, Kimi (Moonshot), Mistral, OpenRouter. Groq and Cerebras are available as standalone chat model nodes only. Model parameters (max output, context length, thinking type, temperature range) are managed by `ModelRegistryService` (`server/services/model_registry.py`) which fetches from OpenRouter and falls back to `server/config/llm_defaults.json`.
+9 providers are available for aiAgent, chatAgent (Zeenie), and all specialized agents: OpenAI, Anthropic, Google (Gemini), DeepSeek, Kimi (Moonshot), Mistral, OpenRouter, **Ollama**, **LM Studio**. Groq and Cerebras are available as standalone chat model nodes only. Model parameters (max output, context length, thinking type, temperature range) are managed by `ModelRegistryService` (`server/services/model_registry.py`) which fetches from OpenRouter for cloud models, and from the user's running local server (via `ollama.AsyncClient.ps()` / `lmstudio.AsyncClient.llm.list_loaded()`) for Ollama / LM Studio. Falls back to `server/config/llm_defaults.json` only when neither source is available.
**Dual-path execution architecture:**
-- **Native SDK path** (`execute_chat()`, `fetch_models()`): OpenAI, Anthropic, Gemini, OpenRouter, xAI, DeepSeek, Kimi, Mistral use the `openai` Python SDK via `services/llm/` layer with config-driven `base_url`. Factory: `create_provider(name, api_key)` with lazy imports.
+- **Native SDK path** (`execute_chat()`, `fetch_models()`): OpenAI, Anthropic, Gemini, OpenRouter, xAI, DeepSeek, Kimi, Mistral, Ollama, LM Studio use the `openai` Python SDK via `services/llm/` layer with config-driven `base_url`. Local providers (Ollama, LM Studio) ride the same OpenAI-compat path — `OpenAIProvider` is constructed with `base_url={user-stored URL}` so requests stay on `http://localhost:…` and never hit api.openai.com. Factory: `create_provider(name, api_key)` with lazy imports.
- **LangChain agent path** (`execute_agent()`, `execute_chat_agent()`): All providers use `ChatOpenAI` with `base_url` from `llm_defaults.json` + LangGraph for tool calling. OpenAI-compatible providers (DeepSeek, Kimi, Mistral) pass `max_tokens` via `extra_body` to bypass LangChain's `max_completion_tokens` conversion.
- **LangChain fallback** (`execute_chat()`): Groq, Cerebras still use LangChain `create_model()` + `chat_model.invoke()`.
- Native types aliased in ai.py: `NativeMessage`, `NativeThinkingConfig`, `LLMResponse` to avoid naming conflicts with LangChain's `ThinkingConfig`.
- Provider configs (base_url, models_endpoint, supported_params, temperature constraints) are driven by `server/config/llm_defaults.json` -- no hardcoded URLs in Python code.
+**Local LLM SDKs (Ollama, LM Studio):** the validator at [`server/nodes/model/_local_validator.py`](./server/nodes/model/_local_validator.py) probes the user's running server through the official Python SDKs (`ollama>=0.6.0`, `lmstudio>=1.5.0`) and reads only typed fields — no Modelfile-parameters parsing, no `/api/show` modelinfo dict-key hunting. `ollama.AsyncClient.ps()` returns a typed `ProcessResponse.Model` per loaded model with typed `context_length` + typed `ModelDetails` (family, parameter_size, quantization_level, format). `lmstudio.AsyncClient.llm.list_loaded()` returns `AsyncModelHandle` objects whose `get_info()` is a typed `LlmInstanceInfo` (`context_length`, `max_context_length`, `vision`, `trained_for_tool_use`, `architecture`, `params_string`, `format`). The validator persists every probed field into `EncryptedAPIKey.models["model_params"]` (the same JSON column as the model list) and calls `model_registry.register_local_model()` so the sync `get_context_length()` / `get_max_output_tokens()` lookups return real values. The registry also writes through to `model_registry.json` so per-model params survive process restart — the user doesn't have to re-click "Fetch" every time the server bounces.
+
+**Open-world providers** (`openrouter`, `ollama`, `lmstudio`) skip the model-name pattern check in `is_model_valid_for_provider` — local model names like `qwen/qwen3.6-27b` don't contain provider substrings, and the cloud-style filter would have produced a "invalid for provider … using default: <same name>" log line on every chat call. The upstream server still rejects genuinely missing models with a clear 404.
+
+**Provider detection** (`detect_ai_provider` in `server/constants.py`) substring-matches the node type's lowercase form. Local-server providers MUST be listed there — without `ollama` / `lmstudio` branches, `lmstudioChatModel` falls through to `'openai'` and `execute_chat` ends up calling api.openai.com with the local-server placeholder key. Same fix is required in the agent `provider` Literal in `ai_agent.py` / `chat_agent.py` / `_specialized.py`: the dropdown only offers the values listed there, and any local-LLM user picking a missing entry silently falls back to OpenAI cloud.
+
| Provider | Key Models | Context | Max Output | Thinking | Temp Range |
|----------|-----------|---------|-----------|----------|------------|
| **OpenAI** | GPT-5.2/5.1/5/5-mini/5-nano | 400K | 128K | effort (hybrid) | 0-2 |
@@ -2097,6 +2103,8 @@ deploy_workflow() -> Sets up triggers, returns immediately
| **Groq** | Llama 4 Scout, Llama 3.x, Qwen3-32b, GPT-OSS | 131K | 8-131K | format (Qwen3) | 0-2 |
| **OpenRouter** | 200+ models from multiple providers | varies | varies | varies | 0-2 |
| **Cerebras** | Llama 3.1-8b, GPT-OSS-120b, Qwen-3-235b | 32-131K | 8K | format (Qwen) | 0-1.5 |
+| **Ollama** | Whatever the user has pulled (qwen2.5, llama3.x, phi-3, deepseek-r1, ...) | per-loaded-model (typed via `ps()`) | ctx ÷ 4 (capped 4096) | none (per-model) | 0-2 |
+| **LM Studio** | Whatever the user has loaded in the LM Studio UI | per-loaded-model (typed via `LlmInstanceInfo.context_length`) | ctx ÷ 4 (capped 4096) | none (per-model) | 0-2 |
`_resolve_max_tokens()` in `ai.py` clamps user-requested max_tokens to the model's actual limit.
@@ -2175,7 +2183,7 @@ def create_model(self, provider: str, api_key: str, model: str,
**Use Cases:**
- Claude Code CLI proxy for Anthropic models
-- Ollama for local model serving
+- **Native Ollama / LM Studio support** — these are first-class providers (see "Local LLM SDKs" above). The user enters their server URL (e.g. `http://localhost:11434/v1`) in the Credentials Modal, the validator probes via the official SDK, and `{provider}_proxy` carries the URL into `OpenAIProvider`'s `base_url` at runtime. Identical mechanism, but the `base_url` resolves to the user's machine, not OpenAI cloud.
- Custom authentication proxies
- Development/testing with mock servers
@@ -5157,4 +5165,6 @@ This function:
- **`isMasterSkillEditor` uiHint replaces `node.type === 'masterSkill'` checks**: 6 frontend callsites (`Dashboard.tsx:98` component dispatch, `useAutoSkillEdges.ts` constant + edge filter, `MiddleSection.tsx` × 3) now read `getCachedNodeSpec(type)?.uiHints?.isMasterSkillEditor === true` instead of comparing the type string. The `MasterSkillNode` plugin already declared the hint — no backend change. Renaming the plugin's `type` is now a single backend edit followed by a NodeSpec deploy; the frontend never needs to know the string.
- **`--action-X-hover` triplet + ActionButton zero-arithmetic**: each of the 6 action roles (`run`/`stop`/`save`/`config`/`secret`/`tools`) now exposes a `-hover` variant (0.25 alpha) alongside the existing `-soft` (0.15) and `-border` (0.6). ActionButton's CVA reads `hover:bg-action-X-hover` directly; disabled state is the shadcn-idiomatic `disabled:opacity-50` on the base class. No per-token `/25`, `/40`, `/10` opacity arithmetic at any call site. Credential-modal panels (`OAuthConnect`, `EmailPanel`, `QrPairingPanel`) and the skill / tool-schema editors (`SkillEditorModal`, `ToolSchemaEditor`) consume `<ActionButton intent="...">` directly. `ActionDef` carries an `intent` key; the catalogue adapter maps server-sent `theme_color` palette strings to intents via `SERVER_COLOR_TO_INTENT`.
- **Credentials: DB as single source of truth + symmetric broadcasts + cache dedup**: `CredentialsDatabase` (encrypted SQLite) is canonical; every other layer is a derived cache with explicit invalidation. Backend `AuthService._memory_cache + _models_cache` collapsed into one `_api_key_cache: Dict[str, ApiKeyCacheEntry]` dataclass — single write/evict site. Per RFC 9700 (OAuth 2.0 BCP, 2024) the `_oauth_cache` no longer carries `refresh_token`; new `get_oauth_refresh_token(provider, customer)` reads from the encrypted DB on every call. `validate_api_key`, `save_api_key`, `delete_api_key`, `twitter_logout`, `google_logout` now broadcast symmetrically: `update_api_key_status` (in-memory map) + `broadcast_credential_event(...)` (refetch signal) wrapping `WorkflowEvent` (CloudEvents v1.0 from `services/events/envelope.py`, the same envelope the Wave 12 EventSource framework uses). The dead-letter `credential_catalogue_updated` event is finally emitted by the backend. Frontend retired the 200-LOC `client/src/components/credentials/providers.tsx` static fallback — `useCatalogueQuery` is the only source; cold-boot renders `<Skeleton>`, server-unreachable shows an explicit error state. `ApiKeyStatus.hasKey` mirror dropped (duplicated catalogue's `provider.stored`); two new selector hooks (`useProviderStored`, `useStoredProviderCount`) read the catalogue. Pytest invariant `test_credential_broadcasts.py` (14 tests) locks the broadcast contract via `inspect.getsource` introspection + the CloudEvents v1.0 envelope shape + AuthService DB-write-then-cache-update ordering + the no-refresh-token-in-cache rule.
+- **Local-LLM provider routing + per-model context**: Ollama and LM Studio are first-class providers (9 in total for agents now: cloud 7 + 2 local). Provider detection is driven by `detect_ai_provider` in `server/constants.py` plus the `provider` Literal in `nodes/agent/{ai_agent,chat_agent,_specialized}.py` — both MUST list `ollama` / `lmstudio` or chat-model nodes / agent dropdowns silently fall through to `'openai'` and `execute_chat` calls api.openai.com with the placeholder key. The validator at `nodes/model/_local_validator.py` probes via the official SDKs (`ollama.AsyncClient.ps()` for typed `ProcessResponse.Model`, `lmstudio.AsyncClient.llm.list_loaded()` for typed `LlmInstanceInfo`) — reads only typed fields (`context_length`, `max_context_length`, `vision`, `trained_for_tool_use`, `architecture`, `params_string`, `format`, plus Ollama's `details.{family,parameter_size,quantization_level}`). No regex, no Modelfile-parameters parsing, no `/api/show` modelinfo dict-key hunting. Per-model params persist in `EncryptedAPIKey.models["model_params"]` (via `save_api_key(model_params=...)`) AND in `model_registry.json` via `register_local_model()` — sync `get_context_length()` / `get_max_output_tokens()` find real values without async DB lookups, and entries survive process restart. `is_model_valid_for_provider` returns `True` for open-world providers (`openrouter` / `ollama` / `lmstudio`) so local model names like `qwen/qwen3.6-27b` aren't rejected by the cloud-style pattern check. Runtime path uses `OpenAIProvider(base_url={user_proxy_url}, api_key="ollama")` — traffic stays on `localhost`.
+- **Typed openai exception → NodeUserError**: `execute_chat` / `execute_agent` / `execute_chat_agent` in `services/ai.py` each have **one** `except openai.OpenAIError as e` block that re-raises `NodeUserError(str(e)) from e`. The openai SDK's typed exception hierarchy — `BadRequestError` (400, e.g. `n_keep > n_ctx` overflow), `AuthenticationError` (401), `PermissionDeniedError` (403), `NotFoundError` (404), `RateLimitError` (429), `APIConnectionError` (server unreachable), `APITimeoutError` — IS the user-correctable contract. `BaseNode.execute()` catches `NodeUserError` and logs at WARN with one line, no stacktrace. The plain `except Exception` block keeps the full-traceback path for real bugs. Zero string matching, zero flag plumbing, zero classification helpers. The `frontend toast` reads `response.message ?? response.error` so both clean envelopes (validator-style) and uncaught-error envelopes (handler-wrapper-style) surface a useful message.
- never use emojis in prints
\ No newline at end of file
diff --git a/docs-internal/credentials_encryption.md b/docs-internal/credentials_encryption.md
index 3ebcb9ab..376a4332 100644
--- a/docs-internal/credentials_encryption.md
+++ b/docs-internal/credentials_encryption.md
@@ -86,8 +86,9 @@ There are **two distinct storage paths** inside `credentials.db`, and they are n
For secrets the user enters manually in the Credentials modal (OpenAI API key, Anthropic key, Google client ID, Google client secret, Twitter client secret, Brave Search key, etc.).
- Table: `EncryptedAPIKey`
-- Access: `AuthService.store_api_key(provider, key, models=[...], session_id=...)` and `AuthService.get_api_key(provider)`
+- Access: `AuthService.store_api_key(provider, key, models=[...], session_id=..., model_params=...)` and `AuthService.get_api_key(provider)`
- Cache: `AuthService._api_key_cache: Dict[str, str]`
+- **Per-model parameters** (Ollama / LM Studio): the `models` JSON column carries an optional `model_params` subkey alongside the model list — `{"models": [...], "model_params": {model_id: {context_length, vision, supports_tools, ...}}}`. Populated by [`nodes/model/_local_validator.py`](../server/nodes/model/_local_validator.py) from the official SDK probes (`ollama.AsyncClient.ps()` / `lmstudio.AsyncClient.llm.list_loaded()`) so the runtime knows the user's actual loaded n_ctx instead of guessing from `llm_defaults.json`. Read back via `AuthService.get_model_params(provider)` or `CredentialsDatabase.get_api_key_model_params(provider)`. Cloud providers leave this empty — their per-model params live in `model_registry.json` (refreshed from OpenRouter).
### 2. OAuth Token System
diff --git a/docs-internal/native_llm_sdk.md b/docs-internal/native_llm_sdk.md
index e7fe9ed1..848bd5e4 100644
--- a/docs-internal/native_llm_sdk.md
+++ b/docs-internal/native_llm_sdk.md
@@ -34,7 +34,7 @@ server/services/llm/
## Supported Providers
-The native layer currently supports **10 providers**, grouped by implementation:
+The native layer currently supports **12 providers**, grouped by implementation:
| Provider | Implementation | SDK | Notes |
|---|---|---|---|
@@ -46,11 +46,35 @@ The native layer currently supports **10 providers**, grouped by implementation:
| `deepseek` | `providers/openai.py` + base_url | `openai` | OpenAI-compatible at `api.deepseek.com` |
| `kimi` | `providers/openai.py` + base_url | `openai` | Moonshot AI, OpenAI-compatible |
| `mistral` | `providers/openai.py` + base_url | `openai` | OpenAI-compatible |
+| `ollama` | `providers/openai.py` + `{provider}_proxy` URL | `openai` (chat) + `ollama` (probe) | Local server. Validator probes via `ollama.AsyncClient.ps()` for typed `context_length` per loaded model. Runtime uses `OpenAIProvider` with `base_url={user URL}` so traffic stays on `localhost`. |
+| `lmstudio` | `providers/openai.py` + `{provider}_proxy` URL | `openai` (chat) + `lmstudio` (probe) | Local server. Validator probes via `lmstudio.AsyncClient.llm.list_loaded()` for typed `LlmInstanceInfo.context_length`. Same OpenAI-compat runtime path as Ollama. |
| `groq` | LangChain fallback | `langchain-groq` | Not yet on native path |
| `cerebras` | LangChain fallback | `langchain-cerebras` | Not yet on native path |
Source of truth for this list: `server/config/llm_defaults.json` (the `providers` dict) and `server/services/llm/factory.py` (`NATIVE_PROVIDERS` constant).
+## Local LLM Providers (Ollama, LM Studio)
+
+Ollama and LM Studio expose an OpenAI-compatible `/v1` HTTP API, so they ride the same `OpenAIProvider` runtime path used by every other OpenAI-compat backend (DeepSeek, Kimi, Mistral). The differences are the **base URL** (the user enters their server's address, e.g. `http://localhost:11434/v1`) and the **per-model parameters** (which depend on what the user has loaded in the local server's UI, not a JSON default).
+
+**Probe layer** ([`server/nodes/model/_local_validator.py`](../server/nodes/model/_local_validator.py)) — when the user clicks "Fetch" in the Credentials Modal:
+
+1. The user's URL is persisted under the existing `{provider}_proxy` credential — same key the OpenAI-style auth-delegation pattern already uses to override `base_url` at runtime.
+2. The validator probes via the **official SDK** (`ollama>=0.6.0`, `lmstudio>=1.5.0`) — never raw httpx, never Modelfile-parameters parsing:
+ - **Ollama**: `ollama.AsyncClient.ps()` returns `ProcessResponse.Model` per loaded model with typed `context_length` + typed `ModelDetails` (`family`, `parameter_size`, `quantization_level`, `format`).
+ - **LM Studio**: `lmstudio.AsyncClient.llm.list_loaded()` returns `AsyncModelHandle` per loaded model; `handle.get_info()` is a typed `LlmInstanceInfo` (`context_length`, `max_context_length`, `vision`, `trained_for_tool_use`, `architecture`, `params_string`, `format`).
+3. The probed params are persisted in two places:
+ - `EncryptedAPIKey.models["model_params"]` — the same JSON column as the model list, sibling key. Survives DB-backed restart of the validator state.
+ - `model_registry.register_local_model()` — populates a `ModelInfo` entry under `<provider>/<model_id>` and writes through to `model_registry.json`. The sync `get_context_length()` / `get_max_output_tokens()` lookups find this entry first, so chat / agent execution honour the **real n_ctx the server is currently serving** instead of a JSON guess. Capability flags (`tools`, `vision`) flow through `ModelInfo.supported_parameters`.
+
+**Both servers must have a model loaded** for the probe to return entries. The validator's "no models loaded" message is symmetric across providers.
+
+**Runtime path** — `execute_chat()` and `execute_agent()` read `{provider}_proxy` via `auth.get_api_key()` and pass it as `proxy_url` to `create_provider()`. `OpenAIProvider.__init__` overrides `kwargs["base_url"]` with the user's URL and forces `api_key="ollama"` (the documented placeholder for unauthenticated local servers). The openai SDK then sends `POST {user_url}/chat/completions` — **traffic stays on the user's machine, never reaches api.openai.com**.
+
+**Provider detection** ([`server/constants.py:detect_ai_provider`](../server/constants.py)) MUST list `ollama` / `lmstudio` substrings, and the agent dropdown's `provider` Literal in [`ai_agent.py`](../server/nodes/agent/ai_agent.py) / [`chat_agent.py`](../server/nodes/agent/chat_agent.py) / [`_specialized.py`](../server/nodes/agent/_specialized.py) MUST include `"ollama"` / `"lmstudio"` — otherwise the chat-model node silently falls through to `'openai'` and the runtime calls the OpenAI cloud with the local-server placeholder key.
+
+**Open-world skip in `is_model_valid_for_provider`** — local model names like `qwen/qwen3.6-27b` don't contain provider substrings, so the cloud-style pattern check would always reject them. The function returns `True` for `openrouter` / `ollama` / `lmstudio` without consulting `detection_patterns`. The upstream server still rejects genuinely missing models with a clear 404.
+
## Provider Protocol
Every native provider implements a structural Protocol with two methods:
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6c4ac4ce..174d66af 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -235,6 +235,9 @@ importers:
'@types/node':
specifier: ^22.0.0
version: 22.19.17
+ esbuild:
+ specifier: ^0.24.0
+ version: 0.24.2
tsx:
specifier: ^4.21.0
version: 4.21.0
@@ -644,6 +647,12 @@ packages:
cpu: [ppc64]
os: [aix]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==}
+ engines: {node: '>=18'}
+ cpu: [ppc64]
+ os: [aix]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==}
engines: {node: '>=18'}
@@ -662,6 +671,12 @@ packages:
cpu: [arm64]
os: [android]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [android]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==}
engines: {node: '>=18'}
@@ -680,6 +695,12 @@ packages:
cpu: [arm]
os: [android]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==}
+ engines: {node: '>=18'}
+ cpu: [arm]
+ os: [android]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==}
engines: {node: '>=18'}
@@ -698,6 +719,12 @@ packages:
cpu: [x64]
os: [android]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [android]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==}
engines: {node: '>=18'}
@@ -716,6 +743,12 @@ packages:
cpu: [arm64]
os: [darwin]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [darwin]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==}
engines: {node: '>=18'}
@@ -734,6 +767,12 @@ packages:
cpu: [x64]
os: [darwin]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [darwin]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==}
engines: {node: '>=18'}
@@ -752,6 +791,12 @@ packages:
cpu: [arm64]
os: [freebsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [freebsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==}
engines: {node: '>=18'}
@@ -770,6 +815,12 @@ packages:
cpu: [x64]
os: [freebsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [freebsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==}
engines: {node: '>=18'}
@@ -788,6 +839,12 @@ packages:
cpu: [arm64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==}
engines: {node: '>=18'}
@@ -806,6 +863,12 @@ packages:
cpu: [arm]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==}
+ engines: {node: '>=18'}
+ cpu: [arm]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==}
engines: {node: '>=18'}
@@ -824,6 +887,12 @@ packages:
cpu: [ia32]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==}
+ engines: {node: '>=18'}
+ cpu: [ia32]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==}
engines: {node: '>=18'}
@@ -842,6 +911,12 @@ packages:
cpu: [loong64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==}
+ engines: {node: '>=18'}
+ cpu: [loong64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==}
engines: {node: '>=18'}
@@ -860,6 +935,12 @@ packages:
cpu: [mips64el]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==}
+ engines: {node: '>=18'}
+ cpu: [mips64el]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==}
engines: {node: '>=18'}
@@ -878,6 +959,12 @@ packages:
cpu: [ppc64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==}
+ engines: {node: '>=18'}
+ cpu: [ppc64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==}
engines: {node: '>=18'}
@@ -896,6 +983,12 @@ packages:
cpu: [riscv64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==}
+ engines: {node: '>=18'}
+ cpu: [riscv64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==}
engines: {node: '>=18'}
@@ -914,6 +1007,12 @@ packages:
cpu: [s390x]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==}
+ engines: {node: '>=18'}
+ cpu: [s390x]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==}
engines: {node: '>=18'}
@@ -932,6 +1031,12 @@ packages:
cpu: [x64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==}
engines: {node: '>=18'}
@@ -944,6 +1049,12 @@ packages:
cpu: [x64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [netbsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==}
engines: {node: '>=18'}
@@ -962,6 +1073,12 @@ packages:
cpu: [x64]
os: [netbsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [netbsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==}
engines: {node: '>=18'}
@@ -974,6 +1091,12 @@ packages:
cpu: [x64]
os: [netbsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [openbsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==}
engines: {node: '>=18'}
@@ -992,6 +1115,12 @@ packages:
cpu: [x64]
os: [openbsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [openbsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==}
engines: {node: '>=18'}
@@ -1022,6 +1151,12 @@ packages:
cpu: [x64]
os: [sunos]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [sunos]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==}
engines: {node: '>=18'}
@@ -1040,6 +1175,12 @@ packages:
cpu: [arm64]
os: [win32]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [win32]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==}
engines: {node: '>=18'}
@@ -1058,6 +1199,12 @@ packages:
cpu: [ia32]
os: [win32]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==}
+ engines: {node: '>=18'}
+ cpu: [ia32]
+ os: [win32]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==}
engines: {node: '>=18'}
@@ -1076,6 +1223,12 @@ packages:
cpu: [x64]
os: [win32]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [win32]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==}
engines: {node: '>=18'}
@@ -3659,6 +3812,11 @@ packages:
engines: {node: '>=12'}
hasBin: true
+ resolution: {integrity: sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==}
+ engines: {node: '>=18'}
+ hasBin: true
+
resolution: {integrity: sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==}
engines: {node: '>=18'}
@@ -7295,6 +7453,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7304,6 +7465,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7313,6 +7477,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7322,6 +7489,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7331,6 +7501,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7340,6 +7513,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7349,6 +7525,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7358,6 +7537,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7367,6 +7549,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7376,6 +7561,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7385,6 +7573,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7394,6 +7585,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7403,6 +7597,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7412,6 +7609,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7421,6 +7621,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7430,6 +7633,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7439,12 +7645,18 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7454,12 +7666,18 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7469,6 +7687,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7484,6 +7705,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7493,6 +7717,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7502,6 +7729,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -7511,6 +7741,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -10461,6 +10694,34 @@ snapshots:
'@esbuild/win32-ia32': 0.21.5
'@esbuild/win32-x64': 0.21.5
+ optionalDependencies:
+ '@esbuild/aix-ppc64': 0.24.2
+ '@esbuild/android-arm': 0.24.2
+ '@esbuild/android-arm64': 0.24.2
+ '@esbuild/android-x64': 0.24.2
+ '@esbuild/darwin-arm64': 0.24.2
+ '@esbuild/darwin-x64': 0.24.2
+ '@esbuild/freebsd-arm64': 0.24.2
+ '@esbuild/freebsd-x64': 0.24.2
+ '@esbuild/linux-arm': 0.24.2
+ '@esbuild/linux-arm64': 0.24.2
+ '@esbuild/linux-ia32': 0.24.2
+ '@esbuild/linux-loong64': 0.24.2
+ '@esbuild/linux-mips64el': 0.24.2
+ '@esbuild/linux-ppc64': 0.24.2
+ '@esbuild/linux-riscv64': 0.24.2
+ '@esbuild/linux-s390x': 0.24.2
+ '@esbuild/linux-x64': 0.24.2
+ '@esbuild/netbsd-arm64': 0.24.2
+ '@esbuild/netbsd-x64': 0.24.2
+ '@esbuild/openbsd-arm64': 0.24.2
+ '@esbuild/openbsd-x64': 0.24.2
+ '@esbuild/sunos-x64': 0.24.2
+ '@esbuild/win32-arm64': 0.24.2
+ '@esbuild/win32-ia32': 0.24.2
+ '@esbuild/win32-x64': 0.24.2
+
optionalDependencies:
'@esbuild/aix-ppc64': 0.25.12
diff --git a/server/config/model_registry.json b/server/config/model_registry.json
index 0c12ebba..876536c2 100644
--- a/server/config/model_registry.json
+++ b/server/config/model_registry.json
@@ -1,8 +1,39 @@
{
- "_generated": "2026-05-03T17:18:01.001370+00:00",
+ "_generated": "2026-05-05T17:26:17.904743+00:00",
"_source": "openrouter",
- "_model_count": 371,
+ "_model_count": 374,
"models": {
+ "openai/gpt-chat-latest": {
+ "id": "openai/gpt-chat-latest",
+ "name": "OpenAI: GPT Chat Latest",
+ "provider": "openai",
+ "local_id": "gpt-chat-latest",
+ "context_length": 400000,
+ "max_output_tokens": 128000,
+ "input_price_per_mtok": 5.0,
+ "output_price_per_mtok": 30.0,
+ "supports_thinking": false,
+ "thinking_type": "none",
+ "temperature_range": [
+ 0.0,
+ 2.0
+ ],
+ "is_reasoning_model": false,
+ "supported_parameters": [
+ "frequency_penalty",
+ "logit_bias",
+ "logprobs",
+ "max_tokens",
+ "presence_penalty",
+ "response_format",
+ "seed",
+ "stop",
+ "structured_outputs",
+ "tool_choice",
+ "tools",
+ "top_logprobs"
+ ]
+ },
"xai/grok-4.3": {
"id": "x-ai/grok-4.3",
"name": "xAI: Grok 4.3",
@@ -69,6 +100,38 @@
"top_p"
]
},
+ "mistralai/mistral-medium-3-5": {
+ "id": "mistralai/mistral-medium-3-5",
+ "name": "Mistral: Mistral Medium 3.5",
+ "provider": "mistralai",
+ "local_id": "mistral-medium-3-5",
+ "context_length": 262144,
+ "max_output_tokens": 0,
+ "input_price_per_mtok": 1.5,
+ "output_price_per_mtok": 7.5,
+ "supports_thinking": false,
+ "thinking_type": "none",
+ "temperature_range": [
+ 0.0,
+ 2.0
+ ],
+ "is_reasoning_model": false,
+ "supported_parameters": [
+ "frequency_penalty",
+ "include_reasoning",
+ "max_tokens",
+ "presence_penalty",
+ "reasoning",
+ "response_format",
+ "seed",
+ "stop",
+ "structured_outputs",
+ "temperature",
+ "tool_choice",
+ "tools",
+ "top_p"
+ ]
+ },
"openrouter/owl-alpha": {
"id": "openrouter/owl-alpha",
"name": "Owl Alpha",
@@ -462,9 +525,9 @@
"provider": "qwen",
"local_id": "qwen3.6-35b-a3b",
"context_length": 262144,
- "max_output_tokens": 65536,
- "input_price_per_mtok": 0.1612,
- "output_price_per_mtok": 0.9652,
+ "max_output_tokens": 262144,
+ "input_price_per_mtok": 0.15,
+ "output_price_per_mtok": 1.0,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [
@@ -486,6 +549,8 @@
"stop",
"structured_outputs",
"temperature",
+ "tool_choice",
+ "tools",
"top_k",
"top_p"
]
@@ -1755,6 +1820,7 @@
"frequency_penalty",
"include_reasoning",
"logit_bias",
+ "logprobs",
"max_tokens",
"min_p",
"presence_penalty",
@@ -1767,6 +1833,7 @@
"tool_choice",
"tools",
"top_k",
+ "top_logprobs",
"top_p"
]
},
@@ -2041,9 +2108,9 @@
"provider": "qwen",
"local_id": "qwen3.5-35b-a3b",
"context_length": 262144,
- "max_output_tokens": 65536,
- "input_price_per_mtok": 0.1625,
- "output_price_per_mtok": 1.3,
+ "max_output_tokens": 262144,
+ "input_price_per_mtok": 0.15,
+ "output_price_per_mtok": 1.0,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [
@@ -4442,6 +4509,36 @@
"top_p"
]
},
+ "microsoft/phi-4-mini-instruct": {
+ "id": "microsoft/phi-4-mini-instruct",
+ "name": "Microsoft: Phi 4 Mini Instruct",
+ "provider": "microsoft",
+ "local_id": "phi-4-mini-instruct",
+ "context_length": 128000,
+ "max_output_tokens": 128000,
+ "input_price_per_mtok": 0.08,
+ "output_price_per_mtok": 0.35,
+ "supports_thinking": false,
+ "thinking_type": "none",
+ "temperature_range": [
+ 0.0,
+ 2.0
+ ],
+ "is_reasoning_model": false,
+ "supported_parameters": [
+ "frequency_penalty",
+ "max_tokens",
+ "presence_penalty",
+ "repetition_penalty",
+ "response_format",
+ "seed",
+ "stop",
+ "structured_outputs",
+ "temperature",
+ "top_k",
+ "top_p"
+ ]
+ },
"openai/gpt-5-image-mini": {
"id": "openai/gpt-5-image-mini",
"name": "OpenAI: GPT-5 Image Mini",
@@ -8567,7 +8664,7 @@
"provider": "anthropic",
"local_id": "claude-3.7-sonnet",
"context_length": 200000,
- "max_output_tokens": 128000,
+ "max_output_tokens": 64000,
"input_price_per_mtok": 3.0,
"output_price_per_mtok": 15.0,
"supports_thinking": true,
@@ -8585,7 +8682,6 @@
"temperature",
"tool_choice",
"tools",
- "top_k",
"top_p"
]
},
@@ -9258,6 +9354,7 @@
"response_format",
"seed",
"stop",
+ "structured_outputs",
"temperature",
"tool_choice",
"tools",
@@ -9802,11 +9899,11 @@
"top_p"
]
},
- "inflection/inflection-3-pi": {
- "id": "inflection/inflection-3-pi",
- "name": "Inflection: Inflection 3 Pi",
+ "inflection/inflection-3-productivity": {
+ "id": "inflection/inflection-3-productivity",
+ "name": "Inflection: Inflection 3 Productivity",
"provider": "inflection",
- "local_id": "inflection-3-pi",
+ "local_id": "inflection-3-productivity",
"context_length": 8000,
"max_output_tokens": 1024,
"input_price_per_mtok": 2.5,
@@ -9825,11 +9922,11 @@
"top_p"
]
},
- "inflection/inflection-3-productivity": {
- "id": "inflection/inflection-3-productivity",
- "name": "Inflection: Inflection 3 Productivity",
+ "inflection/inflection-3-pi": {
+ "id": "inflection/inflection-3-pi",
+ "name": "Inflection: Inflection 3 Pi",
"provider": "inflection",
- "local_id": "inflection-3-productivity",
+ "local_id": "inflection-3-pi",
"context_length": 8000,
"max_output_tokens": 1024,
"input_price_per_mtok": 2.5,
@@ -9884,15 +9981,15 @@
"top_p"
]
},
- "meta/llama-3.2-1b-instruct": {
- "id": "meta-llama/llama-3.2-1b-instruct",
- "name": "Meta: Llama 3.2 1B Instruct",
+ "meta/llama-3.2-3b-instruct:free": {
+ "id": "meta-llama/llama-3.2-3b-instruct:free",
+ "name": "Meta: Llama 3.2 3B Instruct (free)",
"provider": "meta",
- "local_id": "llama-3.2-1b-instruct",
- "context_length": 60000,
+ "local_id": "llama-3.2-3b-instruct:free",
+ "context_length": 131072,
"max_output_tokens": 0,
- "input_price_per_mtok": 0.027,
- "output_price_per_mtok": 0.2,
+ "input_price_per_mtok": 0.0,
+ "output_price_per_mtok": 0.0,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [
@@ -9904,22 +10001,21 @@
"frequency_penalty",
"max_tokens",
"presence_penalty",
- "repetition_penalty",
- "seed",
+ "stop",
"temperature",
"top_k",
"top_p"
]
},
- "meta/llama-3.2-11b-vision-instruct": {
- "id": "meta-llama/llama-3.2-11b-vision-instruct",
- "name": "Meta: Llama 3.2 11B Vision Instruct",
+ "meta/llama-3.2-3b-instruct": {
+ "id": "meta-llama/llama-3.2-3b-instruct",
+ "name": "Meta: Llama 3.2 3B Instruct",
"provider": "meta",
- "local_id": "llama-3.2-11b-vision-instruct",
- "context_length": 131072,
- "max_output_tokens": 16384,
- "input_price_per_mtok": 0.245,
- "output_price_per_mtok": 0.245,
+ "local_id": "llama-3.2-3b-instruct",
+ "context_length": 80000,
+ "max_output_tokens": 0,
+ "input_price_per_mtok": 0.051,
+ "output_price_per_mtok": 0.34,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [
@@ -9929,28 +10025,24 @@
"is_reasoning_model": false,
"supported_parameters": [
"frequency_penalty",
- "logit_bias",
"max_tokens",
- "min_p",
"presence_penalty",
"repetition_penalty",
- "response_format",
"seed",
- "stop",
"temperature",
"top_k",
"top_p"
]
},
- "meta/llama-3.2-3b-instruct:free": {
- "id": "meta-llama/llama-3.2-3b-instruct:free",
- "name": "Meta: Llama 3.2 3B Instruct (free)",
+ "meta/llama-3.2-1b-instruct": {
+ "id": "meta-llama/llama-3.2-1b-instruct",
+ "name": "Meta: Llama 3.2 1B Instruct",
"provider": "meta",
- "local_id": "llama-3.2-3b-instruct:free",
- "context_length": 131072,
+ "local_id": "llama-3.2-1b-instruct",
+ "context_length": 60000,
"max_output_tokens": 0,
- "input_price_per_mtok": 0.0,
- "output_price_per_mtok": 0.0,
+ "input_price_per_mtok": 0.027,
+ "output_price_per_mtok": 0.2,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [
@@ -9962,21 +10054,22 @@
"frequency_penalty",
"max_tokens",
"presence_penalty",
- "stop",
+ "repetition_penalty",
+ "seed",
"temperature",
"top_k",
"top_p"
]
},
- "meta/llama-3.2-3b-instruct": {
- "id": "meta-llama/llama-3.2-3b-instruct",
- "name": "Meta: Llama 3.2 3B Instruct",
+ "meta/llama-3.2-11b-vision-instruct": {
+ "id": "meta-llama/llama-3.2-11b-vision-instruct",
+ "name": "Meta: Llama 3.2 11B Vision Instruct",
"provider": "meta",
- "local_id": "llama-3.2-3b-instruct",
- "context_length": 80000,
- "max_output_tokens": 0,
- "input_price_per_mtok": 0.051,
- "output_price_per_mtok": 0.34,
+ "local_id": "llama-3.2-11b-vision-instruct",
+ "context_length": 131072,
+ "max_output_tokens": 16384,
+ "input_price_per_mtok": 0.245,
+ "output_price_per_mtok": 0.245,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [
@@ -9986,10 +10079,14 @@
"is_reasoning_model": false,
"supported_parameters": [
"frequency_penalty",
+ "logit_bias",
"max_tokens",
+ "min_p",
"presence_penalty",
"repetition_penalty",
+ "response_format",
"seed",
+ "stop",
"temperature",
"top_k",
"top_p"
@@ -10029,15 +10126,15 @@
"top_p"
]
},
- "cohere/command-r-08-2024": {
- "id": "cohere/command-r-08-2024",
- "name": "Cohere: Command R (08-2024)",
+ "cohere/command-r-plus-08-2024": {
+ "id": "cohere/command-r-plus-08-2024",
+ "name": "Cohere: Command R+ (08-2024)",
"provider": "cohere",
- "local_id": "command-r-08-2024",
+ "local_id": "command-r-plus-08-2024",
"context_length": 128000,
"max_output_tokens": 4000,
- "input_price_per_mtok": 0.15,
- "output_price_per_mtok": 0.6,
+ "input_price_per_mtok": 2.5,
+ "output_price_per_mtok": 10.0,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [
@@ -10060,15 +10157,15 @@
"top_p"
]
},
- "cohere/command-r-plus-08-2024": {
- "id": "cohere/command-r-plus-08-2024",
- "name": "Cohere: Command R+ (08-2024)",
+ "cohere/command-r-08-2024": {
+ "id": "cohere/command-r-08-2024",
+ "name": "Cohere: Command R (08-2024)",
"provider": "cohere",
- "local_id": "command-r-plus-08-2024",
+ "local_id": "command-r-08-2024",
"context_length": 128000,
"max_output_tokens": 4000,
- "input_price_per_mtok": 2.5,
- "output_price_per_mtok": 10.0,
+ "input_price_per_mtok": 0.15,
+ "output_price_per_mtok": 0.6,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [
@@ -10546,15 +10643,15 @@
"top_p"
]
},
- "openai/gpt-4o": {
- "id": "openai/gpt-4o",
- "name": "OpenAI: GPT-4o",
+ "openai/gpt-4o-2024-05-13": {
+ "id": "openai/gpt-4o-2024-05-13",
+ "name": "OpenAI: GPT-4o (2024-05-13)",
"provider": "openai",
- "local_id": "gpt-4o",
+ "local_id": "gpt-4o-2024-05-13",
"context_length": 128000,
- "max_output_tokens": 16384,
- "input_price_per_mtok": 2.5,
- "output_price_per_mtok": 10.0,
+ "max_output_tokens": 4096,
+ "input_price_per_mtok": 5.0,
+ "output_price_per_mtok": 15.0,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [
@@ -10581,15 +10678,15 @@
"web_search_options"
]
},
- "openai/gpt-4o-2024-05-13": {
- "id": "openai/gpt-4o-2024-05-13",
- "name": "OpenAI: GPT-4o (2024-05-13)",
+ "openai/gpt-4o": {
+ "id": "openai/gpt-4o",
+ "name": "OpenAI: GPT-4o",
"provider": "openai",
- "local_id": "gpt-4o-2024-05-13",
+ "local_id": "gpt-4o",
"context_length": 128000,
- "max_output_tokens": 4096,
- "input_price_per_mtok": 5.0,
- "output_price_per_mtok": 15.0,
+ "max_output_tokens": 16384,
+ "input_price_per_mtok": 2.5,
+ "output_price_per_mtok": 10.0,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [
@@ -10616,15 +10713,15 @@
"web_search_options"
]
},
- "meta/llama-3-70b-instruct": {
- "id": "meta-llama/llama-3-70b-instruct",
- "name": "Meta: Llama 3 70B Instruct",
+ "meta/llama-3-8b-instruct": {
+ "id": "meta-llama/llama-3-8b-instruct",
+ "name": "Meta: Llama 3 8B Instruct",
"provider": "meta",
- "local_id": "llama-3-70b-instruct",
+ "local_id": "llama-3-8b-instruct",
"context_length": 8192,
- "max_output_tokens": 8000,
- "input_price_per_mtok": 0.51,
- "output_price_per_mtok": 0.74,
+ "max_output_tokens": 16384,
+ "input_price_per_mtok": 0.03,
+ "output_price_per_mtok": 0.04,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [
@@ -10634,25 +10731,30 @@
"is_reasoning_model": false,
"supported_parameters": [
"frequency_penalty",
+ "logit_bias",
"max_tokens",
+ "min_p",
"presence_penalty",
"repetition_penalty",
+ "response_format",
"seed",
"stop",
"temperature",
+ "tool_choice",
+ "tools",
"top_k",
"top_p"
]
},
- "meta/llama-3-8b-instruct": {
- "id": "meta-llama/llama-3-8b-instruct",
- "name": "Meta: Llama 3 8B Instruct",
+ "meta/llama-3-70b-instruct": {
+ "id": "meta-llama/llama-3-70b-instruct",
+ "name": "Meta: Llama 3 70B Instruct",
"provider": "meta",
- "local_id": "llama-3-8b-instruct",
+ "local_id": "llama-3-70b-instruct",
"context_length": 8192,
- "max_output_tokens": 16384,
- "input_price_per_mtok": 0.03,
- "output_price_per_mtok": 0.04,
+ "max_output_tokens": 8000,
+ "input_price_per_mtok": 0.51,
+ "output_price_per_mtok": 0.74,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [
@@ -10662,17 +10764,12 @@
"is_reasoning_model": false,
"supported_parameters": [
"frequency_penalty",
- "logit_bias",
"max_tokens",
- "min_p",
"presence_penalty",
"repetition_penalty",
- "response_format",
"seed",
"stop",
"temperature",
- "tool_choice",
- "tools",
"top_k",
"top_p"
]
@@ -11227,11 +11324,11 @@
"top_p"
]
},
- "openai/gpt-4": {
- "id": "openai/gpt-4",
- "name": "OpenAI: GPT-4",
+ "openai/gpt-4-0314": {
+ "id": "openai/gpt-4-0314",
+ "name": "OpenAI: GPT-4 (older v0314)",
"provider": "openai",
- "local_id": "gpt-4",
+ "local_id": "gpt-4-0314",
"context_length": 8191,
"max_output_tokens": 4096,
"input_price_per_mtok": 30.0,
@@ -11247,7 +11344,6 @@
"frequency_penalty",
"logit_bias",
"logprobs",
- "max_completion_tokens",
"max_tokens",
"presence_penalty",
"response_format",
@@ -11261,15 +11357,15 @@
"top_p"
]
},
- "openai/gpt-3.5-turbo": {
- "id": "openai/gpt-3.5-turbo",
- "name": "OpenAI: GPT-3.5 Turbo",
+ "openai/gpt-4": {
+ "id": "openai/gpt-4",
+ "name": "OpenAI: GPT-4",
"provider": "openai",
- "local_id": "gpt-3.5-turbo",
- "context_length": 16385,
+ "local_id": "gpt-4",
+ "context_length": 8191,
"max_output_tokens": 4096,
- "input_price_per_mtok": 0.5,
- "output_price_per_mtok": 1.5,
+ "input_price_per_mtok": 30.0,
+ "output_price_per_mtok": 60.0,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [
@@ -11281,6 +11377,7 @@
"frequency_penalty",
"logit_bias",
"logprobs",
+ "max_completion_tokens",
"max_tokens",
"presence_penalty",
"response_format",
@@ -11294,15 +11391,15 @@
"top_p"
]
},
- "openai/gpt-4-0314": {
- "id": "openai/gpt-4-0314",
- "name": "OpenAI: GPT-4 (older v0314)",
+ "openai/gpt-3.5-turbo": {
+ "id": "openai/gpt-3.5-turbo",
+ "name": "OpenAI: GPT-3.5 Turbo",
"provider": "openai",
- "local_id": "gpt-4-0314",
- "context_length": 8191,
+ "local_id": "gpt-3.5-turbo",
+ "context_length": 16385,
"max_output_tokens": 4096,
- "input_price_per_mtok": 30.0,
- "output_price_per_mtok": 60.0,
+ "input_price_per_mtok": 0.5,
+ "output_price_per_mtok": 1.5,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [