# Hy-MT2-30B-A3B

Canonical page: https://agentsky.dev/models/tencent/hy-mt2-30b-a3b
JSON record: https://gateway.agentsky.dev/v1/models/tencent/hy-mt2-30b-a3b

Hy-MT2-30B-A3B is a text-input model by Tencent, available through the AgentSky API as tencent/hy-mt2-30b-a3b at $0.085877 per million input tokens and $0.342348 per million output tokens, with a 8K context window.

Hy-MT2-30B-A3B is Tencent's flagship translation model in the Hy-MT2 family.

## Facts

- **Model id:** `tencent/hy-mt2-30b-a3b`
- **Maker:** Tencent
- **Input modalities:** Text
- **Context:** 8K
- **Max output tokens:** 4,096
- **Aliases:** `tencent/hy-mt2-30b-a3b`, `hy-mt2-30b-a3b`

## Pricing

USD per million tokens on the default plan. Signed-in pages show your own plan's price; every response carries the cost of that call in `usage.cost`.

| Meter | Per 1M tokens |
|---|---|
| Input | $0.085877 |
| Output | $0.342348 |
| Cache read | $0.085877 |
| Cache write | $0.085877 |

## Use it

Anthropic wire base URL: `https://gateway.agentsky.dev`. OpenAI wire base URL: `https://gateway.agentsky.dev/v1`. Authenticate with an AgentSky API key (`ast_…`) and pass the model id.

### OpenAI SDK

```js
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://gateway.agentsky.dev/v1",
  apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});

const completion = await client.chat.completions.create({
  model: "tencent/hy-mt2-30b-a3b",
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(completion.usage.cost); // USD, in the response
```

### Codex

```bash
export OPENAI_BASE_URL="https://gateway.agentsky.dev/v1"
export OPENAI_API_KEY="$AGENTSKY_API_KEY"

codex --model tencent/hy-mt2-30b-a3b
```

### OpenCode

```js
// opencode.json — then switch models any time with /models
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "agentsky": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "AgentSky",
      "options": {
        "baseURL": "https://gateway.agentsky.dev/v1",
        "apiKey": "{env:AGENTSKY_API_KEY}"
      },
      "models": { "tencent/hy-mt2-30b-a3b": {} }
    }
  }
}
```

## Questions

### What is Hy-MT2-30B-A3B?

Hy-MT2-30B-A3B is a model from Tencent. Hy-MT2-30B-A3B is Tencent's flagship translation model in the Hy-MT2 family.

### How much does Hy-MT2-30B-A3B cost?

$0.085877 / $0.342348 per million tokens at the prices shown, for input and output respectively. The exact price of every call comes back in the response as usage.cost, so you never have to compute it.

### What is the context length of Hy-MT2-30B-A3B?

8K tokens, and it writes up to 4K tokens in one reply. These are the limits listed for this model in the current AgentSky catalog.

### Which clients can call Hy-MT2-30B-A3B?

Anything that speaks the OpenAI-compatible request format. Point the client's base URL at the gateway, use an AgentSky key, and pass tencent/hy-mt2-30b-a3b as the model.

### How do I name Hy-MT2-30B-A3B in a request?

The gateway accepts tencent/hy-mt2-30b-a3b, hy-mt2-30b-a3b. Any of them resolves to the same model, so an existing integration usually needs no change to its model string.

### Can Hy-MT2-30B-A3B read images?

No image input is listed for this model. Its supported input types are text. For screenshots or photographs, choose a model that lists image input.

### What output can Hy-MT2-30B-A3B produce?

The listed output types are text. This model returns text. Producing image, video or audio files requires a suitable tool or another model; it is not included in text generation.

### How should I plan a long prompt for Hy-MT2-30B-A3B?

Plan your instructions, conversation history and source material around the 8K-token context limit, leaving room for the response. The listed response ceiling is 4K tokens. A larger window lets you supply more relevant material; it does not make unrelated content useful.

### What would 10,000 input tokens and 2,000 output tokens cost with Hy-MT2-30B-A3B?

At the displayed input and output rates, the model-token subtotal is $0.00154347. This example assumes uncached input and excludes additional pricing categories, tool calls and agent runtime. Actual usage determines the final charge.

### How is cached input priced for Hy-MT2-30B-A3B?

The catalog lists $0.085877 per million cache-read tokens. Cache writes are listed at $0.085877 per million tokens. Repeating a prompt does not by itself guarantee a cache hit; only usage reported as cached receives that rate.

### Does the Hy-MT2-30B-A3B token price cover an entire agent task?

No. The model price covers the model usage described above. A task can also incur tool and runtime charges, and several model calls may be needed to complete it. Compare total task usage when evaluating cost.

### How do I use Hy-MT2-30B-A3B on AgentSky?

This model is listed for API use. Use the model ID tencent/hy-mt2-30b-a3b with a supported gateway operation. The agent composer is not offered here because the current agent model menu has no compatible match.
