hy3 API pricing

hy3 on InferSpeed: $0.0792 input, $0.3168 output, $0.0198 cache read per 1M tokens. OpenAI-compatible API, pay per token.

Price (USD per 1M tokens)

InputOutputCache read
Price$0.0792$0.3168$0.0198

Endpoints

APIBase URL
OpenAI Chat Completions (/chat/completions)https://api.inferspeed.ai/v1

Authentication: Authorization: Bearer $INFERSPEED_API_KEY (x-api-key also works).

FAQ

How much does the hy3 API cost?

InferSpeed charges $0.0792 per 1M input tokens, $0.3168 per 1M output tokens and $0.0198 per 1M cache-read tokens (USD), billed per token from a prepaid balance. The price list publishes no official list price for hy3.

Which APIs can I call hy3 with?

The price list names these APIs for hy3: OpenAI Chat Completions (POST https://api.inferspeed.ai/v1/chat/completions). Authentication: Authorization: Bearer $INFERSPEED_API_KEY (x-api-key also works).

Which API key do I need for hy3?

One API key calls every live model, hy3 included. New here? Sign up at https://inferspeed.ai/register first, then create a key at https://inferspeed.ai/keys and name the model in the request. Each request is billed at the price of the model that served it.

Which environment variables do I set for hy3?

Copy and paste:

export INFERSPEED_API_KEY="YOUR_API_KEY"
# OpenAI SDKs, OpenAI-compatible tools
export OPENAI_BASE_URL="https://api.inferspeed.ai/v1"
export OPENAI_API_KEY="$INFERSPEED_API_KEY"

The key variable is spelled exactly INFERSPEED_API_KEY.

Can I try hy3 for free?

New InferSpeed accounts get $1 of free credit when they sign up with GitHub or Google (no card; valid 3 days): sign up at https://inferspeed.ai/register, then create a key at https://inferspeed.ai/keys. At $0.3168 per 1M output tokens, $1 is about 3.1M output tokens of hy3.

How do I call hy3?

Set the model explicitly in the request:

curl https://api.inferspeed.ai/v1/chat/completions \
  -H "Authorization: Bearer $INFERSPEED_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hy3",
    "messages": [{"role": "user", "content": "Say hello in one sentence."}]
  }'

What happens if I request a model my key cannot call?

A live model is always served as written. Any other name, such as an agent default (claude-*, gpt-*, codex-*, o*, gemini-*, grok-*), a model not on sale yet or a typo, is routed to a live model (glm-5.3, then kimi-k3) instead of failing. The model field and the X-Served-Model header name the model that served the request (the name you sent is in X-Model-Routed-From), and you are billed at that model's price. You get an error instead only with X-Model-Strict: 1, for a name of the key's own vendor that it does not serve, for a name longer than 64 characters, or when the key has no live routing target.

More

Setup for Claude Code, Codex CLI, OpenCode and SDKs: /developers.md. All models and prices: /model-plaza. Prices as JSON: /api/v1/public/pricing.

Related models