Hy4 Xploded in Continue

Hy4 Xploded in Continue

Run hy4-xploded in Continue through MagmaRouter: one key, a hard spend cap, and a model that answers instead of refusing.

Model idhy4-xploded
Context window1,048,576 tokens (1M)
Tool callingSupported
Price per 1M tokens$3.20 input, $0.60 on a cache hit, $6.40 output
Web searchAdd :online to the id

Set it up

  1. Add a model block to ~/.continue/config.yaml with model: hy4-xploded and the MagmaRouter apiBase.
  2. Put MAGMAROUTER_API_KEY=sk-mr-... in ~/.continue/.env; the editor extensions cannot read your shell.
  3. Keep capabilities: [tool_use], or Continue will not let it act in agent mode.
name: MagmaRouter
version: 0.0.1
schema: v1
models:
  - name: Hy4 Xploded (MagmaRouter)
    provider: openai
    model: hy4-xploded
    apiBase: https://api.magmarouter.com/v1
    apiKey: ${{ secrets.MAGMAROUTER_API_KEY }}
    defaultCompletionOptions:
      contextLength: 1048576
      maxTokens: 32768
    capabilities:
      - tool_use
    roles:
      - chat
      - edit
      - apply
Continue with Hy4 Xploded Continue only sends tools to models it believes can use them. The capabilities line is that belief; without it agent mode quietly falls back to chat.

Hy4 Xploded has its own page with every limit and price.

What a session costs

For a 25-turn agent task (about 750K input tokens re-read across turns, 85% of them cache hits, 25K output), Hy4 Xploded comes to about $0.90 at today's prices; the cache price does most of the work, since re-read context is billed at $0.60 rather than $3.20 per million.

FAQ

Can Hy4 Xploded edit files and run commands in Continue?

Yes. Continue acts through tool calls and this model supports tool calling, so it can read, edit and run, not just chat.

What does a session cost?

About $0.90 for a 25-turn agent task (about 750K input tokens re-read across turns, 85% of them cache hits, 25K output), at $3.20 in, $6.40 out and $0.60 per million on cache hits. Put a spend cap on the key so a long run cannot overrun it.

Is it uncensored?

Tencent's Hy4, uncensored: a million tokens of context, tool calling, reasoning and vision.

The other model in Continue