diff --git a/.github/workflows/model-catalog.yml b/.github/workflows/model-catalog.yml new file mode 100644 index 0000000..8ea6d3b --- /dev/null +++ b/.github/workflows/model-catalog.yml @@ -0,0 +1,88 @@ +name: Model catalog + +on: + pull_request: + branches: [main] + push: + branches: [main] + workflow_dispatch: + schedule: + - cron: "23 04 * * *" + +permissions: + contents: read + +jobs: + verify: + if: github.event_name == 'pull_request' || github.event_name == 'push' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + with: + node-version: 22 + - run: node --test catalog.test.mjs + - run: node sync-models.mjs --offline --check + + refresh: + if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' + runs-on: ubuntu-latest + concurrency: + group: hex-model-catalog-refresh + cancel-in-progress: false + permissions: + contents: write + pull-requests: write + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + ref: main + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + with: + node-version: 22 + - name: Refresh from the public HEX catalog + run: | + node sync-models.mjs + node --test catalog.test.mjs + node sync-models.mjs --offline --check + - name: Open or update a draft review + env: + GH_TOKEN: ${{ github.token }} + CATALOG_PR_TOKEN: ${{ secrets.CATALOG_PR_TOKEN }} + run: | + set -euo pipefail + git add -- MODEL-INDEX.md UNCENSORED-MODELS.md models.json models/ + if git diff --cached --quiet; then + echo "The catalog already matches the public HEX feed." + exit 0 + fi + + branch=automation/model-catalog + ref="refs/heads/$branch" + remote_commit="$(git ls-remote origin "$ref" | cut -f1)" + git switch -c "$branch" + git -c user.name='github-actions[bot]' \ + -c user.email='41898282+github-actions[bot]@users.noreply.github.com' \ + commit -m "Refresh HEX model catalog" + git push --force-with-lease="$ref:$remote_commit" origin "HEAD:$ref" + + existing="$(gh pr list --base main --head "$branch" --state open --json number --jq '.[0].number // empty')" + if [ -n "$existing" ]; then + echo "Updated draft review #$existing." + else + if ! result="$(GH_TOKEN="${CATALOG_PR_TOKEN:-$GH_TOKEN}" gh pr create --draft --base main --head "$branch" \ + --title "Refresh HEX model catalog" \ + --body "Generated from the public HEX model catalog. Review model IDs, variant labels, and documentation before merging." 2>&1)"; then + if [ -n "$CATALOG_PR_TOKEN" ] || ! grep -qi 'GitHub Actions is not permitted to create or approve pull requests' <<<"$result"; then + printf '%s\n' "$result" >&2 + exit 1 + fi + compare="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/compare/main...${branch}?expand=1" + echo "::warning::The organization restricts automatic pull request creation. Open the draft from the workflow summary." + printf 'The generated branch is ready. [Open a review](%s).\n' "$compare" >> "$GITHUB_STEP_SUMMARY" + else + printf '%s\n' "$result" + fi + fi diff --git a/API-FORMATS.md b/API-FORMATS.md index c43464e..a3de2ed 100644 --- a/API-FORMATS.md +++ b/API-FORMATS.md @@ -1,30 +1,32 @@ -# HEX API formats and model availability - -## Discover models - -Use the [active model index](MODEL-INDEX.md) to pick an API ID. Your account's authenticated model response lists the models it can discover at request time. - -~~~bash -curl --fail-with-body https://api.hexapi.io/v1/models \ - -H "Authorization: Bearer $HEX_API_KEY" -~~~ - -The GitHub index is a snapshot of the public HEX catalog. It includes entries whose availability field was true when the list was refreshed. Use the [status page](https://hexapi.io/status) before production jobs and recheck model availability after an error. - -## Pick the request format - -Use the [HEX API reference](https://hexapi.io/docs) to select the format supported by your model and client. - -| Format | Typical integration | -| --- | --- | -| Chat Completions | OpenAI-style message history with a chat model such as GLM or DeepSeek | -| Responses | Supported GPT integrations that expect the Responses API | -| Messages | Supported Claude integrations that expect the Messages API | - -Each API request should use one model ID and one request format. Verify streaming, tool calls, reasoning parameters, and image support for that specific model before enabling them in your app. - -## Match usage to price - -[Live token pricing](https://hexapi.io/pricing) shows the current rates. Budget for the input and output your workflow creates. Check the usage returned with the response before comparing different models, and keep your HEX key on your own server or development machine. - -[Quickstart](https://github.com/hexapi-io/hex-api-quickstart) · [OpenCode Desktop setup](https://hexapi.io/setup/opencode) +# HEX API formats and model availability + +## Discover models + +Use the [active model index](MODEL-INDEX.md) to pick an API ID. Your account's authenticated model response lists the models it can discover at request time. + +~~~bash +curl --fail-with-body https://api.hexapi.io/v1/models \ + -H "Authorization: Bearer $HEX_API_KEY" +~~~ + +The GitHub index is a snapshot of the public HEX catalog. It includes entries whose availability field was true when the list was refreshed. Use the [status page](https://hexapi.io/status) before production jobs and recheck model availability after an error. + +## Pick the request format + +Use the [HEX API reference](https://hexapi.io/docs) to select the format supported by your model and client. + +| Format | Typical integration | +| --- | --- | +| Chat Completions | OpenAI-style message history with a chat model such as GLM or DeepSeek | +| Responses | Supported GPT integrations that expect the Responses API | +| Messages | Supported Claude integrations that expect the Messages API | + +Each API request should use one model ID and one request format. Verify streaming, tool calls, reasoning parameters, and image support for that specific model before enabling them in your app. + +For a runnable request, open the model's page or start with the [GPT Responses example](GPT-GUIDE.md), [Claude Messages example](CLAUDE-GUIDE.md), or [Chat Completions quickstart](https://github.com/hexapi-io/hex-api-quickstart). + +## Match usage to price + +[Live token pricing](https://hexapi.io/pricing) shows the current rates. Budget for the input and output your workflow creates. Check the usage returned with the response before comparing different models, and keep your HEX key on your own server or development machine. + +[Quickstart](https://github.com/hexapi-io/hex-api-quickstart) · [OpenCode Desktop setup](https://hexapi.io/setup/opencode) diff --git a/BILLING-AND-TROUBLESHOOTING.md b/BILLING-AND-TROUBLESHOOTING.md new file mode 100644 index 0000000..bf30792 --- /dev/null +++ b/BILLING-AND-TROUBLESHOOTING.md @@ -0,0 +1,24 @@ +# HEX pricing, usage, and troubleshooting + +## Check price and usage + +HEX uses a pay-as-you-go USD balance. Consult [live pricing](https://hexapi.io/pricing) and your account's own rates before running a workload. Individual models have separate rates for input, output, cache reads, and cache writes where available. Your client format can report these counters differently. + +Use the cost estimator on the pricing page. Enter each token category once. When an API reports a total prompt count that includes cached tokens, use the usage breakdown to separate ordinary input from any tokens charged at cache rates. + +After a call, check the API usage fields and compare them with the usage view in your [HEX account](https://hexapi.io/app). A request can have a temporary reservation and a later settlement. Review the final usage and settlement before reconciling the cost. + +## Diagnose a request + +| Symptom | Check first | +| --- | --- | +| Unauthorized request | Confirm the key belongs to the intended account, the base URL is `https://api.hexapi.io`, and the auth header matches the endpoint. | +| Model or endpoint unavailable | Compare the exact ID and request format with the [active model index](MODEL-INDEX.md). Check [service status](https://hexapi.io/status). | +| Empty or interrupted stream | Read all events, including completion, usage, and errors. Test a short text request in the same API format. | +| Output stops early | Inspect the completion status or stop reason. Adjust the output budget within the model's limits and check whether reasoning consumed part of it. | +| HTTP 502 | Record the request ID if present, model ID, format, and time. Check status. Review whether the original request completed or incurred usage before retrying. | +| Insufficient balance | Check available balance and the request's input size and maximum output. Try a smaller request or top up through your account if needed. | + +When [contacting HEX support](https://hexapi.io/support), send the request ID and technical context. Keep API keys and private prompts out of the report. + +[API formats](API-FORMATS.md) · [Model index](MODEL-INDEX.md) · [Integration guides](INTEGRATIONS.md) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd88d1b..21b940a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,11 @@ -# Catalog changelog - -## 2026-11-21 - -- Expanded the GitHub index to every model marked available by the live HEX catalog. -- Added an exact-ID table by model family and a script to refresh it alongside the JSON. -- Added API format, model behavior evaluation, and AI jailbreak terminology guides. -- Expanded the GLM and DeepSeek repository references with model variant comparisons. +# Catalog changelog + +## 2026-11-21 + +- Added individual model pages, a dedicated Uncensored and Abliterated index, and GPT and Claude request guides. +- Added SDK and IDE guidance, a native-format request example, and a pricing and troubleshooting guide. +- Added catalog validation and a daily refresh workflow that proposes changes for review. +- Expanded the GitHub index to every model marked available by the live HEX catalog. +- Added an exact-ID table by model family and a script to refresh it alongside the JSON. +- Added API format, model behavior evaluation, and AI jailbreak terminology guides. +- Expanded the GLM and DeepSeek repository references with model variant comparisons. diff --git a/CLAUDE-GUIDE.md b/CLAUDE-GUIDE.md new file mode 100644 index 0000000..a3d0f2f --- /dev/null +++ b/CLAUDE-GUIDE.md @@ -0,0 +1,26 @@ +# Claude models through the HEX Messages API + +Choose the exact version you want from the [Claude model list](MODEL-INDEX.md#claude). This example uses the Messages format and a short text prompt. + +```sh +node request-example.mjs claude-sonnet-5-5 --dry-run +``` + +With `HEX_API_KEY` set in your environment, omit `--dry-run` to submit a billable request. + +```sh +curl --fail-with-body 'https://api.hexapi.io/v1/messages' \ + -H "x-api-key: $HEX_API_KEY" \ + -H 'anthropic-version: 2023-06-01' \ + -H 'Content-Type: application/json' \ + -d '{"model":"claude-sonnet-5-5","max_tokens":512,"messages":[{"role":"user","content":"Write a one-line software release title."}]}' +``` + +- Read the text blocks in `content`, and treat tool-use blocks as separate structured output. +- Read `stop_reason`. It tells you whether the model ended the turn, hit an output limit, or requested a tool. +- If streaming, consume the complete event stream and inspect the final stop reason before processing the output. +- Use the native Messages body when moving an integration from Chat Completions. See the individual model page for its workspace capabilities. + +Use the [HEX Claude Code setup](https://hexapi.io/setup/claude-code) or [HEX for OpenCode Desktop](https://hexapi.io/setup/opencode) when working in an existing project. + +[Model index](MODEL-INDEX.md) · [Other API formats](API-FORMATS.md) · [Troubleshooting](BILLING-AND-TROUBLESHOOTING.md) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6b926f0..7afdb81 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,12 +1,17 @@ -# Contributing - -Report catalog corrections with the exact HEX API model ID, the page or file that needs updating, and a link to the matching entry in the [live catalog](https://hexapi.io/models). Share fictional examples when an issue involves input or generated text. - -To update the catalog files locally: - -~~~bash -node sync-models.mjs -node sync-models.mjs --check -~~~ - -Include both `MODEL-INDEX.md` and `models.json` when submitting a catalog refresh. Use the live pricing and status links for information that changes frequently. +# Contributing + +Report catalog corrections with the exact HEX API model ID, the page or file that needs updating, and a link to the matching entry in the [live catalog](https://hexapi.io/models). Share fictional examples when an issue involves input or generated text. + +To update the catalog files locally: + +~~~bash +node sync-models.mjs +node --test catalog.test.mjs +node sync-models.mjs --offline --check +~~~ + +Include the generated indexes, `models.json`, and `models/` pages in a catalog refresh. Retired models keep their existing URLs and move to the archive. Use the live pricing and status links for information that changes frequently. + +The **Model catalog** workflow runs daily and can also be run from the Actions tab. It opens or updates a draft on the `automation/model-catalog` branch. Where organization policy blocks the workflow's built-in credential from creating pull requests, the workflow summary links to the comparison. A repository secret named `CATALOG_PR_TOKEN` can provide an approved credential scoped to pull request write access for this repository. Review changes before merging. + +`capabilities.json` contains reviewed HEX workspace formats and settings. Add capabilities after reviewing the exact model ID against the deployed HEX configuration. New catalog IDs without a reviewed entry still receive a page. diff --git a/GPT-GUIDE.md b/GPT-GUIDE.md new file mode 100644 index 0000000..8fab4bd --- /dev/null +++ b/GPT-GUIDE.md @@ -0,0 +1,25 @@ +# GPT models through the HEX Responses API + +Use an active GPT model ID from the [GPT model list](MODEL-INDEX.md#gpt). Start with a text request, then open the model page for workspace capabilities and gateway limits. + +```sh +node request-example.mjs gpt-6.2-sol --dry-run +``` + +With `HEX_API_KEY` set in your environment, omit `--dry-run` to submit a billable request. The script reports visible text, usage, and completion status. + +```sh +curl --fail-with-body 'https://api.hexapi.io/v1/responses' \ + -H "Authorization: Bearer $HEX_API_KEY" \ + -H 'Content-Type: application/json' \ + -d '{"model":"gpt-6.2-sol","input":"Write a one-line software release title.","max_output_tokens":512,"store":false}' +``` + +- Read visible answer text from output messages. Other output items may represent reasoning or a tool call. +- Check the response status and incomplete details before using a result. A low output limit can be consumed before the model writes visible text. +- In a streaming client, read through the terminal response event and handle incomplete or failed results. +- Review the model's capability notes before sending images, function definitions, or reasoning settings. + +For a local development project, use the [HEX Codex setup guide](https://hexapi.io/setup/codex) or [HEX for OpenCode Desktop](https://hexapi.io/setup/opencode). + +[Model index](MODEL-INDEX.md) · [Other API formats](API-FORMATS.md) · [Troubleshooting](BILLING-AND-TROUBLESHOOTING.md) diff --git a/INTEGRATIONS.md b/INTEGRATIONS.md new file mode 100644 index 0000000..5980919 --- /dev/null +++ b/INTEGRATIONS.md @@ -0,0 +1,24 @@ +# Use HEX from an SDK or coding tool + +Get an API key from your HEX account and pick a model from the [active catalog](MODEL-INDEX.md). The model page identifies the format that HEX workspace uses for that ID. Keep the key in your environment, development tool, or server configuration. + +## Run one request + +| API format | Example | Start here | +| --- | --- | --- | +| Chat Completions | `node request-example.mjs glm-5.3-abliterated` | [Chat quickstart](https://github.com/hexapi-io/hex-api-quickstart) | +| Responses | `node request-example.mjs gpt-6.2-sol` | [GPT guide](GPT-GUIDE.md) | +| Messages | `node request-example.mjs claude-sonnet-5-5` | [Claude guide](CLAUDE-GUIDE.md) | + +Add `--dry-run` to print the URL and JSON without a key, network request, or usage charge. + +## Work in your editor + +- [OpenCode Desktop](https://hexapi.io/setup/opencode) for local projects and selection among HEX model groups. +- [Claude Code](https://hexapi.io/setup/claude-code) for Claude workflows that use the Messages format. +- [Codex](https://hexapi.io/setup/codex) for supported GPT workflows that use Responses. +- [Cursor](https://hexapi.io/setup/cursor) for current HEX compatibility notes and alternatives where custom API settings are restricted. + +The HEX setup selector lists the applicable Windows, macOS, and Linux instructions for each tool. Check your tool's documented compatibility before choosing a model with image input, function tools, or reasoning settings. + +[HEX API reference](https://hexapi.io/docs) · [Billing and troubleshooting](BILLING-AND-TROUBLESHOOTING.md) diff --git a/MODEL-INDEX.md b/MODEL-INDEX.md index f900a50..bdc90cd 100644 --- a/MODEL-INDEX.md +++ b/MODEL-INDEX.md @@ -2,86 +2,86 @@ **40 models across 8 families** in this snapshot of the public HEX catalog. -[Live availability](https://hexapi.io/status) · [Live pricing](https://hexapi.io/pricing) · [JSON list](models.json) +[Uncensored and abliterated models](UNCENSORED-MODELS.md) · [Live availability](https://hexapi.io/status) · [Live pricing](https://hexapi.io/pricing) · [JSON list](models.json) ## Claude -| Model | API model ID | Variant | +| Model page | API model ID | Variant | | --- | --- | --- | -| Claude Fable 5.1 | `claude-fable-5-1` | Standard | -| Claude Fable 5.2 | `claude-fable-5-2` | Standard | -| Claude Haiku 5.5 | `claude-haiku-5-5` | Standard | -| Claude Opus 5 | `claude-opus-5` | Standard | -| Claude Opus 5.5 | `claude-opus-5-5` | Standard | -| Claude Sonnet 5 | `claude-sonnet-5` | Standard | -| Claude Sonnet 5.5 | `claude-sonnet-5-5` | Standard | +| [Claude Fable 5.1](models/claude-fable-5-1.md) | `claude-fable-5-1` | Standard | +| [Claude Fable 5.2](models/claude-fable-5-2.md) | `claude-fable-5-2` | Standard | +| [Claude Haiku 5.5](models/claude-haiku-5-5.md) | `claude-haiku-5-5` | Standard | +| [Claude Opus 5](models/claude-opus-5.md) | `claude-opus-5` | Standard | +| [Claude Opus 5.5](models/claude-opus-5-5.md) | `claude-opus-5-5` | Standard | +| [Claude Sonnet 5](models/claude-sonnet-5.md) | `claude-sonnet-5` | Standard | +| [Claude Sonnet 5.5](models/claude-sonnet-5-5.md) | `claude-sonnet-5-5` | Standard | ## DeepSeek -| Model | API model ID | Variant | +| Model page | API model ID | Variant | | --- | --- | --- | -| DeepSeek V4 Pro | `deepseek-v4-pro` | Standard | -| DeepSeek V4 Pro Abliterated | `deepseek-v4-pro-abliterated` | Abliterated | -| DeepSeek V4 Pro Uncensored | `deepseek-v4-pro-uncensored` | Uncensored | -| DeepSeek V4.1 Flash | `deepseek-v4.1-flash` | Standard | -| DeepSeek V4.1 Flash 1017 | `deepseek-v4.1-flash-1017` | Standard | -| DeepSeek V4.1 Flash 1017 Abliterated | `deepseek-v4.1-flash-1017-abliterated` | Abliterated | -| DeepSeek V4.1 Flash 1017 Uncensored | `deepseek-v4.1-flash-1017-uncensored` | Uncensored | -| DeepSeek V4.1 Flash Abliterated | `deepseek-v4.1-flash-abliterated` | Abliterated | -| DeepSeek V4.1 Flash Uncensored | `deepseek-v4.1-flash-uncensored` | Uncensored | +| [DeepSeek V4 Pro](models/deepseek-v4-pro.md) | `deepseek-v4-pro` | Standard | +| [DeepSeek V4 Pro Abliterated](models/deepseek-v4-pro-abliterated.md) | `deepseek-v4-pro-abliterated` | Abliterated | +| [DeepSeek V4 Pro Uncensored](models/deepseek-v4-pro-uncensored.md) | `deepseek-v4-pro-uncensored` | Uncensored | +| [DeepSeek V4.1 Flash](models/deepseek-v4.1-flash.md) | `deepseek-v4.1-flash` | Standard | +| [DeepSeek V4.1 Flash 1017](models/deepseek-v4.1-flash-1017.md) | `deepseek-v4.1-flash-1017` | Standard | +| [DeepSeek V4.1 Flash 1017 Abliterated](models/deepseek-v4.1-flash-1017-abliterated.md) | `deepseek-v4.1-flash-1017-abliterated` | Abliterated | +| [DeepSeek V4.1 Flash 1017 Uncensored](models/deepseek-v4.1-flash-1017-uncensored.md) | `deepseek-v4.1-flash-1017-uncensored` | Uncensored | +| [DeepSeek V4.1 Flash Abliterated](models/deepseek-v4.1-flash-abliterated.md) | `deepseek-v4.1-flash-abliterated` | Abliterated | +| [DeepSeek V4.1 Flash Uncensored](models/deepseek-v4.1-flash-uncensored.md) | `deepseek-v4.1-flash-uncensored` | Uncensored | ## Gemini -| Model | API model ID | Variant | +| Model page | API model ID | Variant | | --- | --- | --- | -| Gemini 4 Argon | `gemini-4-argon` | Standard | -| Gemini 4 Carbon | `gemini-4-carbon` | Standard | -| Gemini 4 Hydrogen | `gemini-4-hydrogen` | Standard | +| [Gemini 4 Argon](models/gemini-4-argon.md) | `gemini-4-argon` | Standard | +| [Gemini 4 Carbon](models/gemini-4-carbon.md) | `gemini-4-carbon` | Standard | +| [Gemini 4 Hydrogen](models/gemini-4-hydrogen.md) | `gemini-4-hydrogen` | Standard | ## GLM -| Model | API model ID | Variant | +| Model page | API model ID | Variant | | --- | --- | --- | -| GLM 5.3 | `glm-5.3` | Standard | -| GLM 5.3 Abliterated | `glm-5.3-abliterated` | Abliterated | -| GLM 5.3 Flash | `glm-5.3-flash` | Standard | -| GLM 5.3 Flash Abliterated | `glm-5.3-flash-abliterated` | Abliterated | -| GLM 5.3 Flash Uncensored | `glm-5.3-flash-uncensored` | Uncensored | -| GLM 5.3 Uncensored | `glm-5.3-uncensored` | Uncensored | +| [GLM 5.3](models/glm-5.3.md) | `glm-5.3` | Standard | +| [GLM 5.3 Abliterated](models/glm-5.3-abliterated.md) | `glm-5.3-abliterated` | Abliterated | +| [GLM 5.3 Flash](models/glm-5.3-flash.md) | `glm-5.3-flash` | Standard | +| [GLM 5.3 Flash Abliterated](models/glm-5.3-flash-abliterated.md) | `glm-5.3-flash-abliterated` | Abliterated | +| [GLM 5.3 Flash Uncensored](models/glm-5.3-flash-uncensored.md) | `glm-5.3-flash-uncensored` | Uncensored | +| [GLM 5.3 Uncensored](models/glm-5.3-uncensored.md) | `glm-5.3-uncensored` | Uncensored | ## GPT -| Model | API model ID | Variant | +| Model page | API model ID | Variant | | --- | --- | --- | -| GPT-5.6 Sol | `gpt-5.6-sol` | Standard | -| GPT-5.6 Terra | `gpt-5.6-terra` | Standard | -| GPT-6 Astra | `gpt-6-astra` | Standard | -| GPT-6.1 Sol | `gpt-6.1-sol` | Standard | -| GPT-6.1 Terra | `gpt-6.1-terra` | Standard | -| GPT-6.2 Astra | `gpt-6.2-astra` | Standard | -| GPT-6.2 Sol | `gpt-6.2-sol` | Standard | +| [GPT-5.6 Sol](models/gpt-5.6-sol.md) | `gpt-5.6-sol` | Standard | +| [GPT-5.6 Terra](models/gpt-5.6-terra.md) | `gpt-5.6-terra` | Standard | +| [GPT-6 Astra](models/gpt-6-astra.md) | `gpt-6-astra` | Standard | +| [GPT-6.1 Sol](models/gpt-6.1-sol.md) | `gpt-6.1-sol` | Standard | +| [GPT-6.1 Terra](models/gpt-6.1-terra.md) | `gpt-6.1-terra` | Standard | +| [GPT-6.2 Astra](models/gpt-6.2-astra.md) | `gpt-6.2-astra` | Standard | +| [GPT-6.2 Sol](models/gpt-6.2-sol.md) | `gpt-6.2-sol` | Standard | ## Grok -| Model | API model ID | Variant | +| Model page | API model ID | Variant | | --- | --- | --- | -| Grok 4.5 | `grok-4.5` | Standard | -| Grok 4.6 | `grok-4.6` | Standard | -| Grok 4.7 | `grok-4.7` | Standard | +| [Grok 4.5](models/grok-4.5.md) | `grok-4.5` | Standard | +| [Grok 4.6](models/grok-4.6.md) | `grok-4.6` | Standard | +| [Grok 4.7](models/grok-4.7.md) | `grok-4.7` | Standard | ## Kimi -| Model | API model ID | Variant | +| Model page | API model ID | Variant | | --- | --- | --- | -| Kimi K3.1 Pro | `kimi-k3.1-pro` | Standard | -| Kimi K3.1 Pro Uncensored | `kimi-k3.1-pro-uncensored` | Uncensored | +| [Kimi K3.1 Pro](models/kimi-k3.1-pro.md) | `kimi-k3.1-pro` | Standard | +| [Kimi K3.1 Pro Uncensored](models/kimi-k3.1-pro-uncensored.md) | `kimi-k3.1-pro-uncensored` | Uncensored | ## Qwen -| Model | API model ID | Variant | +| Model page | API model ID | Variant | | --- | --- | --- | -| Qwen 3.8 Max | `qwen3.8-max` | Standard | -| Qwen 3.8 Max Uncensored | `qwen3.8-max-uncensored` | Uncensored | -| Qwen4 Max | `qwen4-max` | Standard | +| [Qwen 3.8 Max](models/qwen3.8-max.md) | `qwen3.8-max` | Standard | +| [Qwen 3.8 Max Uncensored](models/qwen3.8-max-uncensored.md) | `qwen3.8-max-uncensored` | Uncensored | +| [Qwen4 Max](models/qwen4-max.md) | `qwen4-max` | Standard | [Catalog home](README.md) · [API formats](API-FORMATS.md) · [Model variants](JAILBREAK-AND-MODEL-VARIANTS.md) diff --git a/README.md b/README.md index 6d28e96..e1c4de0 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,37 @@ -[![HEX Model Catalog · Uncensored and abliterated AI models](cover.png)](https://hexapi.io/models) - -# HEX Model Catalog - -Browse every model currently available through the HEX AI API. Use the exact model ID with your HEX key, then check pricing and service status before you run a workload. - -[Active model index](MODEL-INDEX.md) · [Machine-readable model IDs](models.json) · [Live model catalog](https://hexapi.io/models) · [Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) - -## AI jailbreak, uncensored, and abliterated models - -Looking up terms such as **AI jailbreak**, **LLM jailbreak**, or **abliterated model**? The [model variants guide](JAILBREAK-AND-MODEL-VARIANTS.md) explains how prompt behavior, prompt injection, and model variants relate to the IDs you can select on HEX. - -## Start with an integration - -| Task | Guide | -| --- | --- | -| Send an OpenAI-compatible chat completion | [HEX API Quickstart](https://github.com/hexapi-io/hex-api-quickstart) | -| Turn a bug report into a JSON ticket | [GLM 5.3 Abliterated API guide](https://github.com/hexapi-io/glm-5.3-abliterated) | -| Stream a release checklist in Node.js | [DeepSeek V4 Pro Uncensored API guide](https://github.com/hexapi-io/deepseek-v4-pro-uncensored) | -| Work in a local project | [HEX for OpenCode Desktop](https://github.com/hexapi-io/hex-opencode-setup) | - -## Catalog and reference - -- [API formats and model availability](API-FORMATS.md) -- [Model behavior evaluation](MODEL-EVALUATION.md) -- [Catalog updates](CHANGELOG.md) -- [Contributing corrections](CONTRIBUTING.md) -- [Security reports](SECURITY.md) - -Run `node sync-models.mjs` with Node.js 22 or later to refresh the model index and JSON from the public HEX catalog. The live catalog reflects later changes to availability. - -Model names belong to their respective owners. +[![HEX Model Catalog · Uncensored and abliterated AI models](cover.png)](https://hexapi.io/models) + +# HEX Model Catalog + +Browse every model currently available through the HEX AI API. Use the exact model ID with your HEX key, then check pricing and service status before you run a workload. + +[Uncensored and abliterated models](UNCENSORED-MODELS.md) · [All active models](MODEL-INDEX.md) · [Machine-readable catalog](models.json) · [Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) + +## AI jailbreak, uncensored, and abliterated models + +Browse the [Uncensored and Abliterated lineup](UNCENSORED-MODELS.md) to compare available HEX model IDs across GLM, DeepSeek, Kimi, and Qwen. The [model variants guide](JAILBREAK-AND-MODEL-VARIANTS.md) explains **AI jailbreak**, **LLM jailbreak**, prompt injection, and why model labels describe variants with different behavior. + +## Start with an integration + +| Task | Guide | +| --- | --- | +| Send an OpenAI-compatible chat completion | [HEX API Quickstart](https://github.com/hexapi-io/hex-api-quickstart) | +| Use GPT with Responses | [GPT models guide](GPT-GUIDE.md) | +| Use Claude with Messages | [Claude models guide](CLAUDE-GUIDE.md) | +| Turn a bug report into a JSON ticket | [GLM 5.3 Abliterated API guide](https://github.com/hexapi-io/glm-5.3-abliterated) | +| Stream a release checklist in Node.js | [DeepSeek V4 Pro Uncensored API guide](https://github.com/hexapi-io/deepseek-v4-pro-uncensored) | +| Work in a local project | [HEX for OpenCode Desktop](https://github.com/hexapi-io/hex-opencode-setup) | +| Set up other coding tools | [SDK and IDE integration guides](INTEGRATIONS.md) | + +## Catalog and reference + +- [API formats and model availability](API-FORMATS.md) +- [Usage, token pricing, and troubleshooting](BILLING-AND-TROUBLESHOOTING.md) +- [Model behavior evaluation](MODEL-EVALUATION.md) +- [Text index of HEX resources](llms.txt) +- [Catalog updates](CHANGELOG.md) +- [Contributing corrections](CONTRIBUTING.md) +- [Security reports](SECURITY.md) + +Run `node sync-models.mjs` with Node.js 22 or later to regenerate the index, the Uncensored and Abliterated list, the JSON snapshot, and individual model pages. The **Model catalog** workflow checks the live catalog daily and opens or updates a draft pull request when the generated files change. See [Contributing](CONTRIBUTING.md) for checks and capability updates. + +Model names belong to their respective owners. diff --git a/UNCENSORED-MODELS.md b/UNCENSORED-MODELS.md new file mode 100644 index 0000000..969e3ac --- /dev/null +++ b/UNCENSORED-MODELS.md @@ -0,0 +1,27 @@ +# Uncensored and abliterated AI models on HEX + +Use an exact model ID with the HEX API. Model availability, features, and behavior can vary by variant. + +## Abliterated models + +| Model page | API model ID | Variant | +| --- | --- | --- | +| [DeepSeek V4 Pro Abliterated](models/deepseek-v4-pro-abliterated.md) | `deepseek-v4-pro-abliterated` | Abliterated | +| [DeepSeek V4.1 Flash 1017 Abliterated](models/deepseek-v4.1-flash-1017-abliterated.md) | `deepseek-v4.1-flash-1017-abliterated` | Abliterated | +| [DeepSeek V4.1 Flash Abliterated](models/deepseek-v4.1-flash-abliterated.md) | `deepseek-v4.1-flash-abliterated` | Abliterated | +| [GLM 5.3 Abliterated](models/glm-5.3-abliterated.md) | `glm-5.3-abliterated` | Abliterated | +| [GLM 5.3 Flash Abliterated](models/glm-5.3-flash-abliterated.md) | `glm-5.3-flash-abliterated` | Abliterated | + +## Uncensored models + +| Model page | API model ID | Variant | +| --- | --- | --- | +| [DeepSeek V4 Pro Uncensored](models/deepseek-v4-pro-uncensored.md) | `deepseek-v4-pro-uncensored` | Uncensored | +| [DeepSeek V4.1 Flash 1017 Uncensored](models/deepseek-v4.1-flash-1017-uncensored.md) | `deepseek-v4.1-flash-1017-uncensored` | Uncensored | +| [DeepSeek V4.1 Flash Uncensored](models/deepseek-v4.1-flash-uncensored.md) | `deepseek-v4.1-flash-uncensored` | Uncensored | +| [GLM 5.3 Flash Uncensored](models/glm-5.3-flash-uncensored.md) | `glm-5.3-flash-uncensored` | Uncensored | +| [GLM 5.3 Uncensored](models/glm-5.3-uncensored.md) | `glm-5.3-uncensored` | Uncensored | +| [Kimi K3.1 Pro Uncensored](models/kimi-k3.1-pro-uncensored.md) | `kimi-k3.1-pro-uncensored` | Uncensored | +| [Qwen 3.8 Max Uncensored](models/qwen3.8-max-uncensored.md) | `qwen3.8-max-uncensored` | Uncensored | + +[AI jailbreak and variant terminology](JAILBREAK-AND-MODEL-VARIANTS.md) · [All active models](MODEL-INDEX.md) · [Live pricing](https://hexapi.io/pricing) diff --git a/capabilities.json b/capabilities.json new file mode 100644 index 0000000..e9a28b0 --- /dev/null +++ b/capabilities.json @@ -0,0 +1,317 @@ +{ + "claude-fable-5-1": { + "format": "messages", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 8192 + }, + "claude-fable-5-2": { + "format": "messages", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 128000 + }, + "claude-haiku-5-5": { + "format": "messages", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 64000 + }, + "claude-opus-5": { + "format": "messages", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 64000 + }, + "claude-opus-5-5": { + "format": "messages", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 128000 + }, + "claude-sonnet-5": { + "format": "messages", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 64000 + }, + "claude-sonnet-5-5": { + "format": "messages", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 64000 + }, + "deepseek-v4-pro": { + "format": "chat", + "vision": false, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 128000 + }, + "deepseek-v4-pro-abliterated": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 8192 + }, + "deepseek-v4-pro-uncensored": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 65536 + }, + "deepseek-v4.1-flash": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 65536 + }, + "deepseek-v4.1-flash-1017": { + "format": "chat", + "vision": false, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 65536 + }, + "deepseek-v4.1-flash-1017-abliterated": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 65536 + }, + "deepseek-v4.1-flash-1017-uncensored": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 8192 + }, + "deepseek-v4.1-flash-abliterated": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 8192 + }, + "deepseek-v4.1-flash-uncensored": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 8192 + }, + "gemini-4-argon": { + "format": "chat", + "vision": false, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 16384 + }, + "gemini-4-carbon": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 65536 + }, + "gemini-4-hydrogen": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 65536 + }, + "glm-5.3": { + "format": "chat", + "vision": false, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 65536 + }, + "glm-5.3-abliterated": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 128000 + }, + "glm-5.3-flash": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 65536 + }, + "glm-5.3-flash-abliterated": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 8192 + }, + "glm-5.3-flash-uncensored": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 65536 + }, + "glm-5.3-uncensored": { + "format": "chat", + "vision": false, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 65536 + }, + "gpt-5.6-sol": { + "format": "responses", + "vision": true, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 128000 + }, + "gpt-5.6-terra": { + "format": "responses", + "vision": true, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 128000 + }, + "gpt-6-astra": { + "format": "responses", + "vision": true, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 128000 + }, + "gpt-6.1-sol": { + "format": "responses", + "vision": true, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 128000 + }, + "gpt-6.1-terra": { + "format": "responses" + }, + "gpt-6.2-astra": { + "format": "responses", + "vision": true, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 128000 + }, + "gpt-6.2-sol": { + "format": "responses", + "vision": true, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 128000 + }, + "grok-4.5": { + "format": "chat", + "vision": true, + "tools": false, + "reasoning": false, + "context": 200000, + "output": 64000 + }, + "grok-4.6": { + "format": "chat", + "vision": true, + "tools": false, + "reasoning": false, + "context": 500000, + "output": 65536 + }, + "grok-4.7": { + "format": "chat", + "vision": true, + "tools": false, + "reasoning": false, + "context": 500000, + "output": 65536 + }, + "kimi-k3.1-pro": { + "format": "chat", + "vision": false, + "tools": true, + "reasoning": true, + "context": 1000000, + "output": 32000 + }, + "kimi-k3.1-pro-uncensored": { + "format": "chat", + "vision": false, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 8192 + }, + "qwen3.8-max": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 128000 + }, + "qwen3.8-max-uncensored": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 8192 + }, + "qwen4-max": { + "format": "chat", + "vision": true, + "tools": true, + "reasoning": false, + "context": 1000000, + "output": 128000 + } +} diff --git a/catalog.test.mjs b/catalog.test.mjs new file mode 100644 index 0000000..75f2407 --- /dev/null +++ b/catalog.test.mjs @@ -0,0 +1,104 @@ +import test from "node:test"; +import assert from "node:assert/strict"; +import { access, readFile } from "node:fs/promises"; +import { buildSnapshot, renderFiles } from "./sync-models.mjs"; +import { buildRequest } from "./request-example.mjs"; + +const sample = { id: "example-standard", name: "Example Standard", family: "glm", available: true }; +const abliterated = { id: "example-abliterated", name: "Example Abliterated", family: "glm", available: true }; +const uncensored = { id: "example-uncensored", name: "Example (100% Uncensored)", family: "qwen3", available: true }; +const readJson = async name => JSON.parse(await readFile(new URL(name, import.meta.url), "utf8")); + +test("a catalog refresh preserves exact IDs and lists abliterated variants before uncensored variants", () => { + const rows = [uncensored, sample, abliterated]; + const snapshot = buildSnapshot(rows); + const files = renderFiles(snapshot, {}); + assert.equal(snapshot.models.length, 3); + assert.equal(snapshot.models.find(model => model.id === uncensored.id).name, "Example"); + assert.equal(snapshot.models.find(model => model.id === uncensored.id).family, "Qwen"); + const variants = files.get("UNCENSORED-MODELS.md"); + assert.ok(variants.indexOf(abliterated.id) < variants.indexOf(uncensored.id)); + assert.ok(!variants.includes(sample.id)); + assert.deepEqual(renderFiles(buildSnapshot([...rows].reverse(), snapshot), {}), files); +}); + +test("removals preserve page addresses and reactivations restore the active entry", () => { + const first = buildSnapshot([sample, abliterated]); + const disabled = buildSnapshot([sample, { ...abliterated, available: false }], first); + const removed = buildSnapshot([sample], disabled); + const path = "models/example-abliterated.md"; + assert.equal(removed.archivedModels.length, 1); + assert.match(renderFiles(removed, {}).get(path), /\| Archived \|/); + const back = buildSnapshot([sample, abliterated], removed); + assert.deepEqual(back.archivedModels, []); + assert.match(renderFiles(back, {}).get(path), /\| Active in this snapshot \|/); +}); + +test("unsafe, empty, and duplicate feed values fail before regeneration", () => { + assert.throws(() => buildSnapshot([]), /no available/); + assert.throws(() => buildSnapshot([{ ...sample, available: "true" }]), /availability/); + assert.throws(() => buildSnapshot([sample, sample]), /duplicate model/); + assert.throws(() => buildSnapshot([{ ...sample, name: "Unexpected [link]" }]), /invalid model/); + assert.throws(() => buildSnapshot([{ ...sample, id: "../private" }]), /invalid model/); +}); + +test("namespaced IDs generate self-contained page paths", () => { + const special = { ...sample, id: "vendor/example:1" }; + const files = renderFiles(buildSnapshot([special]), {}); + const name = [...files.keys()].find(path => path.startsWith("models/")); + assert.match(name, /^models\/~[a-f0-9]+\.md$/); + assert.ok(files.get("MODEL-INDEX.md").includes(name)); + assert.ok(!files.get(name).includes("node request-example.mjs")); +}); + +test("request examples use the native path and parameters without embedding a key", () => { + const model = "test-model"; + const paths = { chat: "/v1/chat/completions", messages: "/v1/messages", responses: "/v1/responses" }; + for (const [format, path] of Object.entries(paths)) { + const { url, body } = buildRequest(model, format); + assert.equal(url, "https://api.hexapi.io" + path); + assert.equal(body.model, model); + if (format === "responses") { + assert.equal(body.store, false); + assert.equal(typeof body.input, "string"); + assert.equal(body.max_output_tokens, 512); + assert.ok(!Object.hasOwn(body, "messages")); + } else { + assert.equal(body.messages[0].role, "user"); + assert.equal(body.max_tokens, 512); + } + assert.ok(!JSON.stringify(body).includes("Authorization")); + } + assert.throws(() => buildRequest(model, null), /No request format/); +}); + +test("published model pages, reviewed formats, and relative guide links agree", async () => { + const snapshot = await readJson("models.json"); + const capabilities = await readJson("capabilities.json"); + for (const entry of Object.values(capabilities)) { + assert.ok(["chat", "responses", "messages"].includes(entry.format)); + for (const key of ["vision", "tools", "reasoning"]) { + if (Object.hasOwn(entry, key)) assert.equal(typeof entry[key], "boolean"); + } + } + const docs = renderFiles(snapshot, capabilities); + for (const name of ["README.md", "API-FORMATS.md", "GPT-GUIDE.md", "CLAUDE-GUIDE.md", + "INTEGRATIONS.md", "BILLING-AND-TROUBLESHOOTING.md", "MODEL-EVALUATION.md", + "JAILBREAK-AND-MODEL-VARIANTS.md", "CONTRIBUTING.md"]) { + docs.set(name, await readFile(new URL(name, import.meta.url), "utf8")); + } + assert.equal(snapshot.models.length + snapshot.archivedModels.length, [...docs.keys()].filter(name => name.startsWith("models/")).length); + for (const [name, content] of docs) { + if (!name.endsWith(".md")) continue; + for (const [, href] of content.matchAll(/\]\(([^)\s]+)\)/g)) { + if (/^(https?:|mailto:|#)/.test(href)) continue; + const [path, anchor] = href.split("#"); + const location = new URL(path, new URL(name, import.meta.url)); + await access(location); + if (anchor) { + const target = await readFile(location, "utf8"); + assert.ok(target.split(/\r?\n/).some(line => line.toLowerCase() === "## " + anchor), name + " → " + href); + } + } + } +}); diff --git a/llms.txt b/llms.txt new file mode 100644 index 0000000..5afa2b1 --- /dev/null +++ b/llms.txt @@ -0,0 +1,18 @@ +# HEX API + +> Hosted AI model APIs for developers, including named Uncensored and Abliterated variants. + +## Model discovery +- [Live HEX model catalog](https://hexapi.io/models) +- [Active model pages](https://github.com/hexapi-io/hex-model-catalog/blob/main/MODEL-INDEX.md) +- [Uncensored and abliterated models](https://github.com/hexapi-io/hex-model-catalog/blob/main/UNCENSORED-MODELS.md) +- [Structured catalog snapshot](https://raw.githubusercontent.com/hexapi-io/hex-model-catalog/main/models.json) +- [AI jailbreak and model variant terminology](https://github.com/hexapi-io/hex-model-catalog/blob/main/JAILBREAK-AND-MODEL-VARIANTS.md) + +## Integration +- [HEX API reference](https://hexapi.io/docs) +- [GPT Responses guide](https://github.com/hexapi-io/hex-model-catalog/blob/main/GPT-GUIDE.md) +- [Claude Messages guide](https://github.com/hexapi-io/hex-model-catalog/blob/main/CLAUDE-GUIDE.md) +- [OpenCode Desktop setup](https://hexapi.io/setup/opencode) +- [Live pricing](https://hexapi.io/pricing) +- [Service status](https://hexapi.io/status) diff --git a/models.json b/models.json index 62aa012..e8ab6ab 100644 --- a/models.json +++ b/models.json @@ -245,5 +245,6 @@ "family": "Qwen", "variant": "Standard" } - ] + ], + "archivedModels": [] } diff --git a/models/claude-fable-5-1.md b/models/claude-fable-5-1.md new file mode 100644 index 0000000..79399bb --- /dev/null +++ b/models/claude-fable-5-1.md @@ -0,0 +1,34 @@ +# Claude Fable 5.1 API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `claude-fable-5-1` | +| Model family | Claude | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Anthropic-compatible Messages**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs claude-fable-5-1 +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **8,192 output tokens** per request. Client or provider settings can impose lower limits. + +[Claude Messages guide](../CLAUDE-GUIDE.md) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/claude-fable-5-2.md b/models/claude-fable-5-2.md new file mode 100644 index 0000000..0d4ce44 --- /dev/null +++ b/models/claude-fable-5-2.md @@ -0,0 +1,34 @@ +# Claude Fable 5.2 API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `claude-fable-5-2` | +| Model family | Claude | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Anthropic-compatible Messages**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs claude-fable-5-2 +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **128,000 output tokens** per request. Client or provider settings can impose lower limits. + +[Claude Messages guide](../CLAUDE-GUIDE.md) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/claude-haiku-5-5.md b/models/claude-haiku-5-5.md new file mode 100644 index 0000000..0cbffda --- /dev/null +++ b/models/claude-haiku-5-5.md @@ -0,0 +1,34 @@ +# Claude Haiku 5.5 API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `claude-haiku-5-5` | +| Model family | Claude | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Anthropic-compatible Messages**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs claude-haiku-5-5 +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **64,000 output tokens** per request. Client or provider settings can impose lower limits. + +[Claude Messages guide](../CLAUDE-GUIDE.md) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/claude-opus-5-5.md b/models/claude-opus-5-5.md new file mode 100644 index 0000000..fcfe1fb --- /dev/null +++ b/models/claude-opus-5-5.md @@ -0,0 +1,34 @@ +# Claude Opus 5.5 API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `claude-opus-5-5` | +| Model family | Claude | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Anthropic-compatible Messages**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs claude-opus-5-5 +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **128,000 output tokens** per request. Client or provider settings can impose lower limits. + +[Claude Messages guide](../CLAUDE-GUIDE.md) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/claude-opus-5.md b/models/claude-opus-5.md new file mode 100644 index 0000000..d955406 --- /dev/null +++ b/models/claude-opus-5.md @@ -0,0 +1,34 @@ +# Claude Opus 5 API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `claude-opus-5` | +| Model family | Claude | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Anthropic-compatible Messages**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs claude-opus-5 +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **64,000 output tokens** per request. Client or provider settings can impose lower limits. + +[Claude Messages guide](../CLAUDE-GUIDE.md) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/claude-sonnet-5-5.md b/models/claude-sonnet-5-5.md new file mode 100644 index 0000000..d5fb5aa --- /dev/null +++ b/models/claude-sonnet-5-5.md @@ -0,0 +1,34 @@ +# Claude Sonnet 5.5 API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `claude-sonnet-5-5` | +| Model family | Claude | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Anthropic-compatible Messages**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs claude-sonnet-5-5 +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **64,000 output tokens** per request. Client or provider settings can impose lower limits. + +[Claude Messages guide](../CLAUDE-GUIDE.md) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/claude-sonnet-5.md b/models/claude-sonnet-5.md new file mode 100644 index 0000000..0141c73 --- /dev/null +++ b/models/claude-sonnet-5.md @@ -0,0 +1,34 @@ +# Claude Sonnet 5 API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `claude-sonnet-5` | +| Model family | Claude | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Anthropic-compatible Messages**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs claude-sonnet-5 +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **64,000 output tokens** per request. Client or provider settings can impose lower limits. + +[Claude Messages guide](../CLAUDE-GUIDE.md) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/deepseek-v4-pro-abliterated.md b/models/deepseek-v4-pro-abliterated.md new file mode 100644 index 0000000..865c8cd --- /dev/null +++ b/models/deepseek-v4-pro-abliterated.md @@ -0,0 +1,36 @@ +# DeepSeek V4 Pro Abliterated API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `deepseek-v4-pro-abliterated` | +| Model family | DeepSeek | +| Variant | Abliterated | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs deepseek-v4-pro-abliterated +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **8,192 output tokens** per request. Client or provider settings can impose lower limits. + +## Model variant + +See the [uncensored and abliterated index](../UNCENSORED-MODELS.md) for related IDs and the [AI jailbreak terminology guide](../JAILBREAK-AND-MODEL-VARIANTS.md) for definitions. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/deepseek-v4-pro-uncensored.md b/models/deepseek-v4-pro-uncensored.md new file mode 100644 index 0000000..07fe13f --- /dev/null +++ b/models/deepseek-v4-pro-uncensored.md @@ -0,0 +1,38 @@ +# DeepSeek V4 Pro Uncensored API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `deepseek-v4-pro-uncensored` | +| Model family | DeepSeek | +| Variant | Uncensored | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs deepseek-v4-pro-uncensored +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **65,536 output tokens** per request. Client or provider settings can impose lower limits. + +## Model variant + +See the [uncensored and abliterated index](../UNCENSORED-MODELS.md) for related IDs and the [AI jailbreak terminology guide](../JAILBREAK-AND-MODEL-VARIANTS.md) for definitions. + +[DeepSeek streaming guide](https://github.com/hexapi-io/deepseek-v4-pro-uncensored) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/deepseek-v4-pro.md b/models/deepseek-v4-pro.md new file mode 100644 index 0000000..f170ebc --- /dev/null +++ b/models/deepseek-v4-pro.md @@ -0,0 +1,32 @@ +# DeepSeek V4 Pro API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `deepseek-v4-pro` | +| Model family | DeepSeek | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs deepseek-v4-pro +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Not enabled in this configuration | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **128,000 output tokens** per request. Client or provider settings can impose lower limits. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/deepseek-v4.1-flash-1017-abliterated.md b/models/deepseek-v4.1-flash-1017-abliterated.md new file mode 100644 index 0000000..70c78e5 --- /dev/null +++ b/models/deepseek-v4.1-flash-1017-abliterated.md @@ -0,0 +1,36 @@ +# DeepSeek V4.1 Flash 1017 Abliterated API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `deepseek-v4.1-flash-1017-abliterated` | +| Model family | DeepSeek | +| Variant | Abliterated | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs deepseek-v4.1-flash-1017-abliterated +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **65,536 output tokens** per request. Client or provider settings can impose lower limits. + +## Model variant + +See the [uncensored and abliterated index](../UNCENSORED-MODELS.md) for related IDs and the [AI jailbreak terminology guide](../JAILBREAK-AND-MODEL-VARIANTS.md) for definitions. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/deepseek-v4.1-flash-1017-uncensored.md b/models/deepseek-v4.1-flash-1017-uncensored.md new file mode 100644 index 0000000..a3fbf9f --- /dev/null +++ b/models/deepseek-v4.1-flash-1017-uncensored.md @@ -0,0 +1,36 @@ +# DeepSeek V4.1 Flash 1017 Uncensored API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `deepseek-v4.1-flash-1017-uncensored` | +| Model family | DeepSeek | +| Variant | Uncensored | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs deepseek-v4.1-flash-1017-uncensored +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **8,192 output tokens** per request. Client or provider settings can impose lower limits. + +## Model variant + +See the [uncensored and abliterated index](../UNCENSORED-MODELS.md) for related IDs and the [AI jailbreak terminology guide](../JAILBREAK-AND-MODEL-VARIANTS.md) for definitions. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/deepseek-v4.1-flash-1017.md b/models/deepseek-v4.1-flash-1017.md new file mode 100644 index 0000000..348c409 --- /dev/null +++ b/models/deepseek-v4.1-flash-1017.md @@ -0,0 +1,32 @@ +# DeepSeek V4.1 Flash 1017 API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `deepseek-v4.1-flash-1017` | +| Model family | DeepSeek | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs deepseek-v4.1-flash-1017 +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Not enabled in this configuration | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **65,536 output tokens** per request. Client or provider settings can impose lower limits. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/deepseek-v4.1-flash-abliterated.md b/models/deepseek-v4.1-flash-abliterated.md new file mode 100644 index 0000000..815888c --- /dev/null +++ b/models/deepseek-v4.1-flash-abliterated.md @@ -0,0 +1,36 @@ +# DeepSeek V4.1 Flash Abliterated API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `deepseek-v4.1-flash-abliterated` | +| Model family | DeepSeek | +| Variant | Abliterated | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs deepseek-v4.1-flash-abliterated +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **8,192 output tokens** per request. Client or provider settings can impose lower limits. + +## Model variant + +See the [uncensored and abliterated index](../UNCENSORED-MODELS.md) for related IDs and the [AI jailbreak terminology guide](../JAILBREAK-AND-MODEL-VARIANTS.md) for definitions. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/deepseek-v4.1-flash-uncensored.md b/models/deepseek-v4.1-flash-uncensored.md new file mode 100644 index 0000000..87bb14c --- /dev/null +++ b/models/deepseek-v4.1-flash-uncensored.md @@ -0,0 +1,36 @@ +# DeepSeek V4.1 Flash Uncensored API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `deepseek-v4.1-flash-uncensored` | +| Model family | DeepSeek | +| Variant | Uncensored | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs deepseek-v4.1-flash-uncensored +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **8,192 output tokens** per request. Client or provider settings can impose lower limits. + +## Model variant + +See the [uncensored and abliterated index](../UNCENSORED-MODELS.md) for related IDs and the [AI jailbreak terminology guide](../JAILBREAK-AND-MODEL-VARIANTS.md) for definitions. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/deepseek-v4.1-flash.md b/models/deepseek-v4.1-flash.md new file mode 100644 index 0000000..5f85d31 --- /dev/null +++ b/models/deepseek-v4.1-flash.md @@ -0,0 +1,32 @@ +# DeepSeek V4.1 Flash API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `deepseek-v4.1-flash` | +| Model family | DeepSeek | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs deepseek-v4.1-flash +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **65,536 output tokens** per request. Client or provider settings can impose lower limits. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/gemini-4-argon.md b/models/gemini-4-argon.md new file mode 100644 index 0000000..21b1a18 --- /dev/null +++ b/models/gemini-4-argon.md @@ -0,0 +1,32 @@ +# Gemini 4 Argon API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `gemini-4-argon` | +| Model family | Gemini | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs gemini-4-argon +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Not enabled in this configuration | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **16,384 output tokens** per request. Client or provider settings can impose lower limits. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/gemini-4-carbon.md b/models/gemini-4-carbon.md new file mode 100644 index 0000000..ea9032b --- /dev/null +++ b/models/gemini-4-carbon.md @@ -0,0 +1,32 @@ +# Gemini 4 Carbon API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `gemini-4-carbon` | +| Model family | Gemini | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs gemini-4-carbon +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **65,536 output tokens** per request. Client or provider settings can impose lower limits. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/gemini-4-hydrogen.md b/models/gemini-4-hydrogen.md new file mode 100644 index 0000000..e553261 --- /dev/null +++ b/models/gemini-4-hydrogen.md @@ -0,0 +1,32 @@ +# Gemini 4 Hydrogen API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `gemini-4-hydrogen` | +| Model family | Gemini | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs gemini-4-hydrogen +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **65,536 output tokens** per request. Client or provider settings can impose lower limits. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/glm-5.3-abliterated.md b/models/glm-5.3-abliterated.md new file mode 100644 index 0000000..44be2d2 --- /dev/null +++ b/models/glm-5.3-abliterated.md @@ -0,0 +1,38 @@ +# GLM 5.3 Abliterated API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `glm-5.3-abliterated` | +| Model family | GLM | +| Variant | Abliterated | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs glm-5.3-abliterated +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **128,000 output tokens** per request. Client or provider settings can impose lower limits. + +## Model variant + +See the [uncensored and abliterated index](../UNCENSORED-MODELS.md) for related IDs and the [AI jailbreak terminology guide](../JAILBREAK-AND-MODEL-VARIANTS.md) for definitions. + +[GLM implementation guide](https://github.com/hexapi-io/glm-5.3-abliterated) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/glm-5.3-flash-abliterated.md b/models/glm-5.3-flash-abliterated.md new file mode 100644 index 0000000..2a80951 --- /dev/null +++ b/models/glm-5.3-flash-abliterated.md @@ -0,0 +1,36 @@ +# GLM 5.3 Flash Abliterated API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `glm-5.3-flash-abliterated` | +| Model family | GLM | +| Variant | Abliterated | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs glm-5.3-flash-abliterated +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **8,192 output tokens** per request. Client or provider settings can impose lower limits. + +## Model variant + +See the [uncensored and abliterated index](../UNCENSORED-MODELS.md) for related IDs and the [AI jailbreak terminology guide](../JAILBREAK-AND-MODEL-VARIANTS.md) for definitions. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/glm-5.3-flash-uncensored.md b/models/glm-5.3-flash-uncensored.md new file mode 100644 index 0000000..9035468 --- /dev/null +++ b/models/glm-5.3-flash-uncensored.md @@ -0,0 +1,36 @@ +# GLM 5.3 Flash Uncensored API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `glm-5.3-flash-uncensored` | +| Model family | GLM | +| Variant | Uncensored | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs glm-5.3-flash-uncensored +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **65,536 output tokens** per request. Client or provider settings can impose lower limits. + +## Model variant + +See the [uncensored and abliterated index](../UNCENSORED-MODELS.md) for related IDs and the [AI jailbreak terminology guide](../JAILBREAK-AND-MODEL-VARIANTS.md) for definitions. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/glm-5.3-flash.md b/models/glm-5.3-flash.md new file mode 100644 index 0000000..b7a8024 --- /dev/null +++ b/models/glm-5.3-flash.md @@ -0,0 +1,32 @@ +# GLM 5.3 Flash API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `glm-5.3-flash` | +| Model family | GLM | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs glm-5.3-flash +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **65,536 output tokens** per request. Client or provider settings can impose lower limits. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/glm-5.3-uncensored.md b/models/glm-5.3-uncensored.md new file mode 100644 index 0000000..1434e66 --- /dev/null +++ b/models/glm-5.3-uncensored.md @@ -0,0 +1,36 @@ +# GLM 5.3 Uncensored API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `glm-5.3-uncensored` | +| Model family | GLM | +| Variant | Uncensored | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs glm-5.3-uncensored +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Not enabled in this configuration | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **65,536 output tokens** per request. Client or provider settings can impose lower limits. + +## Model variant + +See the [uncensored and abliterated index](../UNCENSORED-MODELS.md) for related IDs and the [AI jailbreak terminology guide](../JAILBREAK-AND-MODEL-VARIANTS.md) for definitions. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/glm-5.3.md b/models/glm-5.3.md new file mode 100644 index 0000000..bca213f --- /dev/null +++ b/models/glm-5.3.md @@ -0,0 +1,32 @@ +# GLM 5.3 API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `glm-5.3` | +| Model family | GLM | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs glm-5.3 +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Not enabled in this configuration | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **65,536 output tokens** per request. Client or provider settings can impose lower limits. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/gpt-5.6-sol.md b/models/gpt-5.6-sol.md new file mode 100644 index 0000000..d694c32 --- /dev/null +++ b/models/gpt-5.6-sol.md @@ -0,0 +1,34 @@ +# GPT-5.6 Sol API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `gpt-5.6-sol` | +| Model family | GPT | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **OpenAI-compatible Responses**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs gpt-5.6-sol +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **128,000 output tokens** per request. Client or provider settings can impose lower limits. + +[GPT Responses guide](../GPT-GUIDE.md) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/gpt-5.6-terra.md b/models/gpt-5.6-terra.md new file mode 100644 index 0000000..99aaa35 --- /dev/null +++ b/models/gpt-5.6-terra.md @@ -0,0 +1,34 @@ +# GPT-5.6 Terra API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `gpt-5.6-terra` | +| Model family | GPT | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **OpenAI-compatible Responses**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs gpt-5.6-terra +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **128,000 output tokens** per request. Client or provider settings can impose lower limits. + +[GPT Responses guide](../GPT-GUIDE.md) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/gpt-6-astra.md b/models/gpt-6-astra.md new file mode 100644 index 0000000..20c5aeb --- /dev/null +++ b/models/gpt-6-astra.md @@ -0,0 +1,34 @@ +# GPT-6 Astra API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `gpt-6-astra` | +| Model family | GPT | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **OpenAI-compatible Responses**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs gpt-6-astra +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **128,000 output tokens** per request. Client or provider settings can impose lower limits. + +[GPT Responses guide](../GPT-GUIDE.md) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/gpt-6.1-sol.md b/models/gpt-6.1-sol.md new file mode 100644 index 0000000..5c10c69 --- /dev/null +++ b/models/gpt-6.1-sol.md @@ -0,0 +1,34 @@ +# GPT-6.1 Sol API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `gpt-6.1-sol` | +| Model family | GPT | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **OpenAI-compatible Responses**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs gpt-6.1-sol +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **128,000 output tokens** per request. Client or provider settings can impose lower limits. + +[GPT Responses guide](../GPT-GUIDE.md) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/gpt-6.1-terra.md b/models/gpt-6.1-terra.md new file mode 100644 index 0000000..a8ffb21 --- /dev/null +++ b/models/gpt-6.1-terra.md @@ -0,0 +1,22 @@ +# GPT-6.1 Terra API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `gpt-6.1-terra` | +| Model family | GPT | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **OpenAI-compatible Responses**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs gpt-6.1-terra +~~~ + +[GPT Responses guide](../GPT-GUIDE.md) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/gpt-6.2-astra.md b/models/gpt-6.2-astra.md new file mode 100644 index 0000000..811f5e1 --- /dev/null +++ b/models/gpt-6.2-astra.md @@ -0,0 +1,34 @@ +# GPT-6.2 Astra API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `gpt-6.2-astra` | +| Model family | GPT | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **OpenAI-compatible Responses**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs gpt-6.2-astra +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **128,000 output tokens** per request. Client or provider settings can impose lower limits. + +[GPT Responses guide](../GPT-GUIDE.md) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/gpt-6.2-sol.md b/models/gpt-6.2-sol.md new file mode 100644 index 0000000..f75a5bd --- /dev/null +++ b/models/gpt-6.2-sol.md @@ -0,0 +1,34 @@ +# GPT-6.2 Sol API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `gpt-6.2-sol` | +| Model family | GPT | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **OpenAI-compatible Responses**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs gpt-6.2-sol +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **128,000 output tokens** per request. Client or provider settings can impose lower limits. + +[GPT Responses guide](../GPT-GUIDE.md) + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/grok-4.5.md b/models/grok-4.5.md new file mode 100644 index 0000000..bca561f --- /dev/null +++ b/models/grok-4.5.md @@ -0,0 +1,32 @@ +# Grok 4.5 API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `grok-4.5` | +| Model family | Grok | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs grok-4.5 +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Not enabled in this configuration | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **200,000 context tokens**, up to **64,000 output tokens** per request. Client or provider settings can impose lower limits. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/grok-4.6.md b/models/grok-4.6.md new file mode 100644 index 0000000..0ad629c --- /dev/null +++ b/models/grok-4.6.md @@ -0,0 +1,32 @@ +# Grok 4.6 API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `grok-4.6` | +| Model family | Grok | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs grok-4.6 +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Not enabled in this configuration | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **500,000 context tokens**, up to **65,536 output tokens** per request. Client or provider settings can impose lower limits. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/grok-4.7.md b/models/grok-4.7.md new file mode 100644 index 0000000..8495831 --- /dev/null +++ b/models/grok-4.7.md @@ -0,0 +1,32 @@ +# Grok 4.7 API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `grok-4.7` | +| Model family | Grok | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs grok-4.7 +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Not enabled in this configuration | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **500,000 context tokens**, up to **65,536 output tokens** per request. Client or provider settings can impose lower limits. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/kimi-k3.1-pro-uncensored.md b/models/kimi-k3.1-pro-uncensored.md new file mode 100644 index 0000000..aaf6711 --- /dev/null +++ b/models/kimi-k3.1-pro-uncensored.md @@ -0,0 +1,36 @@ +# Kimi K3.1 Pro Uncensored API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `kimi-k3.1-pro-uncensored` | +| Model family | Kimi | +| Variant | Uncensored | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs kimi-k3.1-pro-uncensored +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Not enabled in this configuration | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **8,192 output tokens** per request. Client or provider settings can impose lower limits. + +## Model variant + +See the [uncensored and abliterated index](../UNCENSORED-MODELS.md) for related IDs and the [AI jailbreak terminology guide](../JAILBREAK-AND-MODEL-VARIANTS.md) for definitions. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/kimi-k3.1-pro.md b/models/kimi-k3.1-pro.md new file mode 100644 index 0000000..96f8a6c --- /dev/null +++ b/models/kimi-k3.1-pro.md @@ -0,0 +1,32 @@ +# Kimi K3.1 Pro API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `kimi-k3.1-pro` | +| Model family | Kimi | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs kimi-k3.1-pro +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Not enabled in this configuration | +| Function tools | Supported | +| Adjustable reasoning | Supported | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **32,000 output tokens** per request. Client or provider settings can impose lower limits. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/qwen3.8-max-uncensored.md b/models/qwen3.8-max-uncensored.md new file mode 100644 index 0000000..e168369 --- /dev/null +++ b/models/qwen3.8-max-uncensored.md @@ -0,0 +1,36 @@ +# Qwen 3.8 Max Uncensored API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `qwen3.8-max-uncensored` | +| Model family | Qwen | +| Variant | Uncensored | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs qwen3.8-max-uncensored +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **8,192 output tokens** per request. Client or provider settings can impose lower limits. + +## Model variant + +See the [uncensored and abliterated index](../UNCENSORED-MODELS.md) for related IDs and the [AI jailbreak terminology guide](../JAILBREAK-AND-MODEL-VARIANTS.md) for definitions. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/qwen3.8-max.md b/models/qwen3.8-max.md new file mode 100644 index 0000000..fd14566 --- /dev/null +++ b/models/qwen3.8-max.md @@ -0,0 +1,32 @@ +# Qwen 3.8 Max API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `qwen3.8-max` | +| Model family | Qwen | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs qwen3.8-max +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **128,000 output tokens** per request. Client or provider settings can impose lower limits. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/models/qwen4-max.md b/models/qwen4-max.md new file mode 100644 index 0000000..40a3edc --- /dev/null +++ b/models/qwen4-max.md @@ -0,0 +1,32 @@ +# Qwen4 Max API on HEX + +| Setting | Value | +| --- | --- | +| API model ID | `qwen4-max` | +| Model family | Qwen | +| Variant | Standard | +| Catalog availability | Active in this snapshot | + +## First request + +HEX workspace format: **Chat Completions**. + +Set `HEX_API_KEY` in your terminal and run this command from the repository root. + +~~~sh +node request-example.mjs qwen4-max +~~~ + +## Capabilities in HEX workspace + +| Feature | Support | +| --- | --- | +| Image input | Supported | +| Function tools | Supported | +| Adjustable reasoning | Not enabled in this configuration | + +Verify settings for your client and API format before using them. + +HEX gateway limits: **1,000,000 context tokens**, up to **128,000 output tokens** per request. Client or provider settings can impose lower limits. + +[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md) diff --git a/request-example.mjs b/request-example.mjs new file mode 100644 index 0000000..a336554 --- /dev/null +++ b/request-example.mjs @@ -0,0 +1,70 @@ +import { readFile } from "node:fs/promises"; +import { resolve } from "node:path"; +import { pathToFileURL } from "node:url"; + +const api = "https://api.hexapi.io"; +const prompt = "Reply with exactly: HEX API ready."; +const outputLimit = 512; + +export function buildRequest(model, format) { + if (format === "responses") { + return { + url: api + "/v1/responses", + body: { model, input: prompt, max_output_tokens: outputLimit, store: false }, + }; + } + + if (format === "messages" || format === "chat") { + return { + url: api + (format === "messages" ? "/v1/messages" : "/v1/chat/completions"), + body: { model, messages: [{ role: "user", content: prompt }], max_tokens: outputLimit }, + }; + } + + throw new Error("No request format is documented for this model. See API-FORMATS.md."); +} + +async function run([id, flag, extra]) { + if (!id || (flag && flag !== "--dry-run") || extra !== undefined) { + throw new Error("Usage: node request-example.mjs [--dry-run]"); + } + const catalog = JSON.parse(await readFile(new URL("models.json", import.meta.url), "utf8")); + const formats = JSON.parse(await readFile(new URL("capabilities.json", import.meta.url), "utf8")); + if (!catalog.models.some(model => model.id === id)) { + throw new Error("Unknown or archived model ID. Check MODEL-INDEX.md."); + } + const format = Object.hasOwn(formats, id) ? formats[id].format : undefined; + const request = buildRequest(id, format); + if (flag === "--dry-run") { + console.log(JSON.stringify(request, null, 2)); + return; + } + + const key = process.env.HEX_API_KEY; + if (!key) throw new Error("Set HEX_API_KEY in your terminal first."); + const headers = { "Content-Type": "application/json" }; + if (format === "messages") { + headers["x-api-key"] = key; + headers["anthropic-version"] = "2023-06-01"; + } else { + headers.Authorization = "Bearer " + key; + } + const response = await fetch(request.url, { + method: "POST", headers, body: JSON.stringify(request.body), + redirect: "error", signal: AbortSignal.timeout(120_000), + }); + if (!response.ok) throw new Error("HEX returned HTTP " + response.status + ". See BILLING-AND-TROUBLESHOOTING.md."); + const data = await response.json(); + const answer = format === "chat" + ? data.choices?.[0]?.message?.content + : format === "messages" + ? data.content?.filter(block => block.type === "text").map(block => block.text).join("\n") + : data.output_text ?? data.output?.filter(item => item.type === "message") + .flatMap(item => item.content).filter(block => block.type === "output_text").map(block => block.text).join("\n"); + console.log(JSON.stringify({ answer: answer || null, usage: data.usage ?? null, + status: data.status ?? data.stop_reason ?? data.choices?.[0]?.finish_reason ?? null }, null, 2)); +} + +if (process.argv[1] && pathToFileURL(resolve(process.argv[1])).href === import.meta.url) { + await run(process.argv.slice(2)); +} diff --git a/sync-models.mjs b/sync-models.mjs index ea013a3..798320c 100644 --- a/sync-models.mjs +++ b/sync-models.mjs @@ -1,102 +1,200 @@ -import { readFile, writeFile } from "node:fs/promises"; - -const source = "https://hexapi.io/api/models"; -const familyNames = new Map([ - ["claude", "Claude"], - ["deepseek", "DeepSeek"], - ["gemini", "Gemini"], - ["glm", "GLM"], - ["gpt", "GPT"], - ["grok", "Grok"], - ["kimi", "Kimi"], - ["qwen", "Qwen"], -]); - -function normalizeModel(model) { - const name = typeof model.name === "string" ? model.name.replace(/\s*\(100% Uncensored\)$/i, "") : ""; - if (!/^[a-zA-Z0-9_.:/-]{1,120}$/.test(model.id || "") - || !/^[a-zA-Z0-9][a-zA-Z0-9 ().:+/_-]{0,119}$/.test(name) - || !/^[a-zA-Z0-9][a-zA-Z0-9 ._-]{0,39}$/.test(model.family || "")) { - throw new Error("HEX returned an invalid model identity."); - } - - const familyKey = model.family.toLowerCase(); - const family = familyNames.get(familyKey.startsWith("qwen") ? "qwen" : familyKey) ?? model.family; - const variant = /abliterated/i.test(model.id) ? "Abliterated" - : model.uncensored === true || /uncensored/i.test(model.id) ? "Uncensored" : "Standard"; - - return { id: model.id, name, family, variant }; -} - -function renderIndex(models) { - const groups = Map.groupBy(models, model => model.family); - const sections = Array.from(groups, ([family, records]) => [ - `## ${family}`, - "", - "| Model | API model ID | Variant |", - "| --- | --- | --- |", - ...records.map(({ id, name, variant }) => `| ${name} | \u0060${id}\u0060 | ${variant} |`), - ].join("\n")); - - return [ - "# Active HEX API models", - "", - `**${models.length} models across ${groups.size} families** in this snapshot of the public HEX catalog.`, - "", - "[Live availability](https://hexapi.io/status) · [Live pricing](https://hexapi.io/pricing) · [JSON list](models.json)", - "", - ...sections.map(section => section + "\n"), - "[Catalog home](README.md) · [API formats](API-FORMATS.md) · [Model variants](JAILBREAK-AND-MODEL-VARIANTS.md)", - "", - ].join("\n"); -} - -const flag = process.argv[2]; -if (process.argv.length > 3 || (flag && flag !== "--check")) { - throw new Error("Usage: node sync-models.mjs [--check]"); -} - -const response = await fetch(source, { - headers: { Accept: "application/json" }, - redirect: "error", - signal: AbortSignal.timeout(15_000), -}); -if (!response.ok) throw new Error(`HEX catalog returned HTTP ${response.status}.`); - -const payload = await response.json(); -if (!Array.isArray(payload.models) || payload.models.some(model => typeof model?.available !== "boolean")) { - throw new Error("HEX catalog response is missing valid availability values."); -} - -const models = payload.models - .filter(model => model.available) - .map(normalizeModel) - .sort((a, b) => a.family.localeCompare(b.family, "en") || a.id.localeCompare(b.id, "en")); - -if (!models.length || new Set(models.map(model => model.id)).size !== models.length) { - throw new Error("HEX catalog response is empty or has duplicate model IDs."); -} - -const files = new Map([ - ["MODEL-INDEX.md", renderIndex(models)], - ["models.json", JSON.stringify({ - catalog: "HEX API", - source, - liveCatalog: "https://hexapi.io/models", - pricing: "https://hexapi.io/pricing", - status: "https://hexapi.io/status", - models, - }, null, 2) + "\n"], -]); - -for (const [name, data] of files) { - const location = new URL(name, import.meta.url); - if (flag === "--check") { - const current = await readFile(location, "utf8"); - if (current.replace(/\r\n/g, "\n") !== data) throw new Error(`${name} differs from the live catalog.`); - } else { - await writeFile(location, data, "utf8"); - } -} - -console.log(`HEX catalog verified: ${models.length} available models.`); +import { mkdir, readFile, readdir, writeFile } from "node:fs/promises"; +import { resolve } from "node:path"; +import { pathToFileURL } from "node:url"; + +const source = "https://hexapi.io/api/models"; +const familyNames = { + claude: "Claude", deepseek: "DeepSeek", gemini: "Gemini", glm: "GLM", + gpt: "GPT", grok: "Grok", kimi: "Kimi", qwen: "Qwen", +}; + +const formatLabels = { + chat: "Chat Completions", + messages: "Anthropic-compatible Messages", + responses: "OpenAI-compatible Responses", +}; + +const integrationGuides = { + "glm-5.3-abliterated": ["GLM implementation guide", "https://github.com/hexapi-io/glm-5.3-abliterated"], + "deepseek-v4-pro-uncensored": ["DeepSeek streaming guide", "https://github.com/hexapi-io/deepseek-v4-pro-uncensored"], +}; + +function normalizeModel(model) { + const name = typeof model?.name === "string" ? model.name.replace(/\s*\(100% Uncensored\)$/i, "") : ""; + if (typeof model?.id !== "string" || !/^[a-zA-Z0-9][a-zA-Z0-9_.:/-]{0,119}$/.test(model.id) + || !/^[a-zA-Z0-9][a-zA-Z0-9 ().:+/_-]{0,119}$/.test(name) + || typeof model.family !== "string" || !/^[a-zA-Z0-9][a-zA-Z0-9 ._-]{0,39}$/.test(model.family)) { + throw new Error("HEX returned an invalid model identity."); + } + + const familyKey = model.family.toLowerCase(); + const canonicalFamily = familyKey.startsWith("qwen") ? "qwen" : familyKey; + const family = Object.hasOwn(familyNames, canonicalFamily) ? familyNames[canonicalFamily] : model.family; + const variant = /abliterated/i.test(model.id) ? "Abliterated" + : model.uncensored === true || /uncensored/i.test(model.id) ? "Uncensored" : "Standard"; + return { id: model.id, name, family, variant }; +} + +const byFamilyAndId = (a, b) => a.family.localeCompare(b.family, "en") || a.id.localeCompare(b.id, "en"); + +export function buildSnapshot(rows, previous) { + if (!Array.isArray(rows) || rows.some(model => typeof model?.available !== "boolean")) { + throw new Error("HEX catalog response is missing valid availability values."); + } + const indexed = new Map(); + for (const row of rows) { + const model = normalizeModel(row); + if (indexed.has(model.id)) throw new Error("HEX catalog returned a duplicate model ID."); + indexed.set(model.id, { model, available: row.available }); + } + const models = [...indexed.values()].filter(row => row.available).map(row => row.model).sort(byFamilyAndId); + if (!models.length) throw new Error("HEX catalog returned no available models."); + + const archivedModels = [...(previous?.models ?? []), ...(previous?.archivedModels ?? [])] + .filter(model => !indexed.get(model.id)?.available) + .map(previousModel => indexed.get(previousModel.id)?.model ?? previousModel) + .sort(byFamilyAndId); + + return { catalog: "HEX API", source, liveCatalog: "https://hexapi.io/models", + pricing: "https://hexapi.io/pricing", status: "https://hexapi.io/status", models, archivedModels }; +} + +const tick = String.fromCharCode(96); + +function pageName(id) { + const simple = /^[a-z0-9][a-z0-9._-]*$/.test(id); + const windowsDevice = /^(aux|con|nul|prn|com[1-9]|lpt[1-9])(?:\.|$)/i.test(id); + return (simple && !windowsDevice ? id : "~" + Buffer.from(id).toString("hex")) + ".md"; +} + +function table(models, from = "models/") { + return [ + "| Model page | API model ID | Variant |", + "| --- | --- | --- |", + ...models.map(model => "| [" + model.name + "](" + from + pageName(model.id) + ") | " + + tick + model.id + tick + " | " + model.variant + " |"), + ].join("\n"); +} + +function modelPage(model, capabilities, available) { + const lines = [ + "# " + model.name + " API on HEX", + "", + "| Setting | Value |", + "| --- | --- |", + "| API model ID | " + tick + model.id + tick + " |", + "| Model family | " + model.family + " |", + "| Variant | " + model.variant + " |", + "| Catalog availability | " + (available ? "Active in this snapshot" : "Archived") + " |", + "", + ]; + if (!available) { + lines.push("This ID was previously listed on HEX. Check the [active model index](../MODEL-INDEX.md) for current options.", ""); + } else if (capabilities) { + lines.push("## First request", "", "HEX workspace format: **" + formatLabels[capabilities.format] + "**.", "", + "Set " + tick + "HEX_API_KEY" + tick + " in your terminal and run this command from the repository root.", "", + "~~~sh", "node request-example.mjs " + model.id, "~~~", ""); + const features = [ + ["Image input", capabilities.vision], + ["Function tools", capabilities.tools], + ["Adjustable reasoning", capabilities.reasoning], + ].filter(([, value]) => typeof value === "boolean"); + if (features.length) { + lines.push("## Capabilities in HEX workspace", "", "| Feature | Support |", "| --- | --- |", + ...features.map(([label, supported]) => "| " + label + " | " + (supported ? "Supported" : "Not enabled in this configuration") + " |"), ""); + lines.push("Verify settings for your client and API format before using them.", ""); + } + if (Number.isSafeInteger(capabilities.context) && Number.isSafeInteger(capabilities.output)) { + lines.push("HEX gateway limits: **" + capabilities.context.toLocaleString("en-US") + " context tokens**, up to **" + + capabilities.output.toLocaleString("en-US") + " output tokens** per request. Client or provider settings can impose lower limits.", ""); + } + } else { + lines.push("## First request", "", "See [HEX API formats](../API-FORMATS.md) for available endpoints. Per-model format and settings are pending review.", ""); + } + + if (model.variant !== "Standard") { + lines.push("## Model variant", "", "See the [uncensored and abliterated index](../UNCENSORED-MODELS.md) for related IDs and the [AI jailbreak terminology guide](../JAILBREAK-AND-MODEL-VARIANTS.md) for definitions.", ""); + } + if (model.family === "GPT") lines.push("[GPT Responses guide](../GPT-GUIDE.md)", ""); + if (model.family === "Claude") lines.push("[Claude Messages guide](../CLAUDE-GUIDE.md)", ""); + const guide = Object.hasOwn(integrationGuides, model.id) ? integrationGuides[model.id] : undefined; + if (guide) lines.push("[" + guide[0] + "](" + guide[1] + ")", ""); + lines.push("[Live pricing](https://hexapi.io/pricing) · [Service status](https://hexapi.io/status) · [API reference](https://hexapi.io/docs) · [All HEX models](../MODEL-INDEX.md)", ""); + return lines.join("\n"); +} + +export function renderFiles(snapshot, capabilities) { + const groups = Map.groupBy(snapshot.models, model => model.family); + const index = [ + "# Active HEX API models", "", + "**" + snapshot.models.length + " models across " + groups.size + " families** in this snapshot of the public HEX catalog.", "", + "[Uncensored and abliterated models](UNCENSORED-MODELS.md) · [Live availability](https://hexapi.io/status) · [Live pricing](https://hexapi.io/pricing) · [JSON list](models.json)", "", + ...Array.from(groups, ([family, entries]) => "## " + family + "\n\n" + table(entries) + "\n"), + "[Catalog home](README.md) · [API formats](API-FORMATS.md) · [Model variants](JAILBREAK-AND-MODEL-VARIANTS.md)", "", + ]; + if (snapshot.archivedModels.length) { + index.push("## Archived models", "", "These IDs had a previous page in the catalog.", "", table(snapshot.archivedModels), ""); + } + const abliterated = snapshot.models.filter(model => model.variant === "Abliterated"); + const uncensored = snapshot.models.filter(model => model.variant === "Uncensored"); + const variants = [ + "# Uncensored and abliterated AI models on HEX", "", + "Use an exact model ID with the HEX API. Model availability, features, and behavior can vary by variant.", "", + "## Abliterated models", "", table(abliterated), "", + "## Uncensored models", "", table(uncensored), "", + "[AI jailbreak and variant terminology](JAILBREAK-AND-MODEL-VARIANTS.md) · [All active models](MODEL-INDEX.md) · [Live pricing](https://hexapi.io/pricing)", "", + ]; + const files = new Map([ + ["MODEL-INDEX.md", index.join("\n")], + ["UNCENSORED-MODELS.md", variants.join("\n")], + ["models.json", JSON.stringify(snapshot, null, 2) + "\n"], + ]); + const activeIds = new Set(snapshot.models.map(model => model.id)); + for (const model of [...snapshot.models, ...snapshot.archivedModels]) { + const path = "models/" + pageName(model.id); + if (files.has(path)) throw new Error("Catalog snapshot repeats a model page path."); + const details = Object.hasOwn(capabilities, model.id) ? capabilities[model.id] : undefined; + files.set(path, modelPage(model, details, activeIds.has(model.id))); + } + return files; +} + +async function run(args) { + const flags = new Set(args); + if (args.some(arg => !["--check", "--offline"].includes(arg)) || args.length !== flags.size) { + throw new Error("Usage: node sync-models.mjs [--check] [--offline]"); + } + const catalogPath = new URL("models.json", import.meta.url); + const previous = JSON.parse(await readFile(catalogPath, "utf8")); + previous.archivedModels ??= []; + const capabilities = JSON.parse(await readFile(new URL("capabilities.json", import.meta.url), "utf8")); + let snapshot = previous; + if (!flags.has("--offline")) { + const response = await fetch(source, { + headers: { Accept: "application/json" }, redirect: "error", signal: AbortSignal.timeout(20_000), + }); + if (!response.ok) throw new Error("HEX catalog returned HTTP " + response.status + "."); + snapshot = buildSnapshot((await response.json()).models, previous); + } + const files = renderFiles(snapshot, capabilities); + const modelDirectory = new URL("models/", import.meta.url); + if (flags.has("--check")) { + for (const [name, value] of files) { + const current = await readFile(new URL(name, import.meta.url), "utf8"); + if (current.replace(/\r\n/g, "\n") !== value) throw new Error(name + " differs from the catalog snapshot."); + } + for (const file of await readdir(modelDirectory)) { + if (file.endsWith(".md") && !files.has("models/" + file)) { + throw new Error("Untracked model page: " + file); + } + } + } else { + await mkdir(modelDirectory, { recursive: true }); + for (const [name, value] of files) await writeFile(new URL(name, import.meta.url), value, "utf8"); + } + console.log("HEX catalog: " + snapshot.models.length + " active, " + snapshot.archivedModels.length + " archived."); +} + +if (process.argv[1] && pathToFileURL(resolve(process.argv[1])).href === import.meta.url) { + await run(process.argv.slice(2)); +}