Private inference, tuned to your workload.

An OpenAI-compatible API for chat and embeddings, with streaming and tool calling, on hardware this server runs. Pay per token, whichever the model is priced on, and see exactly what every request cost, down to $0.00000001.

5 models for chat and embeddings Streaming supported Models and prices

curl

curl
curl https://app.pymlabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $PYM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "qwen2.5-3b-instruct",
       "messages": [{"role": "user", "content": "Say hello in five words."}],
       "max_tokens": 64}'

Python

Python · openai SDK
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://app.pymlabs.ai/v1",
    api_key=os.environ["PYM_API_KEY"],
)

response = client.chat.completions.create(
    model="qwen2.5-3b-instruct",
    messages=[{"role": "user", "content": "Say hello in five words."}],
    max_tokens=64,
)
print(response.choices[0].message.content)
print(response.usage)  # the tokens you were charged for
Worked example for qwen2.5-3b-instruct at current prices, not a live request
35 input tokens × $0.01 / 1M$0.00000035
10 output tokens × $0.02 / 1M$0.0000002 
Charge$0.00000055

From sign-up to first response

  1. Create an account

    Email and password.

  2. Add credit

    Prepaid USD. You can't spend more than your balance.

  3. Create a key and call /v1

    Point the OpenAI SDK's base_url at Pym.

What Pym supports today

  • Chat completions, streaming and non-streaming
  • Tool calling and structured output (JSON schema), on the models whose Features list them
  • Embeddings (/v1/embeddings), for search and retrieval
  • Revocable bearer API keys
  • Prepaid credit, with a per-request ledger that names the model and what was metered

Pricing

Chat

Chat models on this server: features and prices in USD.
Model Features Input / 1M tokens Output / 1M tokens Context Max output
qwen2.5-3b-instruct Qwen2.5 3B Instruct Streaming, tools, structured output $0.01 $0.02 8,192 tokens 2,048 tokens
qwen2.5-1.5b-instruct Qwen2.5 1.5B Instruct Streaming, tools, structured output $0.005 $0.01 8,192 tokens 2,048 tokens
qwen3-vl-8b-instruct Qwen3-VL 8B Instruct Streaming, structured output, vision $0.01 $0.02 32,768 tokens 8,192 tokens
qwen3-vl-8b-instruct-fp8 Qwen3-VL 8B Instruct (FP8) Streaming, structured output, vision $0.01 $0.02 32,768 tokens 8,192 tokens

Each request holds its maximum cost until it finishes, and streaming costs the same. How holds and streaming are billed

Embeddings

Embeddings, prices in USD: input tokens only
Model Input / 1M tokens Inputs per request Per input Per request Dimensions
qwen3-embedding-0.6b Qwen3 Embedding 0.6B $0.002 256 8,192 tokens 65,536 tokens 1,024 (32 to 1,024)

How embeddings are held and billed