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 exampleEstimate 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
AI model families
See available modelsOpenAI
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.
- Set your API key. Create one in the dashboard, then set
EPOCH_API_KEYin your terminal. - Pick a model. Replace
YOUR_MODEL_IDwith an available text model ID from the model catalog.
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)
