Rolling green hills beneath a bank of white clouds

EpochLLM

One API for multiple language models

Use one OpenAI-compatible endpoint and switch models by changing the model field.

Keep your chat code.

Already using the OpenAI SDK? Point it at EpochLLM and pick a model from the catalog.

See a request example

Estimate your
inference bill.

Pick a model and set your monthly token usage.

Enter your bill in USD for the same usage to compare.

Checking live rates. Showing examples.

Inference receipt

Monthly estimate · USD

Model
Standard rate example
Input 10M × $0.40/M
$4.00
Output 2M × $1.60/M
$3.20
EpochLLM estimate
$7.20
Create an account

AI model families

See available models
  • OpenAI
  • Anthropic
  • Gemini
  • Kimi
  • GLM
  • Qwen
  • DeepSeek
  • Mistral
  • Llama
  • Grok
  • Cohere
  • MiniMax
  • Perplexity

POST /v1/chat/completions

Make your first request.

Already using the OpenAI SDK? Point it at EpochLLM and keep your chat completions code.

  1. Set your API key. Create one in the dashboard, then set EPOCH_API_KEY in your terminal.
  2. Pick a model. Replace YOUR_MODEL_ID with an available text model ID from the model catalog.
Read the API quickstart
quickstart.py
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.epochllm.ai/v1",
    api_key=os.environ["EPOCH_API_KEY"],
)

reply = client.chat.completions.create(
    model="YOUR_MODEL_ID",
    messages=[
        {"role":"user","content":"Explain token billing in one sentence."},
    ],
)
print(reply.choices[0].message.content)