← Models
opencode-go

Hy4

hy4
ReasoningVision

Model details

Model
hy4
Provider
opencode-go
API
openai-completions
Base URL
https://opencode.ai/inference/go/openai/v1
Input
text, image
Reasoning
Yes
Context window
1,048,576
Max tokens
65,536

Pricing

USD per million tokens.

Input
$0.834
Output
$2.501
Cache read
$0.042
Cache write
$0

A reference estimate. Provider pricing and context tiers may vary.

Session cost calculator

Estimate the model requests made during an agent session.

96%
Estimated session$0.13
Uncached input
$0.07
Cache reads
$0.03
Cache writes
$0.0000
Output
$0.04
Without caching
$0.64

25 model requests

The first request starts cold unless marked otherwise. Output is billed separately from context growth. Providers differ in eligibility, context tiers, rounding, and retention.

Compatibility flags

supportsStore
No
supportsStrictMode
Yes
maxTokensField
max_tokens