# Tencent Hunyuan Role Latest

> Tencent Hunyuan roleplay model served by TokenHub for character dialogue and digital personas.

Agent resources: the index of everything machine-readable is https://www.ohmygpt.com/llms.txt; the integration skill (endpoints, auth, SDK and coding-tool setup) is https://www.ohmygpt.com/skill.md.

- Model ID: `tencent/hunyuan-role-latest`
- Live status and providers as JSON, no key needed: https://api.ohmygpt.com/v1/models/tencent/hunyuan-role-latest
- Released: —
- Context: 32K tokens
- Max output: 4K tokens
- Input: text; output: text

## Prices (USD)

| Item | Price | Unit |
| --- | --- | --- |
| Input | $0.3504 | per 1M tokens |
| Output | $1.4016 | per 1M tokens |

## Providers

Without a prefix each request goes to the best-priced healthy provider. To pin one, send the model as `<provider>:tencent/hunyuan-role-latest`.

| Provider | Pinned model ID | Location | Input | Output | Trains on your data |
| --- | --- | --- | --- | --- | --- |
| Tencent Cloud TokenHub | `tencent:tencent/hunyuan-role-latest` | China | $0.3504 | $1.4016 | no |

## Endpoints

| API | Request | model |
| --- | --- | --- |
| OpenAI Chat | POST https://api.ohmygpt.com/v1/chat/completions | `tencent/hunyuan-role-latest` |
| OpenAI Responses | POST https://api.ohmygpt.com/v1/responses | `tencent/hunyuan-role-latest` |
| Anthropic Messages | POST https://api.ohmygpt.com/v1/messages | `tencent/hunyuan-role-latest` |
| Google Gemini | POST https://api.ohmygpt.com/v1/models/tencent/hunyuan-role-latest:generateContent | `tencent/hunyuan-role-latest` |

## Example

```bash
curl https://api.ohmygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $OHMYGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tencent/hunyuan-role-latest",
    "messages": [
      {
        "role": "user",
        "content": "Hello"
      }
    ]
  }'
```

Web page: https://www.ohmygpt.com/models/tencent/hunyuan-role-latest
