gpt-6.2-astra vs hy4: API Pricing & Capabilities
Unit prices, a monthly cost example and capabilities of gpt-6.2-astra and hy4, side by side, from the build-time price snapshot. Both models work with the same OpenLux API key and base URL — switch by changing the model parameter.
gpt-6.2-astra: GPT-6.2 Astra can build and modify software, operate computers, and handle documents. It supports text and image input and responds in text form. In the Responses API, you can delegate tasks to sub-agents using the multi-agent beta.
hy4: The official version of Hy4 has achieved significant improvements compared to the Hy4 preview, especially enhancing Agent capabilities and various long-range and real productivity tasks, and for the first time, introducing visual understanding.
Price overview
For each model, the lowest-priced group available to visitors; input, output and monthly cost all use that group.
| Item | gpt-6.2-astra | hy4 |
|---|---|---|
| Provider | OpenAI | 腾讯 |
| Group | Codex-Gpt-1 | Self-Deployed-1 |
| Input (USD / 1M tokens) | $0.2942 | $0.2502 |
| Output (USD / 1M tokens) | $1.471 | $0.7503 |
| Cache read (USD / 1M tokens) | $0.0147 | $0.0126 |
| Monthly cost example | $58.83 | $40.03 |
Monthly cost example: 100M input tokens + 20M output tokens per month, using the input and output prices of the same group, excluding cache.
gpt-6.2-astra has long-context tiers; the example uses first-tier prices.
Prices by group
USD per 1M tokens. Price = base price × group ratio.
gpt-6.2-astra by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Codex-Gpt-1 | $0.2942 | $1.471 | $0.0147 | $58.83 |
| Codex-Gpt-2 | $0.4706 | $2.353 | $0.0235 | $94.13 |
| Codex-Gpt-3 | $0.5882 | $2.941 | $0.0294 | $117.65 |
| Azure-Gpt-3 | $1.76 | $8.80 | $0.088 | $352.00 |
| Azure-Gpt-4 | $3.52 | $17.60 | $0.176 | $704.00 |
| Openai-Gpt-1 | $4.706 | $23.53 | $0.2353 | $941.18 |
| Azure-Gpt-5 | $4.80 | $24.00 | $0.24 | $960.00 |
| Openai-Gpt-2 | $5.882 | $29.412 | $0.2941 | $1,176.48 |
| Azure-Gpt-6 | $7.20 | $36.00 | $0.36 | $1,440.00 |
hy4 by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Self-Deployed-1 | $0.2502 | $0.7503 | $0.0126 | $40.03 |
| Self-Deployed-2 | $0.417 | $1.25 | $0.021 | $66.71 |
| hunyuan-1 | $0.5004 | $1.501 | $0.0252 | $80.05 |
| Self-Deployed-3 | $0.6255 | $1.876 | $0.0315 | $100.06 |
| hunyuan-2 | $0.7923 | $2.376 | $0.0399 | $126.75 |
Same-group comparison
The two models share no group, so each monthly example uses its own groups (see the tables above).
Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table on each model page and your console.
Capabilities
| Item | gpt-6.2-astra | hy4 |
|---|---|---|
| Provider | OpenAI | 腾讯 |
| Context | — | — |
| Features | Conversation · Tools · Image Recognition · Thinking | Conversation · Tool |
| API formats | OpenAI Chat Completions · OpenAI Responses | Anthropic Messages · OpenAI Chat Completions |
| Long-context tiers | Yes | No |
Which one to choose
- Lower cost: hy4 is cheaper — about $40.03 vs $58.83 for gpt-6.2-astra in the monthly example above.
- Need the Anthropic Messages format (/v1/messages, e.g. tools like Claude Code): choose hy4.
- Need Tools, Image Recognition, Thinking: gpt-6.2-astra supports it.
- Need Tool: hy4 supports it.
- Not sure? Send a small share of real traffic to each and compare quality and cost — switching only changes the model parameter.
Quick start
Base URL: https://api.openlux.ai/v1. The example uses gpt-6.2-astra; change model to hy4 to call the other model.
curl https://api.openlux.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6.2-astra",
"messages": [{"role": "user", "content": "Hello"}]
}'Full parameters in the API docs
FAQ
Which is cheaper, gpt-6.2-astra or hy4?
At build time, the lowest public prices were: gpt-6.2-astra (Codex-Gpt-1 group) input $0.2942, output $1.471 per 1M tokens; hy4 (Self-Deployed-1 group) input $0.2502, output $0.7503 per 1M tokens. For 100M input + 20M output tokens a month, gpt-6.2-astra costs about $58.83 and hy4 about $40.03.
Can I use one API key for both gpt-6.2-astra and hy4?
Yes. Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and set model to gpt-6.2-astra or hy4. Usage of both models is billed from the same balance.
Which API formats do gpt-6.2-astra and hy4 support?
gpt-6.2-astra: OpenAI Chat Completions, OpenAI Responses. hy4: Anthropic Messages, OpenAI Chat Completions.
Is there a Batch API?
Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.